Parses a text configuration file
Inheritance:
Public Methods
-
ConfigParser(void)
- Default Constructor
-
~ConfigParser()
-
-
bool parseFile(const char* filename)
-
-
bool parseTokens(const string key, const string value)
-
-
System* buildSystem()
- Constructs a simulated system based on the tokens extracted from the configuration file.
Inherited from Parser:
Protected Methods
-
bool openFile(const char* filename)
-
bool eraseComments(string& line)
-
bool isBlankLine(string& line)
-
void filterToken(string& token)
-
bool closeFile()
Documentation
Parses a text configuration file
ConfigParser(void)
-
~ConfigParser()
-
bool parseFile(const char* filename)
-
bool parseTokens(const string key, const string value)
-
System* buildSystem()
-
When this function is called, it is assumed that parseFile has been
called and successfully executed.
- This class has no child classes.
- Author:
- John Oleszkiewicz
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.