RefCount< T >::Ref Struct Reference


Public Member Functions

 Ref (T *p)
 ~Ref ()
Refincrement ()
bool decrement ()

Data Fields

T *const ptr
unsigned int count

Private Member Functions

 Ref (const Ref &)
Refoperator= (const Ref &)

Detailed Description

template<class T>
struct RefCount< T >::Ref

Definition at line 19 of file RefCount.hpp.


Constructor & Destructor Documentation

template<class T>
RefCount< T >::Ref::Ref ( T *  p  )  [inline]

Definition at line 23 of file RefCount.hpp.

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

Definition at line 24 of file RefCount.hpp.

template<class T>
RefCount< T >::Ref::Ref ( const Ref  )  [private]


Member Function Documentation

template<class T>
Ref* RefCount< T >::Ref::increment (  )  [inline]

Definition at line 25 of file RefCount.hpp.

Referenced by RefCount< TreeParserInputState >::operator=().

template<class T>
bool RefCount< T >::Ref::decrement (  )  [inline]

Definition at line 26 of file RefCount.hpp.

template<class T>
Ref& RefCount< T >::Ref::operator= ( const Ref  )  [private]


Field Documentation

template<class T>
T* const RefCount< T >::Ref::ptr

Definition at line 20 of file RefCount.hpp.

template<class T>
unsigned int RefCount< T >::Ref::count

Definition at line 21 of file RefCount.hpp.


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

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