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

DbBlockIterator.h

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

Instances are returned by OdDbBlockTableRecord::newIterator(). 

 

 
Name 
Description 
 
id 
Returns the Object ID of the record currently referenced by this Iterator object. 
 
Returns an Iterator object that can be used to traverse the specified Block Table Record.
 
 
Returns an Iterator object that can be used to traverse queries defined by an array of OdDbFilter objects applied to the specified Block Table Record.
 
 
Returns an Iterator object that can be used to traverse queries defined by OdDbFilter objects applied to the specified Block Table Record.
 
 
next 
Returns the Object ID of the next object, and increments this Iterator object. 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdDbBlockIterator. 
 
seek 
Positions this Iterator object at the specified record.  
 
Sets this Iterator object to reference the OdDbBlock that it would normally return first. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.