CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdRxObject Class Referenceabstract

#include <RxObject.h>

Inheritance diagram for OdRxObject:
OdRxObjectImpl< OdRxObject, AECImpObj > OdStaticRxObject< OdRxObject > dst::OdSmEnum< OdSmDbBlockRecordReference > dst::OdSmEnum< OdSmComponent > dst::OdSmEnum< OdSmPersist > dst::OdSmEnum< OdSmProjectPointLocation > dst::OdSmEnum< OdSmFileReference > dst::OdSmEnum< OdSmSheetSelSet > dst::OdSmEnum< OdSmDatabase > dst::OdSmEnum< OdSmSheetView > dst::OdSmEnum< OdSmViewCategory > AECEvReactor AECGrip AECGripConstraint AECGripExtension AECGripManager AECOwnershipTreeExpandPE AECPropertyExtensionBase AECSpacePE AECSubObj CFxAppInfo CFxDocument CFxDocumentIterator CFxDocumentManagerReactor CFxGeometryClipper CFxGripMenu CFxInputContextReactor CFxInputPointManager CFxMultiModesGripPE CFxSelectionSetReactor CFxStdsError CFxStdsFix CFxStdsPlugins CloudGfxCache::LayoutData CloudGfxCache::VectorizerCtx GfxParser IfcBuilder OdAbstractViewPE OdApLongTransactionManager OdApLongTransactionReactor OdApcAtom OdApcDataReadWriteDispatcher OdApcEvent OdApcGateway OdApcLoopedGateway OdApcObjectPool OdApcQueue OdApcThread OdAsyncIORequestHandler OdAsyncIOResponseReceiver OdAsyncIOService OdAveMaterial OdAveScene OdBaseDatabaseByResolver OdBaseTextIterator OdBcf::OdBcfArchiveFolder OdBcf::OdBcfDataAccessor OdBcf::OdBcfElement OdBcf::OdBcfTimeStamp OdBcf_2_1::OdBcfArchive OdBcf_2_1::OdBcfSession OdBcf_2_1::OdBcfTopicFolder OdBcf_3_0::OdBcfArchive OdBcf_3_0::OdBcfSession OdBcf_3_0::OdBcfTopicFolder OdByteData OdCOBie::Ifc2COBie OdCryptoServices OdDb3dProfile OdDbAbstractPlotData OdDbAnnotationScaleReactor OdDbAnnotativeObjectPE OdDbBaseAnnotationScalePE OdDbBaseBlockPE OdDbBaseBlockRefPE OdDbBaseDatabasePE OdDbBaseGeoDataExportPE OdDbBaseHatchPE OdDbBaseHostAppServices OdDbBaseLayerPE OdDbBaseLayoutPE OdDbBaseLinetypePE OdDbBaseLongTransactionPE OdDbBaseMaterialPE OdDbBaseSortEntsPE OdDbBaseVisualStylePE OdDbBlockIterator OdDbBlockParamValueSet OdDbBlockRepresentationContext OdDbCompoundObjectId OdDbConstraintsInterfacePE OdDbCrypt OdDbCurvePE OdDbDataCell OdDbDataColumn OdDbDataLinkUpdatePE OdDbDatabaseCollection OdDbDatabaseReactor OdDbDatabaseSummaryInfo OdDbDgnLSModifiersPE OdDbDgnLSPE OdDbDimensionRecomputePE OdDbDynBlockReferenceProperty OdDbEmbeddedASMEntPropsPE OdDbEntityHyperlinkPE OdDbEntityIntersectionPE OdDbEntityWithGrDataPE OdDbEvalContext OdDbEvalContextIterator OdDbEvalWatcherPE OdDbFiler OdDbGeoCompoundCoordinateSystem OdDbGeoCompoundCoordinateSystemPE OdDbGeoCoordinateSystem OdDbGeoCoordinateSystemCategory OdDbGeoCoordinateSystemCategoryPE OdDbGeoCoordinateSystemPE OdDbGeoCoordinateSystemTransformer OdDbGeoCoordinateSystemTransformerPE OdDbGeoDataChunksPE OdDbGeoDataPE OdDbGeoMapFieldsPE OdDbGeoMapPE OdDbGeoVerticalCoordinateSystem OdDbGeoVerticalCoordinateSystemPE OdDbGeomRef OdDbGraphNode OdDbGripPointsPE OdDbGroupIterator OdDbHatchPE OdDbHyperlinkCollection OdDbIdBufferIterator OdDbIdMapping OdDbIdMappingIter OdDbIdwSheetMapping OdDbIdwViewMapping OdDbJoinEntityPE OdDbLayerStateManager OdDbLayerStateManagerReactor OdDbLayoutManager OdDbLayoutManagerReactor OdDbLayoutPaperPE OdDbLoftedSurfacePE OdDbLongTransWorkSetIterator OdDbMLeaderRecomputePE OdDbMatchProperties OdDbObjectContext OdDbObjectContextCollection OdDbObjectContextCollectionIterator OdDbObjectContextInterface OdDbObjectContextManager OdDbObjectIterator OdDbObjectReactor OdDbObjectSchemaIterator OdDbPageController OdDbPaperOrientationPE OdDbParameterInterface OdDbParameterValueSet OdDbParentTransformOfChildPE OdDbPartialViewingModule::DataManagerContext OdDbPlotSettingsValidator OdDbPlotSettingsValidatorPE OdDbPointCloudExHostPE OdDbPointCloudExItem OdDbPointCloudHostPE OdDbPointCloudItem OdDbPointRef OdDbProxyExt OdDbRtFilerController OdDbSectionHLRHelper OdDbSectionManagerIterator OdDbSelectionFilter OdDbSelectionMethod OdDbSetBasePlotSettingsPE OdDbSetPlotSettingsPE OdDbShModelerHistory OdDbSplinePE OdDbSymbolTableIterator OdDbSynergyLayerMapping OdDbTablePE OdDbTransactionReactor OdDbUnderlayFile OdDbUnderlayHostPE OdDbUnderlayItem OdDbUnderlayItemPE OdDbUnderlayItemPE2 OdDbUndoController OdDbUndoControllerRecord OdDbXrecordIterator OdEdCommand OdEdCommandContext OdEdCommandStack OdEdCommandStackReactor OdEdFunctionIO OdEdInputTracker OdEdLispEngine OdEdLispEngineReactor OdEdUserIO OdErrorContext OdFdFieldEngine OdFdFieldEnginePE OdFdFieldEvaluator OdFdFieldEvaluatorLoader OdFdFieldReactor OdFdFieldResult OdFileDependencyInfo OdFileDependencyManager OdFont OdFontServices OdGiAuxiliaryData OdGiBrep OdGiClippedGeometryOutput OdGiClippedGeometryOutputCallback OdGiCommonDraw OdGiContext OdGiContextualColors OdGiConveyorNode OdGiDisplayStyle OdGiDrawable OdGiDrawableSelectPE OdGiDrawableTraits OdGiEdgeStyle OdGiFaceStyle OdGiFill OdGiGeometry OdGiGeometryMetafile OdGiGeometryRecorderPlayer OdGiHlrResults OdGiLayerOverrides OdGiMapperItem OdGiMapperItemEntry OdGiMaterialItem OdGiMaterialTexture OdGiMaterialTextureData OdGiMaterialTextureEntry OdGiMaterialTextureLoadPE OdGiMaterialTextureLoaderExt OdGiMaterialTextureManager OdGiMetafile OdGiModelToViewProc OdGiNoiseGenerator OdGiPointCloud OdGiPointCloudFilter OdGiPointCloudReceiver OdGiPolyline OdGiProceduralGenerator OdGiProceduralGeneratorPE OdGiProgressiveMesh OdGiProgressiveMeshEx OdGiRasterImage OdGiRasterImageLoader OdGiRasterImageLoaderPE OdGiSectionGeometryManager OdGiSectionGeometryMap OdGiSelfGdiDrawable OdGiSelfGiDrawablePE OdGiShellToolkit OdGiSpatialFilter OdGiToneOperatorParameters OdGiTransientManager OdGiTransientManagerPE OdGiVariant OdGiViewport OdGiVisualStyle OdGsBackground OdGsBaseModelLocalIds OdGsBitMap OdGsCache OdGsCacheRedirectionManager OdGsContainerNode::VpData OdGsCullingVolume OdGsDevice OdGsEntityNode::Metafile OdGsEntityNode::MetafileEx::OdGsDeviceSelfReference OdGsFiler OdGsFilerCreatorPE OdGsFilerDbHashPE OdGsFilerDbLinker OdGsFiler_SubstitutorImpl OdGsLight OdGsMaterialCache OdGsModel OdGsPalette OdGsProperties OdGsReactor OdGsSimpleParam OdGsStateBranchReactor OdGsUpdateManager OdGsView OdHatchPatternManager OdIdsApplicabilityType OdIdsAttributeType OdIdsClassificationType OdIdsEntityType OdIdsIds OdIdsIdsInfo OdIdsIdsValue OdIdsMaterialType OdIdsPartOfType OdIdsPropertyType OdIdsRequirementsType OdIdsSpecificationType OdIdsSpecificationsType OdIesnaFile OdIfc::OdIfcProductPE OdLyLayerFilter OdLyLayerFilterManager OdModelerGeometry OdModelerGeometryCreator OdModelerTools OdMvdXml::OdMvdXmlElement OdMvdXml::OdMvdXmlProcessor OdOleStorage OdPdf2ImageConverter OdPdfImport OdPdfPublish::OdFile OdPdfPublish::OdObject OdPdfPublish::OdTableCreator OdPointCloudDatabaseReceiver OdPsPlotStyle OdPsPlotStyleTable OdPwdCache OdPwdIterator OdRasterConvertPE OdResBuf OdRxAttribute OdRxBoxedValue OdRxClass OdRxDLinkerReactor OdRxDictionary OdRxDynamicLinker OdRxEvent OdRxEventReactor OdRxFacetProvider OdRxIterator OdRxMember OdRxMemberOverrule OdRxMemberQueryContext OdRxModelHierarchyTreeBase OdRxModelTreeBaseNode OdRxModule OdRxOverrule OdRxPropDesc OdRxProtocolReactor OdRxProtocolReactorIterator OdRxProtocolReactorList OdRxProtocolReactorListIterator OdRxProtocolReactorManager OdRxProtocolReactorManagerFactory OdRxResourceLoader OdRxSketchManager OdRxSketchObject OdRxSystemServices OdRxValueIterator OdRxVariant OdRxVoidStore OdRxWrapper< Type > OdSelectionSet OdSelectionSetIterator OdSetVarInfo OdSiSpatialIndex OdSpatialReference::OdCompoundCoordinateReferenceSystemTransformation OdSpatialReference::OdCompoundDatumShift OdSpatialReference::OdCoordinateReferenceSystemOperation OdSpatialReference::OdCoordinateReferenceSystemTransformation OdSpatialReference::OdDatumShift OdSpatialReference::OdDefinitionBase OdSpatialReference::OdGeodeticPathElement OdSpatialReference::OdGeodeticTransformationParameters OdSpatialReference::OdGridFile OdSpatialReference::OdTransformationInfo OdStreamBuf OdStringBuf OdSyDrawingMgr OdSysVarInfo OdTfAttribute OdTfAttributesContainer OdTfPropertiesContainer OdTfProperty OdTfSchemaManagerInterface OdTfStorage OdTrRndLocalContext OdTrRndLocalRenditionClient OdTrRndLocalTransient OdTrRndSgSceneGraphTaskScheduler OdTrRndStateBranchClient OdTrVectorizerModuleHost OdTrVectorizerPropertyResolver OdTrVisDirectRenderPartialUpdateInvocation OdTrVisExtensionModule OdTrVisExtensionObject OdTrVisExtensionObjectMtContext OdTrVisFont OdTrVisGeometryDraw OdTrVisIdMap OdTrVisIdMap::ResourceDataAccessor OdTrVisMetafileBuilder OdTrVisRendition OdTrVisSharingProviderClient OdTrVisTexture OdTrVisTextureResolver OdUnitsFormatter dst::OdSmEnum< T > dst::OdSmEnumCustomPropertyValue dst::OdSmEvents dst::OdSmFiler dst::OdSmObjectId dst::OdSmPersist

Public Member Functions

 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
 

Static Public Member Functions

static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 

Detailed Description

<group OdRx_Classes>

This class is the base class for all OdRxObject objects that require Runtime Type Identification.

See also
<link smart_pointers_overview.html, Overview of Smart Pointer Classes>

<link rtti.html, RTTI Technology>

<link rx_object_compare.html, Comparing Rx-Objects>

Definition at line 563 of file RxObject.h.

Constructor & Destructor Documentation

◆ OdRxObject()

OdRxObject::OdRxObject ( )
inline

Default constructor for this class.

Definition at line 590 of file RxObject.h.

◆ ~OdRxObject()

virtual OdRxObject::~OdRxObject ( )
virtual

The virtual destructor for this class.

Member Function Documentation

◆ addRef()

virtual void OdRxObject::addRef ( )
pure virtual

Declares the method incrementing the reference counter in objects derived from this class.

Remarks
It is the pure virtual method that does not have an implementation. You must redefine it in the derived class.
See also
<link smart_pointers_overview.html, Overview of Smart Pointer Classes>

Implemented in CFxAppInfo, OdDbCompoundObjectId, OdDbDatabase, OdDbGeoDataProvidersString, OdDbObject, OdGiLayerTraitsTaker, OdGiLayerTraitsTakerView, OdGiSubEntityTraitsWrapper< OdGiSubEntityTraits >, OdGiViewportDraw_Dummy, OdGiViewportDraw_Stub, OdGiWorldDraw_Dummy, OdGiWorldDraw_Stub, OdGsNode, OdGsRedirectionHelper< OdGsCache >, OdGsRedirectionHelper< OdGsModelRedirectionWrapper< OdGsModelRedirectionHandler > >, OdRxObjectImpl< OdDbGeomRef >, OdRxObjectImpl< OdDbSubentRef >, OdRxObjectImpl< OdRxDictionaryIterator >, OdRxObjectImpl< OdRxObject, AECImpObj >, OdStaticRxObject< OdApcAtom >, OdStaticRxObject< OdDbDatabaseReactor >, OdStaticRxObject< OdDbSelectionSet >, OdStaticRxObject< OdDbTransactionReactor >, OdStaticRxObject< OdDbUserIO >, OdStaticRxObject< OdEdInputTracker >, OdStaticRxObject< OdGiDisplayStyle >, OdStaticRxObject< OdGiDrawableImpl< OdGiDrawable > >, OdStaticRxObject< OdGiDummySubEntityTraits< OdGiSubEntityTraits > >, OdStaticRxObject< OdGiDummySubEntityTraits< OdGiSubEntityTraits > >, OdStaticRxObject< OdGiEdgeStyle >, OdStaticRxObject< OdGiFaceStyle >, OdStaticRxObject< OdGiMaterialTraits >, OdStaticRxObject< OdGiPhotographicExposureParameters >, OdStaticRxObject< OdGiSubEntityTraits >, OdStaticRxObject< OdGiToneOperatorParameters >, OdStaticRxObject< OdGiVariant >, OdStaticRxObject< OdGiViewport >, OdStaticRxObject< OdGiVisualStyle >, OdStaticRxObject< OdMemoryStreamImpl< OdMemoryStream > >, OdStaticRxObject< OdRxBoxedValue >, OdStaticRxObject< OdRxClass >, OdStaticRxObject< OdRxDLinkerReactor >, OdStaticRxObject< OdRxObject >, OdStaticRxObject< OdTrVisDescStub >, OdStaticRxObject< OdTrVisDirectRenderPartialUpdateInvocation >, OdStaticRxObject< OdTrVisExtensionModule >, OdStaticRxObject< OdTrVisRenditionDef >, OdStaticRxObject< OdTrVisRenditionRecorder >, and OdStaticRxObjectM< OdGiBaseVectorizer, OdGiGeometrySimplifier, OdGiContextForDbDatabase >.

◆ cast()

static OdRxObjectPtr OdRxObject::cast ( const OdRxObject * pointer)
inlinestatic

Casts the specified raw pointer to the smart pointer.

Parameters
pointer[in] Raw pointer to be cast.

Definition at line 640 of file RxObject.h.

◆ clone()

◆ comparedTo()

virtual OdRx::Ordering OdRxObject::comparedTo ( const OdRxObject * pOther) const
virtual

Compares another object to this one in a some meaning.

Parameters
pOther[in] Raw pointer to the object to be compared.
Remarks
This method returns one of the following:

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.

Remarks
The default implementation of this method returns kNotOrderable.
See also
<link rx_object_compare_moreless.html, Comparing the Value of Rx Objects>
<link rx_object_compare.html, Comparing Rx-Objects>

Reimplemented in OdRxBoxedValue.

◆ copyFrom()

virtual void OdRxObject::copyFrom ( const OdRxObject * pSource)
virtual

details Copies the contents of the specified object into this object.

Parameters
pSource[in] Pointer to the source object.
Remarks
The default implementation of this function does nothing but throw an eNotApplicable exception.

Throws: eNotApplicable Exception

Reimplemented in AECAttribute, AECAttributeAecId, AECAttributeUnknown1, AECDbEntity, AECDbWindow, AECGeCompSegment, AECGeCustomGridSegment, AECGeNestedGridSegment, AECGeRoofSegment, AECGeSegment2d, AECGeSlabEdge, AECImpObj, AECSpaceSurfaceComponent, CFxBIMMaterial, CFxMaterialLayerSet, OdDb3dProfile, OdDb3dSolid, OdDbAbstractViewTableRecord, OdDbAlignedDimensionObjectContextData, OdDbAngularDimensionObjectContextData, OdDbAnnotationScale, OdDbBlkRefObjectContextData, OdDbBlockReference, OdDbBlockTableRecord, OdDbBody, OdDbCoordSystemRef, OdDbDiametricDimensionObjectContextData, OdDbDimensionObjectContextData, OdDbEdgeRef, OdDbEntity, OdDbEvalGraph, OdDbEvalVariant, OdDbFaceRef, OdDbFcfObjectContextData, OdDbGeoData, OdDbHatchScaleContextData, OdDbHatchViewContextData, OdDbLeaderObjectContextData, OdDbLinkedTableData, OdDbMLeader, OdDbMLeaderObjectContextData, OdDbMTextAttributeObjectContextData, OdDbMTextObjectContextData, OdDbObject, OdDbOrdinateDimensionObjectContextData, OdDbPathRef, OdDbPlotSettings, OdDbRadialDimensionLargeObjectContextData, OdDbRadialDimensionObjectContextData, OdDbRegion, OdDbSubentRef, OdDbSurface, OdDbSymbolTableRecord, OdDbTable, OdDbTextObjectContextData, OdDbVectorRef, OdDbVertexRef, OdDbViewportTableRecord, OdFileDependencyInfo, OdGiBitonalRasterTransformer, OdGiClippedGeometryOutput, OdGiCuttedGeometryOutput, OdGiFill, OdGiFillHatch, OdGiGenericTexture, OdGiGrayscaleRasterTransformer, OdGiHatchPattern, OdGiHorizontalToVerticalRasterTransformer, OdGiImageFileTexture, OdGiInversionRasterTransformer, OdGiLeftToRightRasterTransformer, OdGiMarbleTexture, OdGiMonochromaticRasterTransformer, OdGiPatchworkRasterImage, OdGiRasterImageAlphaChannelAdder, OdGiRasterImageBGRA32, OdGiRasterImageBGRA32Copy, OdGiRasterImageBGRA32Holder, OdGiRasterImageDesc, OdGiRasterImageFileTexture, OdGiRasterImageHolder, OdGiRasterImageTexture, OdGiRasterImageWrapper, OdGiSceneTexture, OdGiSectionGeometryOutput, OdGiTintRasterTransformer, OdGiUpsideDownRasterTransformer, OdGiVariant, OdGiWoodTexture, OdPsPlotStyleTable, OdResBuf, OdRxBoxedValue, OdRxSectionSketch, and OdSpatialReference::OdDefinitionBase.

◆ desc()

static OdRxClass * OdRxObject::desc ( )
static

Returns the raw pointer to the class describing instance statically associated with this object as the OdRxClass object.

Remarks
This function is for use only when the class type of this object is known. If the class type of this object is unknown, use isA() method instead.
See also
<link rtti_sample_identifying.html, Example of Identifying Classes>
<link rtti_class_functionality.html, Functionality of RTTI>

◆ isA()

virtual OdRxClass * OdRxObject::isA ( ) const
virtual

Returns the raw pointer to the class describing instance dynamically associated with this object as the OdRxClass object.

Remarks
This function is for use only when the class type of this object is unknown. If the class type of this object is known, use desc() method instead.
See also
<link rtti_sample_identifying.html, Example of Identifying Classes>
<link rtti_class_functionality.html, Functionality of RTTI>

Reimplemented in CFxEditorReactor, and OdGiBaseVectorizer.

◆ isEqualTo()

virtual bool OdRxObject::isEqualTo ( const OdRxObject * pOther) const
virtual

Returns true if and only if the specified object is equal to this one in a some meaning.

Parameters
pOther[in] Raw pointer to the object to be compared.
See also
<link rx_object_compare_equivalence.html, Comparing the Equivalence of Rx Objects>
<link rx_object_compare.html, Comparing Rx-Objects>

Reimplemented in OdRxBoxedValue.

◆ isKindOf()

bool OdRxObject::isKindOf ( const OdRxClass * pClass) const
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.

Parameters
pClass[in] Raw pointer to the class describing instance to be checked.
See also
<link rtti_sample_belonging.html, Example of Belonging to an Instance of a Class>
<link rtti_class_belonging.html, Belonging to an Instance of a Class>

Definition at line 1109 of file RxObject.h.

◆ numRefs()

virtual long OdRxObject::numRefs ( ) const
virtual

Returns the value of the reference counter, that is, the number of references to an instance of this class.

Remarks
This method has the default implementation that returns 1. You should redefine it in the derived class.
See also
<link smart_pointers_overview.html, Overview of Smart Pointer Classes>

Reimplemented in OdDbCompoundObjectId, OdDbGeoDataProvidersString, OdDbObject, OdGsRedirectionHelper< OdGsCache >, OdGsRedirectionHelper< OdGsModelRedirectionWrapper< OdGsModelRedirectionHandler > >, OdRxObjectImpl< OdDbGeomRef >, OdRxObjectImpl< OdDbSubentRef >, OdRxObjectImpl< OdRxDictionaryIterator >, and OdRxObjectImpl< OdRxObject, AECImpObj >.

◆ ODRX_HEAP_OPERATORS()

OdRxObject::ODRX_HEAP_OPERATORS ( )

Protects derived OdRxObject objects from direct use of new and delete operators.

◆ queryX()

virtual OdRxObject * OdRxObject::queryX ( const OdRxClass * pClass) const
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.

Parameters
pClass[in] Raw pointer to the class describing instance to which the object must be converted.
Remarks
If the object cannot be converted, the method returns a Null. The program must release this object, if the returned pointer is not Null.
See also
<link rtti_sample_belonging.html, Example of Belonging to an Instance of a Class>
<link rtti_class_belonging.html, Belonging to an Instance of a Class>

Reimplemented in CFxEditorReactor, and OdGiBaseVectorizer.

◆ release()

virtual void OdRxObject::release ( )
pure virtual

Declares the method decrementing the reference counter in objects derived from this class.

Remarks
It is the pure virtual method that does not have an implementation. You must redefine it in the derived class.
See also
<link smart_pointers_overview.html, Overview of Smart Pointer Classes>

Implemented in CFxAppInfo, OdDbCompoundObjectId, OdDbDatabase, OdDbGeoDataProvidersString, OdDbObject, OdGiLayerTraitsTaker, OdGiLayerTraitsTakerView, OdGiSubEntityTraitsWrapper< OdGiSubEntityTraits >, OdGiViewportDraw_Dummy, OdGiViewportDraw_Stub, OdGiWorldDraw_Dummy, OdGiWorldDraw_Stub, OdGsNode, OdGsRedirectionHelper< OdGsCache >, OdGsRedirectionHelper< OdGsModelRedirectionWrapper< OdGsModelRedirectionHandler > >, OdRxObjectImpl< OdDbGeomRef >, OdRxObjectImpl< OdDbSubentRef >, OdRxObjectImpl< OdRxDictionaryIterator >, OdRxObjectImpl< OdRxObject, AECImpObj >, OdStaticRxObject< OdApcAtom >, OdStaticRxObject< OdDbDatabaseReactor >, OdStaticRxObject< OdDbSelectionSet >, OdStaticRxObject< OdDbTransactionReactor >, OdStaticRxObject< OdDbUserIO >, OdStaticRxObject< OdEdInputTracker >, OdStaticRxObject< OdGiDisplayStyle >, OdStaticRxObject< OdGiDrawableImpl< OdGiDrawable > >, OdStaticRxObject< OdGiDummySubEntityTraits< OdGiSubEntityTraits > >, OdStaticRxObject< OdGiDummySubEntityTraits< OdGiSubEntityTraits > >, OdStaticRxObject< OdGiEdgeStyle >, OdStaticRxObject< OdGiFaceStyle >, OdStaticRxObject< OdGiMaterialTraits >, OdStaticRxObject< OdGiPhotographicExposureParameters >, OdStaticRxObject< OdGiSubEntityTraits >, OdStaticRxObject< OdGiToneOperatorParameters >, OdStaticRxObject< OdGiVariant >, OdStaticRxObject< OdGiViewport >, OdStaticRxObject< OdGiVisualStyle >, OdStaticRxObject< OdMemoryStreamImpl< OdMemoryStream > >, OdStaticRxObject< OdRxBoxedValue >, OdStaticRxObject< OdRxClass >, OdStaticRxObject< OdRxDLinkerReactor >, OdStaticRxObject< OdRxObject >, OdStaticRxObject< OdTrVisDescStub >, OdStaticRxObject< OdTrVisDirectRenderPartialUpdateInvocation >, OdStaticRxObject< OdTrVisExtensionModule >, OdStaticRxObject< OdTrVisRenditionDef >, OdStaticRxObject< OdTrVisRenditionRecorder >, and OdStaticRxObjectM< OdGiBaseVectorizer, OdGiGeometrySimplifier, OdGiContextForDbDatabase >.

◆ rxInit()

static void OdRxObject::rxInit ( )
static

◆ rxUninit()

static void OdRxObject::rxUninit ( )
static

◆ x()

virtual OdRxObject * OdRxObject::x ( const OdRxClass * pClass) const
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.

Parameters
pClass[in] Raw pointer to the class describing instance to which the object must be converted.
Remarks
This method generates the eNotThatKindOfClass exception when the object can be not converted to the specified class. This method generates the eInvalidInput exception when the argument pClass is Null. This method uses the queryX() method.
See also
<link rtti_sample_belonging.html, Example of Belonging to an Instance of a Class>
<link rtti_class_belonging.html, Belonging to an Instance of a Class>

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