ltl::IndexIter< T, N > Class Template Reference
[The Class MArray]
#include <index_iter.h>
List of all members.
Public Types
- enum { numIndexIter = 1
}
- enum { isVectorizable = 0
}
Public Member Functions
-
IndexIter (const MArray< T, N > &array)
-
IndexIter (const Shape< N > *s)
-
IndexIter (const IndexIter< T, N > &other)
-
void reset ()
-
IndexIter< T, N > & operator++ ()
-
void advance ()
-
void advanceN (const int i)
-
void advanceWithStride1 ()
-
int readWithStride (const int i) const
-
int readWithoutStride (const int i) const
-
void advanceDim ()
-
bool needAdvanceDim () const
-
void operator++ (int)
-
bool done () const
-
const FixedVector< int, N > & index () const
-
int index (const int dim) const
-
const FixedVector< int, N > & operator * () const
-
const FixedVector< int, N > & operator() () const
-
const int operator() (const int dim) const
-
void printRanges () const
-
const Shape< N > * shape () const
-
bool isStorageContiguous (void) const
-
bool isStride1 () const
-
bool isConformable (const Shape< N > &other) const
Protected Attributes
-
FixedVector< int, N > strides_
-
FixedVector< int, N > first_
-
FixedVector< int, N > last_
-
FixedVector< int, N > pos_
-
int stride_
-
bool done_
-
const Shape< N > * shape_
Detailed Description
template<class T, int N>
class ltl::IndexIter< T, N >
Iterator object giving vector of index values for each position. Used for implementing ltl::IndexList and ltl::where().
The documentation for this class was generated from the following file:
Generated on Fri Dec 24 13:32:04 2004 for LTL by
1.3.4