CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdDbIdBufferIterator Class Referenceabstract

#include <DbIdBuffer.h>

Inheritance diagram for OdDbIdBufferIterator:
OdRxObject

Public Member Functions

virtual void start ()=0
 
virtual bool done () const =0
 
virtual void next ()=0
 
virtual OdDbObjectId id () const =0
 
virtual bool seek (OdDbObjectId id)=0
 
virtual void removeCurrentId ()=0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class is the base class for Iterator classes used to access the Object ID's in an OdDbIdBuffer object.

<group OdDb_Classes>

Definition at line 40 of file DbIdBuffer.h.

Member Function Documentation

◆ done()

virtual bool OdDbIdBufferIterator::done ( ) const
pure virtual

Returns true if and only if the traversal by this Iterator object is complete.

◆ id()

virtual OdDbObjectId OdDbIdBufferIterator::id ( ) const
pure virtual

Returns the Object ID of the current object referenced by this iterator.

◆ next()

virtual void OdDbIdBufferIterator::next ( )
pure virtual

Increments the current object for this iterator to the next object in the associated container.

◆ removeCurrentId()

virtual void OdDbIdBufferIterator::removeCurrentId ( )
pure virtual

Removes the Object ID referenced by this iterator as the current element. The element immediately following the removed element becomes the current element for this iterator.

◆ seek()

virtual bool OdDbIdBufferIterator::seek ( OdDbObjectId  id)
pure virtual

If the specified Object ID is present in the associated container, makes this object the current object referenced by this iterator. If the specified Object ID is not found, the current object referenced by this iterator will be invalid, and done() returns true.

◆ start()

virtual void OdDbIdBufferIterator::start ( )
pure virtual

Sets this iterator to point to the first element in the associated container.


The documentation for this class was generated from the following file: