OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
The parser class used by the OPAL tracking module. More...
#include <TrackParser.h>
Public Member Functions | |
TrackParser () | |
virtual | ~TrackParser () |
![]() | |
OpalParser () | |
virtual | ~OpalParser () |
virtual void | parse (Statement &) const |
Parse and execute current statement. More... | |
virtual Statement * | readStatement (TokenStream *) const |
Read complete statement from a token stream. More... | |
virtual void | run () const |
Read current stream. More... | |
virtual void | run (TokenStream *) const |
Read given stream. More... | |
void | stop () const |
Set stop flag. More... | |
![]() | |
Parser () | |
virtual | ~Parser () |
Protected Member Functions | |
virtual Object * | find (const std::string &) const |
Find object by name in the track command directory. More... | |
![]() | |
void | execute (Object *, const std::string &) const |
Execute or check the current command. More... | |
virtual void | parseAction (Statement &) const |
Parse executable command. More... | |
virtual void | parseAssign (Statement &) const |
Parse assignment statement. More... | |
virtual void | parseDefine (Statement &) const |
Parse definition. More... | |
virtual void | parseEnd (Statement &) const |
Check for end of statement. More... | |
virtual void | parseMacro (const std::string &name, Statement &) const |
Parse macro definition or call. More... | |
virtual void | printHelp (const std::string &) const |
Print help on named command. More... | |
Private Member Functions | |
TrackParser (const TrackParser &) | |
void | operator= (const TrackParser &) |
Private Attributes | |
Directory | trackDirectory |
Additional Inherited Members | |
![]() | |
static Token | readToken () |
Return next input token. More... | |
The parser class used by the OPAL tracking module.
Definition at line 32 of file TrackParser.h.
TrackParser::TrackParser | ( | ) |
Definition at line 30 of file TrackParser.cpp.
References Directory::insert(), and trackDirectory.
|
virtual |
Definition at line 40 of file TrackParser.cpp.
|
private |
|
protectedvirtual |
Find object by name in the track command directory.
Reimplemented from OpalParser.
Definition at line 44 of file TrackParser.cpp.
References Directory::find(), and trackDirectory.
|
private |
|
private |
Definition at line 51 of file TrackParser.h.
Referenced by find(), and TrackParser().