CFx SDK Documentation
2022 SP0
|
#include <RxObject.h>
Public Member Functions | |
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 |
Static Public Member Functions | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
<group OdRx_Classes>
This class is the base class for all OdRxObject objects that require Runtime Type Identification.
<link rtti.html, RTTI Technology>
<link rx_object_compare.html, Comparing Rx-Objects>
Definition at line 563 of file RxObject.h.
|
inline |
Default constructor for this class.
Definition at line 590 of file RxObject.h.
|
virtual |
The virtual destructor for this class.
|
pure virtual |
Declares the method incrementing the reference counter in objects derived from this class.
Implemented in CFxAppInfo, OdStaticRxObject< OdTrVisDescStub >, OdStaticRxObject< OdDbSelectionSet >, OdStaticRxObject< OdRxBoxedValue >, OdStaticRxObject< OdTrVisRenditionRecorder >, OdStaticRxObject< OdGiPhotographicExposureParameters >, OdStaticRxObject< OdTrVisRenditionDef >, OdStaticRxObject< OdRxObject >, OdStaticRxObject< OdGiFaceStyle >, OdStaticRxObject< OdGiDisplayStyle >, OdStaticRxObject< OdGiVisualStyle >, OdStaticRxObject< OdDbUserIO >, OdStaticRxObject< OdGiDrawableImpl< OdGiDrawable > >, OdStaticRxObject< OdGiEdgeStyle >, OdStaticRxObject< OdGiToneOperatorParameters >, OdStaticRxObject< OdEdInputTracker >, OdStaticRxObject< OdGiVariant >, OdStaticRxObject< OdDbTransactionReactor >, OdStaticRxObject< OdApcAtom >, OdStaticRxObject< OdDbDatabaseReactor >, OdStaticRxObject< OdRxDLinkerReactor >, OdRxObjectImpl< OdRxDictionaryIterator >, OdGsNode, OdGiLayerTraitsTakerView, OdGiMaterialTraits_Stub, OdGiMaterialTraitsTaker, OdGiLayerTraitsTaker, OdGiWorldDraw_Dummy, OdGiViewportDraw_Dummy, OdDbObject, and OdDbDatabase.
|
inlinestatic |
Casts the specified raw pointer to the smart pointer.
pointer | [in] Raw pointer to be cast. |
Definition at line 640 of file RxObject.h.
|
virtual |
Creates a clone of this object, and returns a pointer to the clone.
Reimplemented in OdRxBoxedValue, OdPsPlotStyleTable, OdGiRasterImageAlphaChannelAdder, OdGiMonochromaticRasterTransformer, OdGiGrayscaleRasterTransformer, OdGiInversionRasterTransformer, OdGiLeftToRightRasterTransformer, OdGiUpsideDownRasterTransformer, OdGiBitonalRasterTransformer, OdGiRasterImageWrapper, OdGiRasterImageHolder, OdGiRasterImageBGRA32Copy, OdGiRasterImageBGRA32Holder, OdGiRasterImageBGRA32, and OdGiRasterImageDesc.
|
virtual |
Compares another object to this one in a some meaning.
pOther | [in] Raw pointer to the object to be compared. |
Value Description
kLessThan -1 This object < Other Object.
kEqual 0 This object = Other Object.
kGreaterThan 1 This object > Other Object.
kNotOrderable 2 This class is not orderable.
Reimplemented in OdRxBoxedValue.
|
virtual |
details Copies the contents of the specified object into this object.
pSource | [in] Pointer to the source object. |
Throws: eNotApplicable Exception
Reimplemented in OdDbMLeaderObjectContextData, OdDbLeaderObjectContextData, OdDbHatchViewContextData, OdDbHatchScaleContextData, OdDbFcfObjectContextData, OdDbBlockReference, OdPsPlotStyleTable, CFxBIMMaterial, OdDbMLeader, OdFileDependencyInfo, OdGiVariant, OdGiRasterImageAlphaChannelAdder, OdGiMonochromaticRasterTransformer, OdGiGrayscaleRasterTransformer, OdGiInversionRasterTransformer, OdGiLeftToRightRasterTransformer, OdGiUpsideDownRasterTransformer, OdGiBitonalRasterTransformer, OdGiRasterImageWrapper, OdGiRasterImageHolder, OdGiRasterImageBGRA32Copy, OdGiRasterImageBGRA32Holder, OdGiRasterImageBGRA32, OdGiRasterImageDesc, OdGiGenericTexture, OdGiMarbleTexture, OdGiWoodTexture, OdGiRasterImageTexture, OdGiImageFileTexture, OdGiHatchPattern, OdGiFill, OdDbViewportTableRecord, OdDbTable, OdDbSymbolTableRecord, OdDbPlotSettings, OdDbRadialDimensionLargeObjectContextData, OdDbRadialDimensionObjectContextData, OdDbOrdinateDimensionObjectContextData, OdDbDiametricDimensionObjectContextData, OdDbAngularDimensionObjectContextData, OdDbAlignedDimensionObjectContextData, OdDbMTextObjectContextData, OdDbObject, OdDbLinkedTableData, OdDbEntity, OdDbAnnotationScale, OdDbAbstractViewTableRecord, OdResBuf, OdDbEvalGraph, OdDbBlockTableRecord, OdRxBoxedValue, OdIfc::OdIfcModelerGeometry, OdDbDimensionObjectContextData, OdDbBlkRefObjectContextData, OdDbMTextAttributeObjectContextData, and OdDbTextObjectContextData.
|
static |
Returns the raw pointer to the class describing instance statically associated with this object as the OdRxClass object.
|
virtual |
Returns the raw pointer to the class describing instance dynamically associated with this object as the OdRxClass object.
Reimplemented in CFxEditorReactor, and OdGiBaseVectorizer.
|
virtual |
Returns true if and only if the specified object is equal to this one in a some meaning.
pOther | [in] Raw pointer to the object to be compared. |
Reimplemented in OdRxBoxedValue.
|
inline |
Checks whether the object belongs to the specified class and 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. |
Definition at line 728 of file RxObject.h.
|
virtual |
Returns the value of the reference counter, that is, the number of references to an instance of this class.
Reimplemented in OdRxObjectImpl< OdRxDictionaryIterator >, and OdDbObject.
OdRxObject::ODRX_HEAP_OPERATORS | ( | ) |
Description: Protects derived OdRxObject objects from direct use of new and delete operators.
|
virtual |
Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.
pClass | [in] Raw pointer to the class describing instance to which the object must be converted. |
Reimplemented in CFxEditorReactor, and OdGiBaseVectorizer.
|
pure virtual |
Declares the method decrementing the reference counter in objects derived from this class.
Implemented in CFxAppInfo, OdStaticRxObject< OdTrVisDescStub >, OdStaticRxObject< OdDbSelectionSet >, OdStaticRxObject< OdRxBoxedValue >, OdStaticRxObject< OdTrVisRenditionRecorder >, OdStaticRxObject< OdGiPhotographicExposureParameters >, OdStaticRxObject< OdTrVisRenditionDef >, OdStaticRxObject< OdRxObject >, OdStaticRxObject< OdGiFaceStyle >, OdStaticRxObject< OdGiDisplayStyle >, OdStaticRxObject< OdGiVisualStyle >, OdStaticRxObject< OdDbUserIO >, OdStaticRxObject< OdGiDrawableImpl< OdGiDrawable > >, OdStaticRxObject< OdGiEdgeStyle >, OdStaticRxObject< OdGiToneOperatorParameters >, OdStaticRxObject< OdEdInputTracker >, OdStaticRxObject< OdGiVariant >, OdStaticRxObject< OdDbTransactionReactor >, OdStaticRxObject< OdApcAtom >, OdStaticRxObject< OdDbDatabaseReactor >, OdStaticRxObject< OdRxDLinkerReactor >, OdRxObjectImpl< OdRxDictionaryIterator >, OdGsNode, OdGiLayerTraitsTakerView, OdGiMaterialTraits_Stub, OdGiMaterialTraitsTaker, OdGiLayerTraitsTaker, OdGiWorldDraw_Dummy, OdGiViewportDraw_Dummy, OdDbObject, and OdDbDatabase.
|
virtual |
Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot.
pClass | [in] Raw pointer to the class describing instance to which the object must be converted. |