Share

AcRxDictionaryIterator

Class Hierarchy

AcRxObject
    AcRxIterator
        AcRxDictionaryIterator

C++

class AcRxDictionaryIterator : public AcRxIterator;

File

rxditer.h

Description

This class provides the ability to iterate through an AcRxDictionary.

Successive calls to the next() function causes the iterator to visit each object in the dictionary once and only once. An iterator has two states: done or not done. If an iterator is not done, that means it is currently positioned at an object within the dictionary being iterated over, and a call to object() returns a pointer to that object. If the iterator is done, that means that it is not positioned at an object within the dictionary because either all the objects have been iterated over or the dictionary was empty. Sometimes the object that the iterator is positioned at is referred to as the "current object."

The methods done(), next(), and object() come from the base class, AcRxIterator.

Links

AcRxDictionaryIterator Methods

See Also

AcRxDictionary

Was this information helpful?