CFx SDK Documentation 2024 SP0
|
#include <AECSubObj.h>
Public Member Functions | |
virtual | ~AECSubObj () |
OdRxObject * | GetOwner () const |
OdRxObject * | GetOwner (OdRxClass *pClass) const |
void | addRefSubPtr () |
void | releaseSubPtr () |
void | assertReadEnabled () const |
void | assertWriteEnabled (bool autoUndo=true, bool recordModified=true) |
bool | isReadEnabled () const |
bool | isWriteEnabled () const |
OdDbDatabase * | database () const |
void | SetOwner (const OdDbObject *pOwner) |
DOM. | |
void | SetOwner (const AECSubObj *pOwner) |
DOM. | |
void | SetOwner (const AECImpObj *pOwner) |
DOM. | |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 Attributes | |
class AECImpOwnerKeeper * | m_pImp |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Abstract base class for AEC sub-objects.
<group TA_API_Subobjects_General>
Definition at line 36 of file AECSubObj.h.
|
virtual |
Destructor.
void AECSubObj::addRefSubPtr | ( | ) |
Adds reference to parent object. Should not be used.
void AECSubObj::assertReadEnabled | ( | ) | const |
Tests whether owner database object is opened for read.
Tests whether owner database object is opened for write.
OdDbDatabase * AECSubObj::database | ( | ) | const |
Returns database.
OdRxObject * AECSubObj::GetOwner | ( | ) | const |
Returns direct owner.
OdRxObject * AECSubObj::GetOwner | ( | OdRxClass * | pClass | ) | const |
Returns nearest owner of specified type.
bool AECSubObj::isReadEnabled | ( | ) | const |
Returns whether owner database object is opened for read.
bool AECSubObj::isWriteEnabled | ( | ) | const |
Returns whether owner database object is opened for write.
void AECSubObj::releaseSubPtr | ( | ) |
Releases reference to parent object. Should not be used.
void AECSubObj::SetOwner | ( | const OdDbObject * | pOwner | ) |
DOM.
|
protected |
Definition at line 106 of file AECSubObj.h.