ArrayIterator< D, T, PT, SM, ORDERED > Class Template Reference
[Data]
fast multidimensional iterator
More...
#include <array-iterator.h>
List of all members.
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 |
Detailed Description
template<int D, class T, bool PT, int SM, bool ORDERED>
class ArrayIterator< D, T, PT, SM, ORDERED >
fast multidimensional iterator
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
Constructor & Destructor Documentation
template<int D, class T, bool PT, int SM, bool ORDERED>
The empty iterator creates its own empty matrix
template<int D, class T, bool PT, int SM, bool ORDERED>
When submitting an array, we will walk through every position, so the submatrix has actual dimension 0
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
Member Function Documentation
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
| bool ArrayIterator< D, T, PT, SM, ORDERED >::operator!= |
( |
const T & |
v |
) |
[inline] |
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
| bool ArrayIterator< D, T, PT, SM, ORDERED >::operator== |
( |
const T & |
v |
) |
[inline] |
template<int D, class T, bool PT, int SM, bool ORDERED>
| int ArrayIterator< D, T, PT, SM, ORDERED >::operator[] |
( |
int |
i |
) |
const [inline] |
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
Member Data Documentation
template<int D, class T, bool PT, int SM, bool ORDERED>
template<int D, class T, bool PT, int SM, bool ORDERED>
Referenced by SpectrumAnalyzer::fetchSpectrum_wavelet(), ArrayIterator< D, T, PT, SM, ORDERED >::operator Position< D >(), ArrayIterator< D, T, PT, SM, ORDERED >::operator[](), and readsamples().
The documentation for this class was generated from the following file: