StrongRefPtr
Engine/source/core/util/refBase.h
Reference counted object template pointer class Instances of this template class can be used as pointers to instances of StrongRefBase and its subclasses.
Public Functions
StrongRefPtr(const StrongRefPtr< T > & ref)
StrongRefPtr(T * ptr)
T *
bool
isNull()
bool
isValid()
T *
StrongRefPtr< T > &
operator=(const StrongRefPtr< T > & ref)
StrongRefPtr< T > &
Detailed Description
Reference counted object template pointer class Instances of this template class can be used as pointers to instances of StrongRefBase and its subclasses.
The object will not be deleted until all of the StrongRefPtr instances pointing to it have been destructed.
Public Functions
StrongRefPtr()
StrongRefPtr(const StrongRefPtr< T > & ref)
StrongRefPtr(T * ptr)
~StrongRefPtr()
getPointer()
isNull()
isValid()
operator T*()
operator*()
operator->()
operator=(const StrongRefPtr< T > & ref)
operator=(T * ptr)