CFx SDK Documentation 2024 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 AECGe::Harvester, OdDbCompoundObjectId, OdDbDatabase, OdDbObject, OdGiViewportDraw_Dummy, OdGiWorldDraw_Dummy, OdGiLayerTraitsTaker, OdGiMaterialTraitsTaker, OdGiMaterialTraits_Stub, OdGsRedirectionHelper< OdGsCache >, OdGsRedirectionHelper< OdGsModelRedirectionWrapper< OdGsModelRedirectionHandler > >, OdGiLayerTraitsTakerView, OdGsNode, OdDbGeoDataChunks, OdDbGeoDataProvidersString, OdDbGeoDataMarker, OdRxObjectImpl< OdRxObject, AECImpObj >, OdRxObjectImpl< OdDbGeomRef >, OdRxObjectImpl< OdDbSubentRef >, OdRxObjectImpl< OdRxDictionaryIterator >, OdStaticRxObject< OdEdInputTracker >, OdStaticRxObject< OdGiDrawableImpl< OdGiDrawable > >, OdStaticRxObject< OdDbSelectionSet >, OdStaticRxObject< OdDbUserIO >, OdStaticRxObject< OdApcAtom >, OdStaticRxObject< OdMemoryStreamImpl< OdMemoryStream > >, OdStaticRxObject< OdRxObject >, OdStaticRxObject< OdDbTransactionReactor >, OdStaticRxObject< OdDbDatabaseReactor >, OdStaticRxObject< OdGiViewport >, OdStaticRxObject< OdGiPhotographicExposureParameters >, OdStaticRxObject< OdGiSubEntityTraits >, OdStaticRxObject< OdGiToneOperatorParameters >, OdStaticRxObject< OdGiVisualStyle >, OdStaticRxObject< OdGiDisplayStyle >, OdStaticRxObject< OdGiEdgeStyle >, OdStaticRxObject< OdGiFaceStyle >, OdStaticRxObject< OdRxBoxedValue >, OdStaticRxObject< OdRxDLinkerReactor >, OdStaticRxObject< OdTrVisExtensionModule >, OdStaticRxObject< OdTrVisDirectRenderPartialUpdateInvocation >, OdStaticRxObject< OdGiVariant >, OdStaticRxObject< OdTrVisDescStub >, OdStaticRxObject< OdTrVisRenditionDef >, OdStaticRxObject< OdTrVisRenditionRecorder >, and CFxAppInfo.
|
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 OdGiColorCube, OdGiGrayRamp, OdGiPalette, OdGiRasterImageDesc, OdGiRasterImageBGRA32, OdGiRasterImageBGRA32Holder, OdGiRasterImageBGRA32Copy, OdGiRasterImageHolder, OdGiRasterImageWrapper, OdGiBitonalRasterTransformer, OdGiUpsideDownRasterTransformer, OdGiLeftToRightRasterTransformer, OdGiInversionRasterTransformer, OdGiGrayscaleRasterTransformer, OdGiTintRasterTransformer, OdGiMonochromaticRasterTransformer, OdGiRasterImageAlphaChannelAdder, OdPsPlotStyleTable, and OdRxBoxedValue.
|
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 OdDbCoordSystemRef, OdDbTextObjectContextData, OdDbMTextAttributeObjectContextData, OdDbBlkRefObjectContextData, OdDbDimensionObjectContextData, OdIfc::OdIfcModelerGeometry, OdRxBoxedValue, OdDbBlockTableRecord, OdDbEvalGraph, AECImpObj, OdResBuf, AECDbWindow, AECAttribute, AECAttributeAecId, AECAttributeUnknown1, AECGeCompSegment, AECGeRoofSegment, AECGeSegment2d, AECGeSlabEdge, AECGeCustomGridSegment, AECGeNestedGridSegment, AECSpaceSurfaceComponent, OdDbAbstractViewTableRecord, OdDbAnnotationScale, OdDbEntity, OdDbLinkedTableData, OdDbMLeader, OdDbObject, OdDbMTextObjectContextData, OdDbAlignedDimensionObjectContextData, OdDbAngularDimensionObjectContextData, OdDbDiametricDimensionObjectContextData, OdDbOrdinateDimensionObjectContextData, OdDbRadialDimensionObjectContextData, OdDbRadialDimensionLargeObjectContextData, OdDbPlotSettings, OdDbSymbolTableRecord, OdDbTable, OdDbViewportTableRecord, OdGiFill, OdGiHatchPattern, OdGiImageFileTexture, OdGiRasterImageTexture, OdGiRasterImageFileTexture, OdGiWoodTexture, OdGiMarbleTexture, OdGiGenericTexture, OdGiRasterImageDesc, OdGiRasterImageBGRA32, OdGiRasterImageBGRA32Holder, OdGiRasterImageBGRA32Copy, OdGiRasterImageHolder, OdGiRasterImageWrapper, OdGiBitonalRasterTransformer, OdGiUpsideDownRasterTransformer, OdGiLeftToRightRasterTransformer, OdGiInversionRasterTransformer, OdGiGrayscaleRasterTransformer, OdGiTintRasterTransformer, OdGiMonochromaticRasterTransformer, OdGiRasterImageAlphaChannelAdder, OdGiClippedGeometryOutput, OdGiSectionGeometryOutput, OdGiCuttedGeometryOutput, OdGiVariant, OdFileDependencyInfo, OdDb3dSolid, OdDbBody, OdDbRegion, OdDbSurface, OdGiFillHatch, CFxBIMMaterial, CFxMaterialLayerSet, OdPsPlotStyleTable, OdDbBlockReference, OdDb3dProfile, OdDbSubentRef, OdDbFaceRef, OdDbEdgeRef, OdDbVertexRef, OdDbPathRef, OdDbVectorRef, OdDbFcfObjectContextData, OdDbHatchScaleContextData, OdDbHatchViewContextData, OdDbLeaderObjectContextData, and OdDbMLeaderObjectContextData.
|
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 OdGiBaseVectorizer, and CFxEditorReactor.
|
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 1104 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 OdDbCompoundObjectId, OdDbObject, OdGsRedirectionHelper< OdGsCache >, OdGsRedirectionHelper< OdGsModelRedirectionWrapper< OdGsModelRedirectionHandler > >, OdDbGeoDataChunks, OdDbGeoDataProvidersString, OdDbGeoDataMarker, OdRxObjectImpl< OdRxObject, AECImpObj >, OdRxObjectImpl< OdDbGeomRef >, OdRxObjectImpl< OdDbSubentRef >, and OdRxObjectImpl< OdRxDictionaryIterator >.
OdRxObject::ODRX_HEAP_OPERATORS | ( | ) |
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 OdGiBaseVectorizer, and CFxEditorReactor.
|
pure virtual |
Declares the method decrementing the reference counter in objects derived from this class.
Implemented in AECGe::Harvester, OdDbCompoundObjectId, OdDbDatabase, OdDbObject, OdGiViewportDraw_Dummy, OdGiWorldDraw_Dummy, OdGiLayerTraitsTaker, OdGiMaterialTraitsTaker, OdGiMaterialTraits_Stub, OdGsRedirectionHelper< OdGsCache >, OdGsRedirectionHelper< OdGsModelRedirectionWrapper< OdGsModelRedirectionHandler > >, OdGiLayerTraitsTakerView, OdGsNode, OdDbGeoDataChunks, OdDbGeoDataProvidersString, OdDbGeoDataMarker, OdRxObjectImpl< OdRxObject, AECImpObj >, OdRxObjectImpl< OdDbGeomRef >, OdRxObjectImpl< OdDbSubentRef >, OdRxObjectImpl< OdRxDictionaryIterator >, OdStaticRxObject< OdEdInputTracker >, OdStaticRxObject< OdGiDrawableImpl< OdGiDrawable > >, OdStaticRxObject< OdDbSelectionSet >, OdStaticRxObject< OdDbUserIO >, OdStaticRxObject< OdApcAtom >, OdStaticRxObject< OdMemoryStreamImpl< OdMemoryStream > >, OdStaticRxObject< OdRxObject >, OdStaticRxObject< OdDbTransactionReactor >, OdStaticRxObject< OdDbDatabaseReactor >, OdStaticRxObject< OdGiViewport >, OdStaticRxObject< OdGiPhotographicExposureParameters >, OdStaticRxObject< OdGiSubEntityTraits >, OdStaticRxObject< OdGiToneOperatorParameters >, OdStaticRxObject< OdGiVisualStyle >, OdStaticRxObject< OdGiDisplayStyle >, OdStaticRxObject< OdGiEdgeStyle >, OdStaticRxObject< OdGiFaceStyle >, OdStaticRxObject< OdRxBoxedValue >, OdStaticRxObject< OdRxDLinkerReactor >, OdStaticRxObject< OdTrVisExtensionModule >, OdStaticRxObject< OdTrVisDirectRenderPartialUpdateInvocation >, OdStaticRxObject< OdGiVariant >, OdStaticRxObject< OdTrVisDescStub >, OdStaticRxObject< OdTrVisRenditionDef >, OdStaticRxObject< OdTrVisRenditionRecorder >, and CFxAppInfo.
|
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. |