itom  1.0.13
ito::DObjConstIterator Class Reference
Inheritance diagram for ito::DObjConstIterator:
ito::DObjIterator

List of all members.

Public Member Functions

 DObjConstIterator ()
 default constructor
 DObjConstIterator (const DataObject *_dObj, int pos=0)
 constructor that sets the iterator to the beginning of the matrix
 DObjConstIterator (const DObjConstIterator &it)
 copy constructor
DObjConstIteratoroperator= (const DObjConstIterator &it)
 copy operator
uchar * operator* () const
 returns the current matrix element
uchar * operator[] (int i) const
 returns the i-th matrix element, relative to the current
DObjConstIteratoroperator+= (int ofs)
 shifts the iterator forward by the specified number of elements
DObjConstIteratoroperator-= (int ofs)
 shifts the iterator backward by the specified number of elements
DObjConstIteratoroperator-- ()
 decrements the iterator
DObjConstIterator operator-- (int)
 decrements the iterator
DObjConstIteratoroperator++ ()
 increments the iterator
DObjConstIterator operator++ (int)
 increments the iterator
bool operator== (const DObjConstIterator &dObjIt)
bool operator!= (const DObjConstIterator &dObjIt)
bool operator< (const DObjConstIterator &dObjIt)
bool operator> (const DObjConstIterator &dObjIt)
bool operator<= (const DObjConstIterator &dObjIt)
bool operator>= (const DObjConstIterator &dObjIt)

Protected Member Functions

void seekAbs (int ofs)
 moves the iterator at pos ofs.
void seekRel (int ofs)
 moves the iterator by pos ofs.

Protected Attributes

const DataObjectdObj
bool planeContinuous
size_t elemSize
uchar * ptr
uchar * sliceStart
uchar * sliceEnd
int plane

The documentation for this class was generated from the following files: