itom 2.0.0
ito::DObjIterator Class Reference

iterator through data object More...

#include <dataobj.h>

Inheritance diagram for ito::DObjIterator:
ito::DObjConstIterator

List of all members.

Public Member Functions

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

Detailed Description

iterator through data object

Use this iterator to iterate over all items within the related data object. The order of the iteration is a C-wise ordering, hence row after row for a 2D data object. This iterator allows reading and writing the content of the data object.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends