BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
GMAD::SymbolMap Class Reference

Class that hold the symbol table. More...

#include <symbolmap.h>

Collaboration diagram for GMAD::SymbolMap:
Collaboration graph

Public Member Functions

void clear ()
 Destructor that clears memory.
 
Symtabsymcreate (std::string s)
 Create new parser symbol.
 
Symtabsymlook (std::string s)
 Look up parser symbol.
 

Private Attributes

std::map< std::string, Symtab * > symtab_map
 Parser symbol map.
 

Detailed Description

Class that hold the symbol table.

Definition at line 33 of file symbolmap.h.

Member Function Documentation

◆ clear()

void SymbolMap::clear ( )

Destructor that clears memory.

Definition at line 48 of file symbolmap.cc.

References symtab_map.

Referenced by GMAD::Parser::ParseFile().

Here is the caller graph for this function:

◆ symcreate()

Symtab * SymbolMap::symcreate ( std::string  s)

Create new parser symbol.

Definition at line 28 of file symbolmap.cc.

References symtab_map.

Referenced by GMAD::Parser::add_func(), and GMAD::Parser::symcreate().

Here is the caller graph for this function:

◆ symlook()

Symtab * SymbolMap::symlook ( std::string  s)

Look up parser symbol.

Definition at line 42 of file symbolmap.cc.

References symtab_map.

Referenced by GMAD::Parser::symlook().

Here is the caller graph for this function:

Field Documentation

◆ symtab_map

std::map<std::string, Symtab*> GMAD::SymbolMap::symtab_map
private

Parser symbol map.

Definition at line 44 of file symbolmap.h.

Referenced by clear(), symcreate(), and symlook().


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