GClasses
|
A reference-counting smart-pointer. More...
#include <GHolders.h>
Public Member Functions | |
smart_ptr () | |
smart_ptr (const smart_ptr &other) | |
template<class S > | |
smart_ptr (S *pThat) | |
~smart_ptr () | |
smart_ptr & | operator= (const smart_ptr &that) |
template<class S > | |
smart_ptr & | operator= (S *pThat) |
T & | operator* () const |
T * | operator-> () const |
T * | get () const |
void | reset () |
size_t | refCount () |
Protected Attributes | |
smart_ptr_ref_counter< T > * | m_pRefCounter |
A reference-counting smart-pointer.
GClasses::smart_ptr< T >::smart_ptr | ( | ) | [inline] |
GClasses::smart_ptr< T >::smart_ptr | ( | const smart_ptr< T > & | other | ) | [inline] |
GClasses::smart_ptr< T >::~smart_ptr | ( | ) | [inline] |
T* GClasses::smart_ptr< T >::get | ( | ) | const [inline] |
T& GClasses::smart_ptr< T >::operator* | ( | ) | const [inline] |
T* GClasses::smart_ptr< T >::operator-> | ( | ) | const [inline] |
smart_ptr& GClasses::smart_ptr< T >::operator= | ( | S * | pThat | ) | [inline] |
smart_ptr& GClasses::smart_ptr< T >::operator= | ( | const smart_ptr< T > & | that | ) | [inline] |
size_t GClasses::smart_ptr< T >::refCount | ( | ) | [inline] |
void GClasses::smart_ptr< T >::reset | ( | ) | [inline] |
smart_ptr_ref_counter<T>* GClasses::smart_ptr< T >::m_pRefCounter [protected] |