Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

RefCounted< T > Class Template Reference

#include <RefCounted.h>

List of all members.

Public Member Functions

 RefCounted (T *ptr=NULL)
 RefCounted (const RefCounted &other)
 ~RefCounted ()
void operator= (const RefCounted &other)
 operator T * ()
 operator const T * () const
T * ptr ()
const T * ptr () const
T * operator-> ()
const T * operator-> () const

Private Member Functions

void release ()

Private Attributes

T * m_ptr
size_t * m_nRefs

template<typename T>
class RefCounted< T >


Constructor & Destructor Documentation

template<typename T>
RefCounted< T >::RefCounted T *  ptr = NULL  )  [inline]
 

template<typename T>
RefCounted< T >::RefCounted const RefCounted< T > &  other  )  [inline]
 

template<typename T>
RefCounted< T >::~RefCounted  )  [inline]
 


Member Function Documentation

template<typename T>
RefCounted< T >::operator const T *  )  const [inline]
 

template<typename T>
RefCounted< T >::operator T *  )  [inline]
 

template<typename T>
const T* RefCounted< T >::operator->  )  const [inline]
 

template<typename T>
T* RefCounted< T >::operator->  )  [inline]
 

template<typename T>
void RefCounted< T >::operator= const RefCounted< T > &  other  )  [inline]
 

template<typename T>
const T* RefCounted< T >::ptr  )  const [inline]
 

template<typename T>
T* RefCounted< T >::ptr  )  [inline]
 

template<typename T>
void RefCounted< T >::release  )  [inline, private]
 


Member Data Documentation

template<typename T>
size_t* RefCounted< T >::m_nRefs [mutable, private]
 

template<typename T>
T* RefCounted< T >::m_ptr [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Jun 16 00:13:15 2005 for Netlib for Abuse! by  doxygen 1.4.3