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 ptrCount, and ptrObject.
Referenced by operator=(), and Pointer().
|
inline |
|
inlinevirtual |
References ptrDetach().
|
inline |
References ptrObject.
|
inline |
References ptrCount.
|
inline |
References ptrObject.
|
inline |
|
inline |
References ptrCount.
|
inline |
References ptrObject.
|
inline |
References Pointer(), ptrCount, ptrDetach(), and ptrObject.
|
inlineprotected |
References ptrCount, and ptrObject.
Referenced by operator=(), and ~Pointer().
|
protected |
Referenced by operator!(), operator--(), operator=(), Pointer(), Pointer(), and ptrDetach().
|
protected |
Referenced by getObject(), operator*(), operator->(), operator=(), Pointer(), Pointer(), and ptrDetach().