TokenRef Struct Reference

#include <TokenRefCount.hpp>

Collaboration diagram for TokenRef:

Collaboration graph

Public Member Functions

 TokenRef (Token *p)
 ~TokenRef ()
TokenRefincrement ()
bool decrement ()

Static Public Member Functions

static TokenRefgetRef (const Token *p)

Data Fields

Token *const ptr
unsigned int count

Private Member Functions

 TokenRef (const TokenRef &)
TokenRefoperator= (const TokenRef &)

Detailed Description

Definition at line 19 of file TokenRefCount.hpp.

Constructor & Destructor Documentation

TokenRef::TokenRef ( Token p  ) 

TokenRef::~TokenRef (  ) 

TokenRef::TokenRef ( const TokenRef  )  [private]

Member Function Documentation

TokenRef* TokenRef::increment (  )  [inline]

Definition at line 26 of file TokenRefCount.hpp.

Referenced by TokenRefCount< Token >::operator=().

bool TokenRef::decrement (  )  [inline]

Definition at line 31 of file TokenRefCount.hpp.

static TokenRef* TokenRef::getRef ( const Token p  )  [static]

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

Field Documentation

Definition at line 21 of file TokenRefCount.hpp.

unsigned int TokenRef::count

Definition at line 22 of file TokenRefCount.hpp.

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

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