CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdDbBaseBlockRefPE Class Referenceabstract

#include <DbBaseDatabase.h>

Inheritance diagram for OdDbBaseBlockRefPE:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbBaseBlockRefPE)
 
virtual OdDbStub * blockId (const OdRxObject *pBlockRef) const =0
 
virtual OdGeMatrix3d blockTransform (const OdRxObject *pBlockRef) const =0
 
virtual OdRxIteratorPtr newAttribIterator (const OdRxObject *pBlockRef, bool bSkipErased=true) const =0
 
virtual bool isAttribute (const OdRxObject *pAttrib) const =0
 
virtual bool isGeneric (const OdRxObject *pBlockRef) const =0
 
virtual bool isMInsert (const OdRxObject *pBlockRef) const =0
 
virtual bool isBasic (const OdRxObject *pBlockRef) const =0
 
virtual bool isSelfReferential (const OdRxObject *pEntity) 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 reference abstraction, independent of the underlying database (OdDbDatabase or OdDgDatabase).

See also
TD_DbRoot

<group OdDbRoot_Classes>

Definition at line 1453 of file DbBaseDatabase.h.

Member Function Documentation

◆ blockId()

virtual OdDbStub * OdDbBaseBlockRefPE::blockId ( const OdRxObject pBlockRef) const
pure virtual

Returns the identifier of a specified block reference.

Parameters
pBlockRef[in] A pointer to a block reference.

◆ blockTransform()

virtual OdGeMatrix3d OdDbBaseBlockRefPE::blockTransform ( const OdRxObject pBlockRef) const
pure virtual

Returns the transformation matrix for a specified block reference.

Parameters
pBlockRef[in] A pointer to a block reference.

◆ isAttribute()

virtual bool OdDbBaseBlockRefPE::isAttribute ( const OdRxObject pAttrib) const
pure virtual

Returns whether a specified object is an attribute.

Parameters
pAttrib[in] A pointer to an object.

◆ isBasic()

virtual bool OdDbBaseBlockRefPE::isBasic ( const OdRxObject pBlockRef) const
pure virtual

Returns whether a specified block reference is a basic one.

Parameters
pBlockRef[in] A pointer to a block reference.
Returns
Returns true if the block reference is a basic one, otherwise returns false.

◆ isGeneric()

virtual bool OdDbBaseBlockRefPE::isGeneric ( const OdRxObject pBlockRef) const
pure virtual

Returns whether a specified block reference is generic.

Parameters
pBlockRef[in] A pointer to a block reference.
Returns
Returns true if the block reference is a generic one, otherwise returns false.
Remarks
Gs system will not process a drawable as a block reference if this method returns false. Therefore the method can be used to filter out incompatible entities inherited from the OdDbBaseBlockRef class.

◆ isMInsert()

virtual bool OdDbBaseBlockRefPE::isMInsert ( const OdRxObject pBlockRef) const
pure virtual

Returns whether a specified block reference is an array of block references (an instance of the OdMInsertBlock class).

Parameters
pBlockRef[in] A pointer to a block reference.
Returns
Returns true if the block reference is an array of block references, otherwise returns false.

◆ isSelfReferential()

virtual bool OdDbBaseBlockRefPE::isSelfReferential ( const OdRxObject pEntity) const
pure virtual

Returns whether create child entity node if entity is self dependent.

Parameters
pEntity[in] A pointer to a entity.
Returns
Returns true if it is possible to create child entity node if entity is self dependent, \otherwise returns false.

◆ newAttribIterator()

virtual OdRxIteratorPtr OdDbBaseBlockRefPE::newAttribIterator ( const OdRxObject pBlockRef,
bool  bSkipErased = true 
) const
pure virtual

Returns the newly created attribute iterator for a specified block reference.

Parameters
pBlockRef[in] A pointer to a block reference.
bSkipErased[in] A flag that determines whether erased elements should be skipped when moving through the iterator. If the parameter value is equal to true, erased elements are skipped.

◆ ODRX_DECLARE_MEMBERS()

OdDbBaseBlockRefPE::ODRX_DECLARE_MEMBERS ( OdDbBaseBlockRefPE  )

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