|
Public Member Functions |
| uint32 | GetRefCount (void) const |
| | Returns the current reference count.
|
| bool | IsNotValid (void) const |
| | Evaluates to true if the pointer is invalid.
|
| bool | IsValid (void) const |
| | Evaluates to true if the pointer is valid.
|
|
HPtr< T > & | operator= (const HPtr< T > &rhs) throw () |
|
T & | operator * () const throw () |
|
T * | operator-> () const throw () |
|
| HPtr (T *p=NULL) |
|
| HPtr (const HPtr< T > &p) throw () |
Protected Member Functions |
|
void | addRef (void) |
| | Increments the reference count.
|
|
void | delRef (void) |
| | Decrements the reference count, deleting the ptr if it reaches zero.
|
Protected Attributes |
|
T * | m_pT |
| | ptr to the actual data
|
|
uint32 * | m_puRefs |
| | ptr to the reference m_puRefs
|