|
UCommon
|
Generic smart pointer class. More...
#include <generics.h>
Public Member Functions | |
| operator bool () const | |
| bool | operator! () const |
| T & | operator* () const |
| T * | operator-> () const |
| pointer & | operator= (const pointer< T > &ref) |
| pointer & | operator= (T *ptr) |
| pointer (const pointer< T > &ref) | |
| pointer (T *ptr=NULL) | |
| void | release (void) |
| void | retain (void) |
| void | set (const pointer< T > &ref) |
| void | set (T *ptr) |
Protected Attributes | |
| unsigned * | counter |
| T * | object |
Generic smart pointer class.
This is the original Common C++ "Pointer" class with a few additions.
Definition at line 54 of file generics.h.