ANTLR Support Libraries 2.7.1+
Public Member Functions | Private Attributes | List of all members
TokenRefCount< T > Class Template Reference

#include <TokenRefCount.hpp>

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

Public Member Functions

 TokenRefCount (const Token *p=0)
 
 TokenRefCount (const TokenRefCount< T > &other)
 
 ~TokenRefCount ()
 
TokenRefCount< T > & operator= (Token *other)
 
TokenRefCount< T > & operator= (const TokenRefCount< T > &other)
 
 operator T* () const
 
T * operator-> () const
 
T * get () const
 

Private Attributes

TokenRefref
 

Constructor & Destructor Documentation

◆ TokenRefCount() [1/2]

template<class T>
TokenRefCount< T >::TokenRefCount ( const Token p = 0)
inline

◆ TokenRefCount() [2/2]

template<class T>
TokenRefCount< T >::TokenRefCount ( const TokenRefCount< T > &  other)
inline

◆ ~TokenRefCount()

template<class T>
TokenRefCount< T >::~TokenRefCount ( )
inline

Member Function Documentation

◆ get()

template<class T>
T* TokenRefCount< T >::get ( ) const
inline

◆ operator T*()

template<class T>
TokenRefCount< T >::operator T* ( ) const
inline

◆ operator->()

template<class T>
T* TokenRefCount< T >::operator-> ( ) const
inline

◆ operator=() [1/2]

template<class T>
TokenRefCount<T>& TokenRefCount< T >::operator= ( Token other)
inline

◆ operator=() [2/2]

template<class T>
TokenRefCount<T>& TokenRefCount< T >::operator= ( const TokenRefCount< T > &  other)
inline

Member Data Documentation

◆ ref

template<class T>
TokenRef* TokenRefCount< T >::ref
private

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