ANTLR Support Libraries 2.7.1+
Classes | Public Member Functions | Private Attributes

RefCount< T > Class Template Reference

#include <RefCount.hpp>

Collaboration diagram for RefCount< T >:
Collaboration graph
[legend]

List of all members.

Classes

struct  Ref

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

template<class T>
class RefCount< T >


Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

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

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines