CFx SDK Documentation 2024 SP0
|
#include <BaseObjectPtr.h>
Public Member Functions | |
OdRxObject * | get () const |
bool | isNull () const |
Protected Member Functions | |
OdBaseObjectPtr () | |
OdBaseObjectPtr (const OdRxObject *pSource) | |
OdBaseObjectPtr (OdBaseObjectPtr &&pObject) noexcept | |
OdBaseObjectPtr & | operator= (OdBaseObjectPtr &&pObject) noexcept |
Protected Attributes | |
OdRxObject * | m_pObject = nullptr |
<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 57 of file BaseObjectPtr.h.
|
inlineexplicitprotected |
Definition at line 58 of file BaseObjectPtr.h.
|
inlineprotectednoexcept |
Definition at line 61 of file BaseObjectPtr.h.
|
inline |
Returns the raw pointer to the referenced object.
Definition at line 81 of file BaseObjectPtr.h.
|
inline |
Returns true if and only if the smart pointer stores a NULL.
Definition at line 86 of file BaseObjectPtr.h.
|
inlineprotectednoexcept |
Definition at line 66 of file BaseObjectPtr.h.
|
protected |
Definition at line 54 of file BaseObjectPtr.h.