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

DbObjectIterator.h

This class defines bidirectional Iterator objects that traverse entities contained in complex entities. 

OdDbBlock Table Records in an OdDbDatabase instance.

Complex entities include the following: 

 

Entity 
Iterated entities 
OdDbBlockReference 
All 
OdDb2dPolyline 
Vertex 
OdDb3dPolyline 
Vertex 
OdDbPolyFaceMesh 
Vertex 
OdDbPolygonMesh 
Vertex 

 

This class cannot directly instantiated, but must be instantiated with the iterator creation methods of the class to be iterated through. 

 

TD_Db

 
Name 
Description 
 
This is OdDbObjectIterator, a member of class OdDbObjectIterator. 
 
Name 
Description 
 
done 
Returns true if and only if the traversal by this Iterator object is complete. 
 
Opens and returns the entity currently referenced by this Iterator object.
 
 
Returns the Object ID of the entity currently referenced by this Iterator object. 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdDbObjectIterator. 
 
seek 
This is the overview for the seek method overload. 
 
Sets this Iterator object to reference the entity that it would normally return first. 
 
step 
Steps this Iterator object.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.