API Reference > OdDb Classes > OdDbObjectContextCollectionIterator Class
OdDbObjectContextCollectionIterator Class
OdDbObjectContextCollectionIterator
Syntax
C++
class OdDbObjectContextCollectionIterator : public OdRxObject;

DbObjectContextCollection.h

This class implements Iterators for objects that have context items defined and stored in a context collection (using the OdDbObjectContextCollections class).

If an application supports context collections, you must implement this class. You can get an Iterator using OdDbObjectContextCollection::newIterator().

TD_Db 

 

 
Name 
Description 
 
done 
Returns whether the Iterator is at the end of the collection. 
 
Returns a copy of the context located at the current position of the Iterator. 
 
next 
Moves the Iterator to the next context of the collection. 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdDbObjectContextCollectionIterator. 
 
Moves the Iterator to the start of the collection. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.