#include <ASTRefCount.hpp>
Public Member Functions | |
ASTRef (AST *p) | |
~ASTRef () | |
ASTRef * | increment () |
bool | decrement () |
Static Public Member Functions | |
static ASTRef * | getRef (const AST *p) |
Data Fields | |
AST *const | ptr |
unsigned int | count |
Private Member Functions | |
ASTRef (const ASTRef &) | |
ASTRef & | operator= (const ASTRef &) |
Definition at line 19 of file ASTRefCount.hpp.
ASTRef::ASTRef | ( | AST * | p | ) |
ASTRef::~ASTRef | ( | ) |
ASTRef::ASTRef | ( | const ASTRef & | ) | [private] |
ASTRef* ASTRef::increment | ( | ) | [inline] |
bool ASTRef::decrement | ( | ) | [inline] |
Definition at line 31 of file ASTRefCount.hpp.
Referenced by ASTRefCount< BaseAST >::operator=().
AST* const ASTRef::ptr |
Definition at line 21 of file ASTRefCount.hpp.
unsigned int ASTRef::count |
Definition at line 22 of file ASTRefCount.hpp.