CFx SDK Documentation  2022 SP0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdDbXrecordIterator Class Reference

#include <DbXrecord.h>

Inheritance diagram for OdDbXrecordIterator:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbXrecordIterator)
 
void start ()
 
bool done () const
 
bool next ()
 
int curRestype () const
 
OdResBufPtr getCurResbuf (OdDbDatabase *pDb=0) const
 
- 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
 

Protected Member Functions

 OdDbXrecordIterator (OdDbXrecordIteratorImpl *pIterImpl)
 

Protected Attributes

OdDbXrecordIteratorImpl * m_pImpl
 

Additional Inherited Members

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

Detailed Description

This class implements Iterators for the data lists in OdDbXrecord instances.

See also
TD_Db

<group OdDb_Classes>

Definition at line 47 of file DbXrecord.h.

Constructor & Destructor Documentation

◆ OdDbXrecordIterator()

OdDbXrecordIterator::OdDbXrecordIterator ( OdDbXrecordIteratorImpl *  pIterImpl)
protected

Member Function Documentation

◆ curRestype()

int OdDbXrecordIterator::curRestype ( ) const

Returns the restype field of the current ResBuf structure in the XRecord data list.

◆ done()

bool OdDbXrecordIterator::done ( ) const

Returns true if and only if the traversal is complete.

◆ getCurResbuf()

OdResBufPtr OdDbXrecordIterator::getCurResbuf ( OdDbDatabase pDb = 0) const

Returns a copy of the current ResBuf structure in the XRecord data list.

Parameters
pDb[in] Pointer to the OdDbDatabase used for Object ID resolution when this XRecord object is not database resident.

◆ next()

bool OdDbXrecordIterator::next ( )

Sets this Iterator object to reference the next ResBuf structure in the XRecord data list.

Returns
Returns true if and only if not at the end of the list.

◆ ODRX_DECLARE_MEMBERS()

OdDbXrecordIterator::ODRX_DECLARE_MEMBERS ( OdDbXrecordIterator  )

◆ start()

void OdDbXrecordIterator::start ( )

Sets this Iterator object to reference the first ResBuf structure in the XRecord data list.

Remarks
Allows multiple traversals of the data list.

Member Data Documentation

◆ m_pImpl

OdDbXrecordIteratorImpl* OdDbXrecordIterator::m_pImpl
protected

Definition at line 86 of file DbXrecord.h.


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