|
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.
reference counted pointer template.
|
inlineexplicit |
References ost::Pointer< T >::ptrCount.
|
inline |
References ost::Pointer< T >::ptrCount, and ost::Pointer< T >::ptrObject.
|
inlinevirtual |
References ost::Pointer< T >::ptrDetach().
|
inline |
References ost::Pointer< T >::ptrObject.
|
inline |
References ost::Pointer< T >::ptrCount.
|
inline |
References ost::Pointer< T >::ptrObject.
|
inline |
|
inline |
References ost::Pointer< T >::ptrCount.
|
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 |
|
protected |