![]() |
AmpTools
|
#include <ConfigFileParser.h>
Public Member Functions | |
| ConfigFileLine (const string &fileName, int lineNumber, const string &line) | |
| string | line () const |
| string | fileName () const |
| int | lineNumber () const |
| string | keyword () const |
| vector< string > | arguments () const |
| bool | comment () const |
| void | printLine () const |
| void | printArguments () const |
| void | flushDefinition (const string &word, const vector< string > &definition) |
The ConfigFileLine class holds a line of a parsed config file.
A line of the config file has the form:
keyword argument1 argument2 argument3 .....
comment() = true for lines starting with # or empty lines
Definition at line 259 of file ConfigFileParser.h.
| ConfigFileLine::ConfigFileLine | ( | const string & | fileName, |
| int | lineNumber, | ||
| const string & | line | ||
| ) |
Definition at line 807 of file ConfigFileParser.cc.
|
inline |
|
inline |
Definition at line 271 of file ConfigFileParser.h.
|
inline |
Definition at line 267 of file ConfigFileParser.h.
| void ConfigFileLine::flushDefinition | ( | const string & | word, |
| const vector< string > & | definition | ||
| ) |
Definition at line 856 of file ConfigFileParser.cc.
|
inline |
|
inline |
Definition at line 266 of file ConfigFileParser.h.
|
inline |
Definition at line 268 of file ConfigFileParser.h.
|
inline |
Definition at line 277 of file ConfigFileParser.h.
|
inline |