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

#include <DbBaseDatabase.h>

Inheritance diagram for OdDbBaseBlockPE:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbBaseBlockPE)
 
virtual bool isBlockReferenceAdded (OdRxObject *pBlock) const =0
 
virtual bool isFromExternalReference (const OdRxObject *pBlock) const =0
 
virtual OdDbBaseDatabasexrefDatabase (const OdRxObject *pBlock) const =0
 
virtual OdDbStub * getLayoutId (const OdRxObject *pBlock) const =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 protocol extension to be used as a block table record abstraction, independent of the underlying database (OdDbDatabase or OdDgDatabase).

See also
TD_DbRoot

<group OdDbRoot_Classes>

Definition at line 906 of file DbBaseDatabase.h.

Member Function Documentation

◆ getLayoutId()

virtual OdDbStub* OdDbBaseBlockPE::getLayoutId ( const OdRxObject pBlock) const
pure virtual

Returns a specified block's layout identifier.

Parameters
pBlock[in] A pointer to a block.

◆ isBlockReferenceAdded()

virtual bool OdDbBaseBlockPE::isBlockReferenceAdded ( OdRxObject pBlock) const
pure virtual

Determines whether a block reference has been added to a specified block.

Parameters
pBlock[in] A pointer to a block.
Returns
Returns true if a block reference has been added, otherwise returns false.

◆ isFromExternalReference()

virtual bool OdDbBaseBlockPE::isFromExternalReference ( const OdRxObject pBlock) const
pure virtual

Determines whether a specified block is an external reference.

Parameters
pBlock[in] A pointer to a block.
Returns
Returns true if the block is an external reference, otherwise returns false.

◆ ODRX_DECLARE_MEMBERS()

OdDbBaseBlockPE::ODRX_DECLARE_MEMBERS ( OdDbBaseBlockPE  )

◆ xrefDatabase()

virtual OdDbBaseDatabase* OdDbBaseBlockPE::xrefDatabase ( const OdRxObject pBlock) const
pure virtual

Returns a referenced database for a specified block.

Parameters
pBlock[in] A pointer to a block.

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