KDevelop API Documentation

RefCount< T > Class Template Reference

#include <RefCount.hpp>

List of all members.

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 ()

Private Attributes

RefCount::Refref

template<class T>
class RefCount< T >


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>
T* RefCount< T >::get  )  const [inline]
 

Definition at line 65 of file RefCount.hpp.

Referenced by TokenStreamHiddenTokenFilter::consumeFirst(), TokenStreamHiddenTokenFilter::getHiddenAfter(), TokenStreamHiddenTokenFilter::getHiddenBefore(), CommonASTWithHiddenTokens::initialize(), and TokenStreamHiddenTokenFilter::nextToken().

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

Definition at line 70 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>
RefCount<T>& RefCount< T >::operator= const RefCount< T > &  other  )  [inline]
 

Definition at line 46 of file RefCount.hpp.


Member Data Documentation

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

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


The documentation for this class 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 Wed Oct 6 17:39:29 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003