OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
antlr::ASTRef Struct Reference

Public Member Functions

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

Static Public Member Functions

static ASTRefgetRef (const AST *p)
 

Public Attributes

AST *const ptr
 
unsigned int count
 

Detailed Description

Definition at line 19 of file ASTRefCount.hpp.

Constructor & Destructor Documentation

◆ ASTRef()

antlr::ASTRef::ASTRef ( AST * p)

Definition at line 14 of file ASTRefCount.cpp.

◆ ~ASTRef()

antlr::ASTRef::~ASTRef ( )

Definition at line 21 of file ASTRefCount.cpp.

Member Function Documentation

◆ decrement()

bool antlr::ASTRef::decrement ( )
inline

Definition at line 31 of file ASTRefCount.hpp.

◆ getRef()

ASTRef * antlr::ASTRef::getRef ( const AST * p)
static

Definition at line 26 of file ASTRefCount.cpp.

◆ increment()

ASTRef * antlr::ASTRef::increment ( )
inline

Definition at line 26 of file ASTRefCount.hpp.

Member Data Documentation

◆ count

unsigned int antlr::ASTRef::count

Definition at line 22 of file ASTRefCount.hpp.

◆ ptr

AST* const antlr::ASTRef::ptr

Definition at line 21 of file ASTRefCount.hpp.


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