API Reference > OdDg Classes > OdDgElementIterator Class
OdDgElementIterator Class
OdDgElementIteratorOdDgElementIterator
Syntax
C++
class OdDgElementIterator : public OdRxObject;

DgElementIterator.h

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

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

Corresponding C++ library: TG_Db 

 

 
Name 
Description 
 
 
 
Name 
Description 
 
done 
Returns true if and only if the traversal by this Iterator element is complete. 
 
item 
Returns the Element ID of the entity currently referenced by this Iterator element. 
 
 
 
seek 
Positions this Iterator element at the specified record.  
 
Sets this Iterator element to reference the entity that it would normally return first. 
 
step 
Steps this Iterator element.
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.