ASTRef Struct Reference

#include <ASTRefCount.hpp>

Collaboration diagram for ASTRef:

Collaboration graph

Public Member Functions

 ASTRef (AST *p)
 ~ASTRef ()
ASTRefincrement ()
bool decrement ()

Static Public Member Functions

static ASTRefgetRef (const AST *p)

Data Fields

AST *const ptr
unsigned int count

Private Member Functions

 ASTRef (const ASTRef &)
ASTRefoperator= (const ASTRef &)

Detailed Description

Definition at line 19 of file ASTRefCount.hpp.

Constructor & Destructor Documentation

ASTRef::ASTRef ( AST p  ) 

ASTRef::~ASTRef (  ) 

ASTRef::ASTRef ( const ASTRef  )  [private]

Member Function Documentation

ASTRef* ASTRef::increment (  )  [inline]

Definition at line 26 of file ASTRefCount.hpp.

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

bool ASTRef::decrement (  )  [inline]

Definition at line 31 of file ASTRefCount.hpp.

static ASTRef* ASTRef::getRef ( const AST p  )  [static]

ASTRef& ASTRef::operator= ( const ASTRef  )  [private]

Field Documentation

AST* const ASTRef::ptr

Definition at line 21 of file ASTRefCount.hpp.

unsigned int ASTRef::count

Definition at line 22 of file ASTRefCount.hpp.

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

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