CFx SDK Documentation
2020SP3
|
#include <RxObject.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdRxClass) | |
virtual OdRxObjectPtr | addX (OdRxClass *pProtocolClass, OdRxObject *pProtocolObject) |
virtual OdRxObjectPtr | getX (const OdRxClass *pProtocolClass) |
virtual OdRxObjectPtr | delX (OdRxClass *pProtocolClass) |
virtual OdRxObjectPtr | create () const =0 |
virtual const OdString | appName () const =0 |
virtual AppNameChangeFuncPtr | appNameCallbackPtr () const =0 |
virtual const OdString | dxfName () const =0 |
virtual const OdString | name () const =0 |
virtual OdDb::DwgVersion | getClassVersion (OdDb::MaintReleaseVer *pMaintReleaseVer=0) const =0 |
virtual OdUInt32 | proxyFlags () const =0 |
virtual bool | isDerivedFrom (const OdRxClass *pClass) const |
virtual OdRxClass * | myParent () const =0 |
virtual OdRxModule * | module () const =0 |
virtual OdPseudoConstructorType | constructor () |
virtual void | setConstructor (OdPseudoConstructorType psuedoConstr)=0 |
virtual OdUInt32 | customFlags () const =0 |
virtual OdRxOverruleIterator * | getOverrule (OverrulingType t) const =0 |
virtual void | setOverrule (OdRxOverruleIterator *pIt, OverrulingType t)=0 |
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 Member Functions | |
OdRxClass () | |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
<group OdRx_Classes> Contains runtime information about a Rx-Object.
<link rtti_class_describing.html, Implementing the Class Describing Structure>
Definition at line 864 of file RxObject.h.
|
protected |
|
virtual |
Creates the Protocol Extension for the specified OdRxClass.
pProtocolClass | [in] Pointer to the Protocol Extension class. |
pProtocolObject | [in] Pointer to the Protocol Extension Object. |
Reimplemented in OdRxClassProtocolExtImpl.
|
pure virtual |
Returns the application class name for the class describing instance represented by this OdRxClass object. Custom class can alter its application name depending on file format version it's being saved to.
Implemented in OdTrVisDescStub, OdDxfClassImpl, and OdRxClassProtocolExtImpl.
|
pure virtual |
Returns a pointer to the callback function which is called when a drawing is to be saved and the logical application class name represented by the class description instance to be written out to file for the custom class, or NULL, if the callback function is not assigned.
Implemented in OdTrVisDescStub, OdDxfClassImpl, and OdRxClassProtocolExtImpl.
|
virtual |
Returns the raw pointer to the function that is the pseudo-constructor for this class.
Reimplemented in OdRxClassConsImpl.
|
pure virtual |
Creates a new instance of the class associated with the class describing instance using the pseudo-constructor of the class.
Implemented in OdRxValueType, OdTrVisDescStub, OdRxClassConsImpl, and OdRxClassProtocolExtImpl.
|
pure virtual |
Returns the custom flags for the class describing instance represented by this OdRxClass object.
Implemented in OdTrVisDescStub, OdDxfClassImpl, and OdRxClassProtocolExtImpl.
|
virtual |
Deletes the Protocol Extension for the specified Protocol Extension class.
pProtocolClass | [in] Pointer to the Protocol Extension class. |
Reimplemented in OdRxClassProtocolExtImpl.
|
pure virtual |
Returns the DXF class name for the class describing instance represented by this OdRxClass object.
Implemented in OdTrVisDescStub, OdDxfClassImpl, and OdRxClassProtocolExtImpl.
|
pure virtual |
Returns the .dwg file version and maintenance version for the class describing instance represented by this OdRxClass object.
pMaintReleaseVer | [in] Raw pointer to the variable in which the maintenance version number must be saved. This variable must have the OdDb::MaintReleaseVer type. |
Implemented in OdDxfClassImpl, OdRxClassProtocolExtImpl, and OdTrVisDescStub.
|
pure virtual |
Implemented in OdRxBaseClassImpl, and OdTrVisDescStub.
|
virtual |
Returns the Protocol Extension for the specified Protocol extension class.
pProtocolClass | [in] Pointer to the Protocol Extension class. |
Reimplemented in OdRxClassProtocolExtImpl.
|
virtual |
Checks whether the class defined by this class describing instance belongs to or derived from the specified class. The method returns true if and only if this object is an instance of the specified class or a subclass of the specified class.
pClass | [in] Raw pointer to the class describing instance to be checked. |
|
pure virtual |
Returns the OdRxModule object in which the class is resided.
Implemented in OdTrVisDescStub, and OdRxBaseClassImpl.
|
pure virtual |
Returns the raw pointer to the class describing instance which describes the parent class for this class as the OdRxClass object.
Implemented in OdTrVisDescStub, and OdRxBaseClassImpl.
|
pure virtual |
Returns the class name for the class describing instance represented by this OdRxClass object.
Implemented in OdTrVisDescStub, OdRxNamedClassImpl, and OdRxBaseNamedClassImpl.
OdRxClass::ODRX_DECLARE_MEMBERS | ( | OdRxClass | ) |
|
pure virtual |
Returns the /proxy flags/ for the class describing instance represented by this OdRxClass object.
Implemented in OdTrVisDescStub, OdDxfClassImpl, and OdRxClassProtocolExtImpl.
|
pure virtual |
Sets the user-defined function as the pseudo-constructor for this class.
pseudoConstr | [in] Raw pointer to the user-defined function that does not have arguments and returns the smart pointer to a new instance of this class. |
Implemented in OdTrVisDescStub, OdRxClassConsImpl, and OdRxClassProtocolExtImpl.
|
pure virtual |
Implemented in OdRxBaseClassImpl, and OdTrVisDescStub.