ASTRefCount< T > Class Template Reference

#include <ASTRefCount.hpp>

Collaboration diagram for ASTRefCount< T >:

Collaboration graph
[legend]

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

Detailed Description

template<class T>
class ASTRefCount< T >

Definition at line 43 of file ASTRefCount.hpp.


Constructor & Destructor Documentation

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

Definition at line 49 of file ASTRefCount.hpp.

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

Definition at line 53 of file ASTRefCount.hpp.

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

Definition at line 57 of file ASTRefCount.hpp.


Member Function Documentation

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

Definition at line 62 of file ASTRefCount.hpp.

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

Definition at line 73 of file ASTRefCount.hpp.

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

Definition at line 87 of file ASTRefCount.hpp.

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

Definition at line 88 of file ASTRefCount.hpp.

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

Definition at line 89 of file ASTRefCount.hpp.


Field Documentation

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

Definition at line 46 of file ASTRefCount.hpp.

Referenced by ASTRefCount< BaseAST >::operator=().


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

Generated on Tue Mar 31 20:19:25 2009 for ctrump by  doxygen 1.5.6