Used to create and manage referece counted pointers.
#include <pointer.h>
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
void ptrDetach (void)
unsigned * ptrCount
T * ptrObject
Used to create and manage referece counted pointers.
Author:
David Sugar [email protected] reference counted pointer template.
References ost::Pointer< T >::ptrCount.
References ost::Pointer< T >::ptrCount, and ost::Pointer< T >::ptrObject.
References ost::Pointer< T >::ptrDetach().
References ost::Pointer< T >::ptrObject.
References ost::Pointer< T >::ptrCount.
References ost::Pointer< T >::ptrObject.
References ost::Pointer< T >::ptrCount.
References ost::Pointer< T >::ptrObject.
References ost::Pointer< T >::ptrCount, ost::Pointer< T >::ptrDetach(), and ost::Pointer< T >::ptrObject.
References ost::Pointer< T >::ptrCount, and ost::Pointer< T >::ptrObject.
Referenced by ost::Pointer< T >::operator=(), and ost::Pointer< T >::~Pointer().
Referenced by ost::Pointer< T >::operator!(), ost::Pointer< T >::operator--(), ost::Pointer< T >::operator=(), ost::Pointer< T >::Pointer(), and ost::Pointer< T >::ptrDetach().
Referenced by ost::Pointer< T >::getObject(), ost::Pointer< T >::operator*(), ost::Pointer< T >::operator->(), ost::Pointer< T >::operator=(), ost::Pointer< T >::Pointer(), and ost::Pointer< T >::ptrDetach().
Generated automatically by Doxygen for GNU CommonC++ from the source code.