Base owning pointer. Base class used by OwningPointer. More...
Base owning pointer. Base class used by OwningPointer.
T | Type of the pointer. |
Public Member Methods | |
T * | GetPointer () const |
Gets the owned object pointer. More... | |
T * | DetachPointer () |
Gets the owned object pointer and detach it from this owner. More... | |
T & | operator* () const |
Indirection operator. More... | |
T * | operator-> () const |
Gets the owned object pointer. More... | |
bool | operator== (T *right) const |
Equality operator. More... | |
bool | operator!= (T *right) const |
Not Equality operator. More... | |
Public Attributes | |
T * | __internalTarget |
The internal target More... | |
T * DetachPointer | ( | ) |
Gets the owned object pointer and detach it from this owner.
T * GetPointer | ( | ) | const |
Gets the owned object pointer.
bool operator!= | ( | T * | right | ) | const |
Not Equality operator.
right | [in,out] Object pointer |
T & operator* | ( | ) | const |
Indirection operator.
T * operator-> | ( | ) | const |
Gets the owned object pointer.
bool operator== | ( | T * | right | ) | const |
Equality operator.
right | [in,out] Object pointer. |
T* __internalTarget |
The internal target
Do not use directly, but only through macro OWNING_POINTER_FAST_ACCESS