OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
antlr::TokenRef Struct Reference

Public Member Functions

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

Static Public Member Functions

static TokenRefgetRef (const Token *p)
 

Public Attributes

Token *const ptr
 
unsigned int count
 

Detailed Description

Definition at line 19 of file TokenRefCount.hpp.

Constructor & Destructor Documentation

◆ TokenRef()

antlr::TokenRef::TokenRef ( Token * p)

Definition at line 14 of file TokenRefCount.cpp.

◆ ~TokenRef()

antlr::TokenRef::~TokenRef ( )

Definition at line 21 of file TokenRefCount.cpp.

Member Function Documentation

◆ decrement()

bool antlr::TokenRef::decrement ( )
inline

Definition at line 31 of file TokenRefCount.hpp.

◆ getRef()

TokenRef * antlr::TokenRef::getRef ( const Token * p)
static

Definition at line 26 of file TokenRefCount.cpp.

◆ increment()

TokenRef * antlr::TokenRef::increment ( )
inline

Definition at line 26 of file TokenRefCount.hpp.

Member Data Documentation

◆ count

unsigned int antlr::TokenRef::count

Definition at line 22 of file TokenRefCount.hpp.

◆ ptr

Token* const antlr::TokenRef::ptr

Definition at line 21 of file TokenRefCount.hpp.


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