Class Hierarchy
AcRxObject AcRxIterator AcRxDictionaryIterator
C++
class AcRxIterator : public AcRxObject;
File
rxiter.h
Description
This class is an abstract base class for several iterators in the AcRx library. Currently the only exported class that is derived from this class is AcRxDictionaryIterator.
Iterators are used to traverse a data structure. Successive calls to the next() function causes the iterator to visit each object in the data structure once and only once.
An iterator has two states: done and not done. If an iterator is not done, that means it is currently positioned at an object within the data structure being iterated over, and a call to AcRxIterator::object() returns a pointer to that object. If the iterator is done, that means that it is not positioned at an object within the data structure because either all the objects have been iterated over or the structure was empty. Sometimes the object that the iterator is positioned at is referred to as the "current object."
Links
See Also
AcRxDictionaryIterator