Public Member Functions | Protected Member Functions | Protected Attributes

ArrayNDIter Class Reference

iterates through all samples in an ArrayND. More...

List of all members.

Public Member Functions

 ArrayNDIter (const ArrayNDInfo &)
 ~ArrayNDIter ()
bool next ()
void reset ()
template<class T >
void setPos (const T &idxabl)
const int * getPos () const
int operator[] (int) const

Protected Member Functions

bool inc (int)

Protected Attributes

int * position_
const ArrayNDInfosz_

Detailed Description

iterates through all samples in an ArrayND.

ArrayNDIter will be on the first position when initiated, and move to the second at the fist call to next(). next() will return false when no more positions are avaliable.


Constructor & Destructor Documentation

ArrayNDIter::ArrayNDIter ( const ArrayNDInfo  ) 
ArrayNDIter::~ArrayNDIter (  ) 

Member Function Documentation

const int* ArrayNDIter::getPos (  )  const [inline]
bool ArrayNDIter::inc ( int   )  [protected]
bool ArrayNDIter::next (  ) 
int ArrayNDIter::operator[] ( int   )  const
void ArrayNDIter::reset (  ) 
template<class T >
void ArrayNDIter::setPos ( const T &  idxabl  )  [inline]

Member Data Documentation

int* ArrayNDIter::position_ [protected]
const ArrayNDInfo& ArrayNDIter::sz_ [protected]