API Reference > OdDb Classes > OdDbDictionary Class > OdDbDictionary Methods > OdDbDictionary::newIterator Method
OdDbDictionary::newIterator Method
Syntax
C++
OdDbDictionaryIteratorPtr newIterator(OdRx::DictIterType iterType = OdRx::kDictCollated) const;
Parameters 
Description 
OdRx::DictIterType iterType = OdRx::kDictCollated 
[in] Type of Iterator. 

Returns a new interator that can be used to traverse the entries in this Dictionary object. 

 

The Iterator type can be one of the following: 

 

Name 
Description 
OdRx::kDictCollated 
Traverses the entries in the order they were added to the dictionary. 
OdRx::kDictSorted 
Traverses the entries in alphabetical order by key value. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.