Cadabra
Computer algebra system for field theory problems
Public Member Functions | Private Attributes | Friends | List of all members
yngtab::filled_tableau< T >::iterator Class Reference

Description

template<class T>
class yngtab::filled_tableau< T >::iterator

An iterator over all boxes of a tableau, left to right, top to bottom.

#include <YoungTab.hh>

Inheritance diagram for yngtab::filled_tableau< T >::iterator:
yngtab::filled_tableau< T >::iterator_base

Public Member Functions

 iterator (unsigned int r, unsigned int c, filled_tableau< T > *)
 
T & operator* () const
 
T * operator-> () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
iterator operator+ (unsigned int) const
 
iterator operator- (unsigned int) const
 
iteratoroperator+= (unsigned int)
 
iteratoroperator-= (unsigned int)
 
bool operator< (const iterator &other) const
 
bool operator> (const iterator &other) const
 
ptrdiff_t operator- (const iterator &) const
 
bool operator== (const iterator &) const
 
bool operator!= (const iterator &) const
 

Private Attributes

filled_tableau< T > * tab
 
unsigned int column_number
 
unsigned int row_number
 

Friends

class filled_tableau< T >
 
class filled_tableau< T >::const_iterator
 

Additional Inherited Members

- Public Types inherited from yngtab::filled_tableau< T >::iterator_base
typedef T value_type
 
typedef T * pointer
 
typedef T & reference
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef std::random_access_iterator_tag iterator_category
 

Constructor & Destructor Documentation

◆ iterator()

template<class T >
yngtab::filled_tableau< T >::iterator::iterator ( unsigned int  r,
unsigned int  c,
filled_tableau< T > *  t 
)

Member Function Documentation

◆ operator!=()

template<class T >
bool yngtab::filled_tableau< T >::iterator::operator!= ( const iterator other) const

◆ operator*()

template<class T >
T & yngtab::filled_tableau< T >::iterator::operator*

◆ operator+()

template<class T >
filled_tableau< T >::iterator yngtab::filled_tableau< T >::iterator::operator+ ( unsigned int  n) const

◆ operator++() [1/2]

template<class T >
filled_tableau< T >::iterator & yngtab::filled_tableau< T >::iterator::operator++

◆ operator++() [2/2]

template<class T >
filled_tableau< T >::iterator yngtab::filled_tableau< T >::iterator::operator++ ( int  )

◆ operator+=()

template<class T >
filled_tableau< T >::iterator & yngtab::filled_tableau< T >::iterator::operator+= ( unsigned int  n)

◆ operator-() [1/2]

template<class T >
ptrdiff_t yngtab::filled_tableau< T >::iterator::operator- ( const iterator other) const

◆ operator-() [2/2]

template<class T >
filled_tableau< T >::iterator yngtab::filled_tableau< T >::iterator::operator- ( unsigned int  n) const

◆ operator--() [1/2]

template<class T >
filled_tableau< T >::iterator & yngtab::filled_tableau< T >::iterator::operator--

◆ operator--() [2/2]

template<class T >
filled_tableau< T >::iterator yngtab::filled_tableau< T >::iterator::operator-- ( int  )

◆ operator-=()

template<class T >
filled_tableau< T >::iterator & yngtab::filled_tableau< T >::iterator::operator-= ( unsigned int  n)

◆ operator->()

template<class T >
T * yngtab::filled_tableau< T >::iterator::operator->

◆ operator<()

template<class T >
bool yngtab::filled_tableau< T >::iterator::operator< ( const iterator other) const

◆ operator==()

template<class T >
bool yngtab::filled_tableau< T >::iterator::operator== ( const iterator other) const

◆ operator>()

template<class T >
bool yngtab::filled_tableau< T >::iterator::operator> ( const iterator other) const

Friends And Related Function Documentation

◆ filled_tableau< T >

template<class T >
friend class filled_tableau< T >
friend

◆ filled_tableau< T >::const_iterator

template<class T >
friend class filled_tableau< T >::const_iterator
friend

Member Data Documentation

◆ column_number

template<class T >
unsigned int yngtab::filled_tableau< T >::iterator::column_number
private

◆ row_number

template<class T >
unsigned int yngtab::filled_tableau< T >::iterator::row_number
private

◆ tab

template<class T >
filled_tableau<T>* yngtab::filled_tableau< T >::iterator::tab
private

The documentation for this class was generated from the following file: