KDevelop API Documentation

RefCount< T >::Ref Struct Reference

List of all members.

Public Member Functions

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

Public Attributes

T *const ptr
unsigned int count

Private Member Functions

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

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


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>
bool RefCount< T >::Ref::decrement  )  [inline]
 

Definition at line 26 of file RefCount.hpp.

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>
Ref& RefCount< T >::Ref::operator= const Ref  )  [private]
 


Member Data Documentation

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

Definition at line 21 of file RefCount.hpp.

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

Definition at line 20 of file RefCount.hpp.


The documentation for this struct was generated from the following file:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:06 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003