RefCount< T > Class Template Reference

#include <RefCount.hpp>

Collaboration diagram for RefCount< T >:

Collaboration graph
[legend]

Public Member Functions

 RefCount (T *p=0)
 RefCount (const RefCount< T > &other)
 ~RefCount ()
RefCount< T > & operator= (const RefCount< T > &other)
 operator T * () const
T * operator-> () const
T * get () const
template<class newType>
 operator RefCount< newType > ()

Private Attributes

struct RefCount::Refref

Data Structures

struct  Ref

Detailed Description

template<class T>
class RefCount< T >

Definition at line 17 of file RefCount.hpp.


Constructor & Destructor Documentation

template<class T>
RefCount< T >::RefCount ( T *  p = 0  )  [inline, explicit]

Definition at line 33 of file RefCount.hpp.

template<class T>
RefCount< T >::RefCount ( const RefCount< T > &  other  )  [inline]

Definition at line 37 of file RefCount.hpp.

template<class T>
RefCount< T >::~RefCount (  )  [inline]

Definition at line 41 of file RefCount.hpp.


Member Function Documentation

template<class T>
RefCount<T>& RefCount< T >::operator= ( const RefCount< T > &  other  )  [inline]

Definition at line 46 of file RefCount.hpp.

template<class T>
RefCount< T >::operator T * (  )  const [inline]

Definition at line 55 of file RefCount.hpp.

template<class T>
T* RefCount< T >::operator-> (  )  const [inline]

Definition at line 60 of file RefCount.hpp.

template<class T>
T* RefCount< T >::get (  )  const [inline]

Definition at line 65 of file RefCount.hpp.

template<class T>
template<class newType>
RefCount< T >::operator RefCount< newType > (  )  [inline]

Definition at line 70 of file RefCount.hpp.


Field Documentation

template<class T>
struct RefCount::Ref* RefCount< T >::ref [private]


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

Generated on Tue Mar 31 20:19:28 2009 for ctrump by  doxygen 1.5.6