UCommon
Public Member Functions | Protected Member Functions | Protected Attributes
ost::Pointer< T > Class Template Reference

Used to create and manage referece counted pointers. More...

#include <pointer.h>

Public Member Functions

T * getObject () const
 
T & operator * () const
 
 operator bool () const
 
bool operator! () const
 
int operator++ () const
 
int operator-- () const
 
T * operator-> () const
 
Pointeroperator= (const Pointer< T > &ref)
 
 Pointer (T *ptr=NULL)
 
 Pointer (const Pointer< T > &ref)
 

Protected Member Functions

void ptrDetach (void)
 

Protected Attributes

unsigned * ptrCount
 
T * ptrObject
 

Detailed Description

template<class T>
class ost::Pointer< T >

Used to create and manage referece counted pointers.

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org reference counted pointer template.

Definition at line 63 of file pointer.h.


The documentation for this class was generated from the following file: