API Reference > OdRx Classes > OdRxDictionaryIterator Class
OdRxDictionaryIterator Class
OdRxDictionaryIteratorOdRxDictionaryIteratorOdRxDictionaryIterator
Syntax
C++
class OdRxDictionaryIterator : public OdRxIterator;

RxDictionary.h

 

This class implements Iterator objects that traverse entries in OdRxDictionary objects in an OdDbDatabase instance. 

Corresponding C++ library: TD_Db

An OdRxDictionaryIterator maintains a "current position" within the entries of the associated dictionary, and can provide access to the key value and object at the current position.

Example of Working with a Dictionary 

Overview of Classes that Implement an Iterator 

Iterating through Items of a Dictionary

 
Name 
Description 
 
Returns the keyword associated with the item of the dictionary on which the iterator refers 
 
id 
Returns the ID of the item in the dictionary on which the iterator refers 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdRxDictionaryIterator. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.