ANTLR Support Libraries 2.7.1+
Public Member Functions | Public Attributes | Private Member Functions | List of all members
RefCount< T >::Ref Struct Reference

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

Constructor & Destructor Documentation

◆ Ref() [1/2]

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

◆ ~Ref()

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

◆ Ref() [2/2]

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

Member Function Documentation

◆ decrement()

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

◆ increment()

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

◆ operator=()

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

Member Data Documentation

◆ count

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

◆ ptr

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

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