concepts::MultiArray< dim, T >::Scanner Class Reference
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. More... | |
const MultiEntrance< dim, T > | operator() () const |
const MultiEntrance< dim, T > | operator++ (int) |
Scanner (const MultiArray< dim, T > array) | |
Scanner (const Scanner &scan) | |
virtual | ~Scanner () |
delete scanner, if there was one More... | |
Private Attributes | |
std::map< uint, MultiArray< dim-1, T > >::const_iterator | end_ |
Iterator for the end of the mapping. More... | |
std::map< uint, MultiArray< dim-1, T > >::const_iterator | i_ |
Iterator in current MultiArray, which holds the index and the array of smaller dimension. More... | |
MultiArray< dim-1, T >::Scanner * | j_ |
Scanner of the entrances of smaller dimensions. More... | |
Detailed Description
template<uint dim, typename T>
class concepts::MultiArray< dim, T >::Scanner
Class for scanning (iterating) over the array in all dimensions.
Definition at line 173 of file multiArray.hh.
Constructor & Destructor Documentation
◆ Scanner() [1/2]
|
inline |
Definition at line 175 of file multiArray.hh.
◆ Scanner() [2/2]
|
inline |
Definition at line 183 of file multiArray.hh.
◆ ~Scanner()
|
inlinevirtual |
delete scanner, if there was one
Definition at line 186 of file multiArray.hh.
Member Function Documentation
◆ clone()
|
inline |
Definition at line 218 of file multiArray.hh.
◆ eos()
|
inline |
Returns true if the end of the scanned set is reached.
Definition at line 188 of file multiArray.hh.
◆ operator()()
|
inline |
Definition at line 192 of file multiArray.hh.
◆ operator++()
|
inline |
Definition at line 196 of file multiArray.hh.
Member Data Documentation
◆ end_
|
private |
Iterator for the end of the mapping.
Definition at line 225 of file multiArray.hh.
◆ i_
|
private |
Iterator in current MultiArray, which holds the index and the array of smaller dimension.
Definition at line 223 of file multiArray.hh.
◆ j_
|
private |
Scanner of the entrances of smaller dimensions.
Definition at line 227 of file multiArray.hh.
The documentation for this class was generated from the following file:
- toolbox/multiArray.hh