Class for scanning (iterating) over the array in all dimensions. More...
#include <multiArray.hh>

Public Member Functions | |
| Scanner * | clone () const |
| bool | eos () const |
| Returns true if the end of the scanned set is reached. | |
| const MultiEntrance< dim, T > | operator() () const |
| const MultiEntrance< dim, T > | operator++ (int) |
| Scanner (const Scanner &scan) | |
| Scanner (const MultiArray< dim, T > array) | |
| virtual | ~Scanner () |
| delete scanner, if there was one | |
Private Attributes | |
| std::map< uint, MultiArray < dim-1, T > >::const_iterator | end_ |
| Iterator for the end of the mapping. | |
| std::map< uint, MultiArray < dim-1, T > >::const_iterator | i_ |
| Iterator in current MultiArray, which holds the index and the array of smaller dimension. | |
| MultiArray< dim-1, T >::Scanner * | j_ |
| Scanner of the entrances of smaller dimensions. | |
Class for scanning (iterating) over the array in all dimensions.
Definition at line 170 of file multiArray.hh.
| concepts::MultiArray< dim, T >::Scanner::Scanner | ( | const MultiArray< dim, T > | array | ) | [inline] |
| concepts::MultiArray< dim, T >::Scanner::Scanner | ( | const Scanner & | scan | ) | [inline] |
Definition at line 180 of file multiArray.hh.
| virtual concepts::MultiArray< dim, T >::Scanner::~Scanner | ( | ) | [inline, virtual] |
delete scanner, if there was one
Definition at line 183 of file multiArray.hh.
| Scanner* concepts::MultiArray< dim, T >::Scanner::clone | ( | ) | const [inline] |
| bool concepts::MultiArray< dim, T >::Scanner::eos | ( | ) | const [inline] |
Returns true if the end of the scanned set is reached.
Definition at line 185 of file multiArray.hh.
| const MultiEntrance<dim,T> concepts::MultiArray< dim, T >::Scanner::operator() | ( | ) | const [inline] |
Definition at line 189 of file multiArray.hh.
| const MultiEntrance<dim,T> concepts::MultiArray< dim, T >::Scanner::operator++ | ( | int | ) | [inline] |
std::map<uint, MultiArray<dim-1, T> >::const_iterator concepts::MultiArray< dim, T >::Scanner::end_ [private] |
Iterator for the end of the mapping.
Definition at line 222 of file multiArray.hh.
std::map<uint, MultiArray<dim-1, T> >::const_iterator concepts::MultiArray< dim, T >::Scanner::i_ [private] |
Iterator in current MultiArray, which holds the index and the array of smaller dimension.
Definition at line 220 of file multiArray.hh.
MultiArray<dim-1, T>::Scanner* concepts::MultiArray< dim, T >::Scanner::j_ [private] |
Scanner of the entrances of smaller dimensions.
Definition at line 224 of file multiArray.hh.