Public Member Functions | |
TReferenceCounted (T counted) | |
TReferenceCounted (const TReferenceCounted &rhs) | |
TReferenceCounted & | operator= (const TReferenceCounted &rhs) |
const T & | GetCounted () const |
T & | GetCounted () |
operator T & () const | |
operator T * () const | |
B * | AddRef () |
B * | Release () |
Static Public Member Functions | |
static B * | Copy (B *pRefCounted) |
Protected Member Functions | |
virtual void | PreRelease ()=0 |
virtual | ~TReferenceCounted () |
Protected Attributes | |
T | m_counted |
TReferenceCounted | ( | T | counted | ) | [inline, explicit] |
TReferenceCounted | ( | const TReferenceCounted< T, B > & | rhs | ) |
~TReferenceCounted | ( | ) | [inline, protected, virtual] |
TReferenceCounted& operator= | ( | const TReferenceCounted< T, B > & | rhs | ) |
const T & GetCounted | ( | ) | const [inline] |
T & GetCounted | ( | ) | [inline] |
operator T & | ( | ) | const [inline, explicit] |
operator T * | ( | ) | const [inline, explicit] |
B * AddRef | ( | ) | [inline] |
B * Release | ( | ) | [inline] |
virtual void PreRelease | ( | ) | [protected, pure virtual] |
T m_counted [protected] |