GNU CommonC++
|
Used to create and manage referece counted pointers. More...
#include <pointer.h>
Public Member Functions | |
Pointer (T *ptr=NULL) | |
Pointer (const Pointer< T > &ref) | |
virtual | ~Pointer () |
Pointer & | operator= (const Pointer< T > &ref) |
T & | operator* () const |
T * | getObject () const |
T * | operator-> () const |
bool | operator! () const |
int | operator++ () const |
int | operator-- () const |
Protected Member Functions | |
void | ptrDetach (void) |
Protected Attributes | |
unsigned * | ptrCount |
T * | ptrObject |
Used to create and manage referece counted pointers.
|
inlineexplicit |
|
inline |
References ost::Pointer< T >::ptrCount, and ost::Pointer< T >::ptrObject.
|
inlinevirtual |
References ost::Pointer< T >::ptrDetach().
|
inline |
References ost::Pointer< T >::ptrObject.
|
inline |
|
inline |
References ost::Pointer< T >::ptrObject.
|
inline |
|
inline |
|
inline |
References ost::Pointer< T >::ptrObject.
|
inline |
|
inlineprotected |
References ost::Pointer< T >::ptrCount, and ost::Pointer< T >::ptrObject.
Referenced by ost::Pointer< T >::operator=(), and ost::Pointer< T >::~Pointer().
|
protected |
Referenced by ost::Pointer< T >::operator=(), ost::Pointer< T >::Pointer(), and ost::Pointer< T >::ptrDetach().
|
protected |