StrongRefPtr< T > Class Template Reference#include <refBase.h>
Inheritance diagram for 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.
|
Public Member Functions | |
StrongRefPtr () | |
StrongRefPtr (T *ptr) | |
StrongRefPtr (const StrongRefPtr< T > &ref) | |
~StrongRefPtr () | |
StrongRefPtr< T > & | operator= (const StrongRefPtr< T > &ref) |
StrongRefPtr< T > & | operator= (T *ptr) |
bool | isNull () const |
bool | isValid () const |
T * | operator-> () const |
T & | operator * () const |
operator T * () const | |
T * | getPointer () const |
StrongRefPtr< T >::StrongRefPtr | ( | ) | [inline] |
StrongRefPtr< T >::StrongRefPtr | ( | T * | ptr | ) | [inline] |
StrongRefPtr< T >::StrongRefPtr | ( | const StrongRefPtr< T > & | ref | ) | [inline] |
StrongRefPtr< T >::~StrongRefPtr | ( | ) | [inline] |
StrongRefPtr<T>& StrongRefPtr< T >::operator= | ( | const StrongRefPtr< T > & | ref | ) | [inline] |
StrongRefPtr<T>& StrongRefPtr< T >::operator= | ( | T * | ptr | ) | [inline] |
Reimplemented in GFXPrimitiveBufferHandle, GFXTexHandle, GFXVertexBufferHandle< T >, GFXVertexBufferHandle< GFXVertexPN >, GFXVertexBufferHandle< GFXVertexPNTTB >, GFXVertexBufferHandle< GFXVertexPT >, GFXVertexBufferHandle< GFXVertexPC >, GFXVertexBufferHandle< GFXAtlasVert2 >, GFXVertexBufferHandle< GFXVertexFoliage >, and GFXVertexBufferHandle< GFXVertexPCT >.
bool StrongRefPtr< T >::isNull | ( | ) | const [inline] |
bool StrongRefPtr< T >::isValid | ( | ) | const [inline] |
T* StrongRefPtr< T >::operator-> | ( | ) | const [inline] |
T& StrongRefPtr< T >::operator * | ( | ) | const [inline] |
StrongRefPtr< T >::operator T * | ( | ) | const [inline] |
T* StrongRefPtr< T >::getPointer | ( | ) | const [inline] |