#include <array-iterator.h>
Inherits ArrayIteratorBacking< T, PT >.
Public Member Functions | |
ArrayIterator () | |
ArrayIterator (const Array< D, T > &m) | |
ArrayIterator (Array< D, T > *m) | |
void | reset (const Array< D, T > &m) |
void | reset () |
ArrayIterator (const Array< D, T > &m, const Select< D-SM > sel) | |
ArrayIterator (const Array< D, T > &m, int d) | |
ArrayIterator (const Array< D, T > &m, int x, int y) | |
int | operator[] (int i) const |
operator Position< D > () const | |
operator Array< SM, T > & () | |
T & | operator= (const T &v) |
T & | operator+= (const T &v) |
T & | operator-= (const T &v) |
T & | operator/= (const T &v) |
T & | operator*= (const T &v) |
bool | operator== (const T &v) |
bool | operator!= (const T &v) |
Public Attributes | |
Position< D > | position |
Array< D, T > | matrix |
The ArrayIterator keeps track of the position within a matrix of dimension D The submatrix it returns is of dimension SM position tracking can be enabled with PT, and ordered mode can be selected with ORDERED. The type must be the same for all
Definition at line 131 of file array-iterator.h.
ArrayIterator< D, T, PT, SM, ORDERED >::ArrayIterator | ( | ) | [inline] |
The empty iterator creates its own empty matrix
ArrayIterator< D, T, PT, SM, ORDERED >::ArrayIterator | ( | const Array< D, T > & | m | ) | [inline] |
When submitting an array, we will walk through every position, so the submatrix has actual dimension 0
ArrayIterator< D, T, PT, SM, ORDERED >::ArrayIterator | ( | Array< D, T > * | m | ) | [inline] |
ArrayIterator< D, T, PT, SM, ORDERED >::ArrayIterator | ( | const Array< D, T > & | m, | |
const Select< D-SM > | sel | |||
) | [inline] |
ArrayIterator< D, T, PT, SM, ORDERED >::ArrayIterator | ( | const Array< D, T > & | m, | |
int | d | |||
) | [inline] |
ArrayIterator< D, T, PT, SM, ORDERED >::ArrayIterator | ( | const Array< D, T > & | m, | |
int | x, | |||
int | y | |||
) | [inline] |
Definition at line 174 of file array-iterator.h.
ArrayIterator< D, T, PT, SM, ORDERED >::operator Array< SM, T > & | ( | ) | [inline] |
Definition at line 189 of file array-iterator.h.
ArrayIterator< D, T, PT, SM, ORDERED >::operator Position< D > | ( | ) | const [inline] |
Definition at line 184 of file array-iterator.h.
bool ArrayIterator< D, T, PT, SM, ORDERED >::operator!= | ( | const T & | v | ) | [inline] |
Definition at line 218 of file array-iterator.h.
T& ArrayIterator< D, T, PT, SM, ORDERED >::operator*= | ( | const T & | v | ) | [inline] |
Definition at line 210 of file array-iterator.h.
T& ArrayIterator< D, T, PT, SM, ORDERED >::operator+= | ( | const T & | v | ) | [inline] |
Definition at line 198 of file array-iterator.h.
T& ArrayIterator< D, T, PT, SM, ORDERED >::operator-= | ( | const T & | v | ) | [inline] |
Definition at line 202 of file array-iterator.h.
T& ArrayIterator< D, T, PT, SM, ORDERED >::operator/= | ( | const T & | v | ) | [inline] |
Definition at line 206 of file array-iterator.h.
T& ArrayIterator< D, T, PT, SM, ORDERED >::operator= | ( | const T & | v | ) | [inline] |
bool ArrayIterator< D, T, PT, SM, ORDERED >::operator== | ( | const T & | v | ) | [inline] |
Definition at line 214 of file array-iterator.h.
int ArrayIterator< D, T, PT, SM, ORDERED >::operator[] | ( | int | i | ) | const [inline] |
void ArrayIterator< D, T, PT, SM, ORDERED >::reset | ( | ) | [inline] |
Definition at line 163 of file array-iterator.h.
void ArrayIterator< D, T, PT, SM, ORDERED >::reset | ( | const Array< D, T > & | m | ) | [inline] |
Definition at line 158 of file array-iterator.h.
Array<D,T> ArrayIterator< D, T, PT, SM, ORDERED >::matrix |
Definition at line 138 of file array-iterator.h.
Position<D> ArrayIterator< D, T, PT, SM, ORDERED >::position |
Definition at line 137 of file array-iterator.h.