API Reference > OdDb Classes > OdDbDictionaryIterator Class
OdDbDictionaryIterator Class
OdDbDictionaryIterator
Syntax
C++
class OdDbDictionaryIterator : public OdRxIterator;

DbDictionary.h

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

Corresponding C++ library: TD_Db

An OdDbDictionaryIterator 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. 

 

 
Name 
Description 
 
This is ~OdDbDictionaryIterator, a member of class OdDbDictionaryIterator. 
 
Name 
Description 
 
Opens the dictionary entry currently referenced by this Iterator object.
 
 
name 
Returns the name (key) of the dictionary entry currently referenced by this Iterator object. 
 
Opens the dictionary entry currently referenced by this Iterator object in OdDb::kForRead mode. 
 
Returns the Object ID of the dictionary entry currently referenced by this Iterator object. 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdDbDictionaryIterator. 
 
Sets the current position of this Iterator to the dictionary entry containing the specified ObjectId.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.