ANTLR Support Libraries 2.7.1+
Loading...
Searching...
No Matches
ASTRefCount< T > Class Template Reference

#include <ASTRefCount.hpp>

Collaboration diagram for ASTRefCount< T >:

Public Member Functions

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

Private Attributes

ASTRefref

Constructor & Destructor Documentation

◆ ASTRefCount() [1/2]

template<class T>
ASTRefCount< T >::ASTRefCount ( const AST * p = 0)
inline

◆ ASTRefCount() [2/2]

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

◆ ~ASTRefCount()

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

Member Function Documentation

◆ get()

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

◆ operator T*()

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

◆ operator->()

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

◆ operator=() [1/2]

template<class T>
ASTRefCount< T > & ASTRefCount< T >::operator= ( AST * other)
inline

◆ operator=() [2/2]

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

Member Data Documentation

◆ ref

template<class T>
ASTRef* ASTRefCount< T >::ref
private

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