CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdBaseObjectPtr Class Reference

#include <BaseObjectPtr.h>

Inheritance diagram for OdBaseObjectPtr:
OdSmartPtr< OdApcQueue > OdSmartPtr< OdRxVariant > OdSmartPtr< OdRxWrapper< Type > > OdSmartPtr< AECGeProfile > OdSmartPtr< AECDbGeo > OdSmartPtr< AECDbWall > OdSmartPtr< AECDbWallStyle > OdSmartPtr< AECDispCompEnt > OdSmartPtr< AECImpObj > OdSmartPtr< AECImpArray > OdSmartPtr< AECDimensionOverrideData > OdSmartPtr< AECGaCustomBlock > OdSmartPtr< AECDispCompHatch > OdSmartPtr< AECDisplayThemeRuleBase > OdSmartPtr< AECAttribute > OdSmartPtr< AECGeCustomGrid > OdSmartPtr< AECGeNgCellAssignment > OdSmartPtr< AECGeNgEdgeAssignment > OdSmartPtr< AECGeGridAssemblyDef > OdSmartPtr< AECIndexSpecifier > OdSmartPtr< AECFormulaData > OdSmartPtr< AECGePolyline2d > OdSmartPtr< AECGeRoofProfile > OdSmartPtr< AECInterferenceEntityData > OdSmartPtr< AECSMemberNodeId > OdSmartPtr< AECScheduleTableCellFormatOverride > OdSmartPtr< AECPropertyDefFormula > OdSmartPtr< AECSlabStyleCompPos > OdSmartPtr< AECAnchorToCurveX > OdSmartPtr< AECAnchorToCurveY > OdSmartPtr< AECWallElev > OdSmartPtr< AECWallStyleCompPos > OdSmartPtr< AECDbSpace > OdSmartPtr< OdTrVectorizerPropertyResolver > OdSmartPtr< OdGiVisualStyle > OdSmartPtr< OdGiDrawable > OdSmartPtr< OdGsBaseModel > OdSmartPtr< OdStreamBuf > OdSmartPtr< OdSiSpatialIndex > OdSmartPtr< OdDbEntity > OdSmartPtr< OdBcfVersion > OdSmartPtr< OdBcfProjectExtension > OdSmartPtr< OdBcfArchiveFolder > OdSmartPtr< OdBcfPoint > OdSmartPtr< OdBcfDirection > OdSmartPtr< OdBcfTimeStamp > OdSmartPtr< OdBcfGUIDAttribute > OdSmartPtr< OdBcfExceptions > OdSmartPtr< OdBcfViewSetupHints > OdSmartPtr< OdBcfComponentSelection > OdSmartPtr< OdBcfComponentVisibility > OdSmartPtr< OdBcfComponentColoring > OdSmartPtr< OdBcfHeader > OdSmartPtr< OdBcfTopic > OdSmartPtr< OdBcfProject > OdSmartPtr< OdBcfElement > OdSmartPtr< OdBcfDataAccessor > OdSmartPtr< OdBcfBimSnippet > OdSmartPtr< OdBcfMarkup > OdSmartPtr< OdBcfComponents > OdSmartPtr< OdBcfOrthogonalCamera > OdSmartPtr< OdBcfPerspectiveCamera > OdSmartPtr< OdBcfLines > OdSmartPtr< OdBcfClippingPlanes > OdSmartPtr< OdDb3dProfileData > OdSmartPtr< OdDbEvalGraph > OdSmartPtr< OdDbDimension > OdSmartPtr< OdResBuf > OdSmartPtr< OdGsView > OdSmartPtr< OdDbLayoutManager > OdSmartPtr< OdDbPlotSettingsValidator > OdSmartPtr< OdPwdCache > OdSmartPtr< OdDbDatabase > OdSmartPtr< OdDbOsnapPointRef > OdSmartPtr< OdDbGeomRef > OdSmartPtr< OdGiFill > OdSmartPtr< OdGiAuxiliaryData > OdSmartPtr< OdGiXform > OdSmartPtr< OdGiModelToViewProc > OdSmartPtr< OdGiOrthoClipper > OdSmartPtr< OdGiLinetypeRedir > OdSmartPtr< OdGiConveyorEmbranchment > OdSmartPtr< OdGiClippedGeometryOutputCallback > OdSmartPtr< OdPsPlotStyleTable > OdSmartPtr< OdGiAuxDataForIfc > OdSmartPtr< OdGiExtAccum > OdSmartPtr< OdGiVariant > OdSmartPtr< OdGiHatchPattern > OdSmartPtr< OdGiMaterialTexture > OdSmartPtr< OdGiColorCube > OdSmartPtr< OdGiGrayRamp > OdSmartPtr< OdGiSectionGeometryOutput > OdSmartPtr< OdGiCuttedGeometryOutput > OdSmartPtr< OdGiPointCloudFilter > OdSmartPtr< OdGiRasterImageTexture > OdSmartPtr< OdGiRasterImage > OdSmartPtr< OdFont > OdSmartPtr< OdGiToneOperatorParameters > OdSmartPtr< OdGsBackground > OdSmartPtr< OdGsBackgroundProperties > OdSmartPtr< OdGiMaterialItem > OdSmartPtr< OdGiMapperItem > OdSmartPtr< OdGsMaterialCache > OdSmartPtr< OdGsBaseModelLocalIds > OdSmartPtr< OdGsBaseModule > OdSmartPtr< OdGiContext > OdSmartPtr< OdGiTransientManager > OdSmartPtr< OdGsUpdateManager > OdSmartPtr< OdGsExtAccum > OdSmartPtr< OdGiContextualColors > OdSmartPtr< VpData > OdSmartPtr< OdGsFilerDbLinker > OdSmartPtr< OdGsFiler_SubstitutorImpl > OdSmartPtr< OdGsStateBranchReactor > OdSmartPtr< OdGsCullingVolume > OdSmartPtr< OdGsProperties > OdSmartPtr< OdGsVisualStyleProperties > OdSmartPtr< OdGsRenderEnvironmentProperties > OdSmartPtr< OdGsRenderSettingsProperties > OdSmartPtr< OdIfcGeomModule > OdSmartPtr< OdGiWorldDraw > OdSmartPtr< OdRxClass > OdSmartPtr< OdRxDictionary > OdSmartPtr< OdRxDictionaryIterator > OdSmartPtr< OdTrRndLocalRenditionClient > OdSmartPtr< OdTrRndRenderModule > OdSmartPtr< OdTrVisExtensionObjectInvocation > OdSmartPtr< OdTrVisTexture > OdSmartPtr< OdTrVisRendition > OdSmartPtr< OdTrVisDirectRenderPartialUpdateInvocation > OdSmartPtr< OdTrVisTextureResolver > OdSmartPtr< OdEdCommand > OdSmartPtr< OdDbObject > OdClsIdSmartPtr< ClsIdRetriever, T > OdRxObjectPtr OdSmartPtr< T >

Public Member Functions

OdRxObjectget () const
 
bool isNull () const
 

Protected Member Functions

 OdBaseObjectPtr ()
 
 OdBaseObjectPtr (const OdRxObject *pSource)
 
 OdBaseObjectPtr (OdBaseObjectPtr &&pObject) noexcept
 
OdBaseObjectPtroperator= (OdBaseObjectPtr &&pObject) noexcept
 

Protected Attributes

OdRxObjectm_pObject = nullptr
 

Detailed Description

<group Other_Classes>

This class is the base class for typified smart pointers.

See also
TD_Db
Remarks
Smart pointers relieve the programmer of having to determine when objects are no longer needed, or having to delete them at that time.

Each object referenced by a SmartPointer (henceforth 'referenced object') maintains a reference count; i.e., how many SmartPointers are referencing it. When the reference count reaches zero, the referenced object is deleted.

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

Definition at line 50 of file BaseObjectPtr.h.

Constructor & Destructor Documentation

◆ OdBaseObjectPtr() [1/3]

OdBaseObjectPtr::OdBaseObjectPtr ( )
inlineprotected

Definition at line 57 of file BaseObjectPtr.h.

◆ OdBaseObjectPtr() [2/3]

OdBaseObjectPtr::OdBaseObjectPtr ( const OdRxObject pSource)
inlineexplicitprotected

Definition at line 58 of file BaseObjectPtr.h.

◆ OdBaseObjectPtr() [3/3]

OdBaseObjectPtr::OdBaseObjectPtr ( OdBaseObjectPtr &&  pObject)
inlineprotectednoexcept

Definition at line 61 of file BaseObjectPtr.h.

Member Function Documentation

◆ get()

OdRxObject * OdBaseObjectPtr::get ( ) const
inline

Returns the raw pointer to the referenced object.

Remarks
This class maintains the reference to the referenced object. The reference counter of the referenced object is not changed.

Definition at line 81 of file BaseObjectPtr.h.

◆ isNull()

bool OdBaseObjectPtr::isNull ( ) const
inline

Returns true if and only if the smart pointer stores a NULL.

Definition at line 86 of file BaseObjectPtr.h.

◆ operator=()

OdBaseObjectPtr & OdBaseObjectPtr::operator= ( OdBaseObjectPtr &&  pObject)
inlineprotectednoexcept

Definition at line 66 of file BaseObjectPtr.h.

Member Data Documentation

◆ m_pObject

OdRxObject* OdBaseObjectPtr::m_pObject = nullptr
protected

Definition at line 54 of file BaseObjectPtr.h.


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