CFx SDK Documentation
2022 SP0
|
#include <BaseObjectPtr.h>
Public Member Functions | |
OdRxObject * | get () const |
bool | isNull () const |
Protected Member Functions | |
OdBaseObjectPtr () | |
OdBaseObjectPtr (const OdRxObject *pSource) | |
Protected Attributes | |
OdRxObject * | m_pObject |
<group Other_Classes>
This class is the base class for typified smart pointers.
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.
Definition at line 50 of file BaseObjectPtr.h.
|
inlineprotected |
Definition at line 55 of file BaseObjectPtr.h.
|
inlineexplicitprotected |
Definition at line 56 of file BaseObjectPtr.h.
|
inline |
Returns the raw pointer to the referenced object.
Definition at line 65 of file BaseObjectPtr.h.
|
inline |
Returns true if and only if the smart pointer stores a NULL.
Definition at line 70 of file BaseObjectPtr.h.
|
protected |
Definition at line 53 of file BaseObjectPtr.h.