ConfigFile Class Reference
List of all members.
Public Member Functions |
|
| ConfigFile (const std::string &fName) |
|
bool | keyExists (const std::string &key) const |
|
template<typename ValueType > |
| ValueType | getValueOfKey (const std::string &key, ValueType const &defaultValue=ValueType()) const |
Private Member Functions |
|
void | removeComment (std::string &line) const |
|
bool | onlyWhitespace (const std::string &line) const |
|
bool | validLine (const std::string &line) const |
|
void | extractKey (std::string &key, size_t const &sepPos, const std::string &line) const |
|
void | extractValue (std::string &value, size_t const &sepPos, const std::string &line) const |
|
void | extractContents (const std::string &line) |
|
void | parseLine (const std::string &line, size_t const lineNo) |
|
void | ExtractKeys () |
Private Attributes |
std::map< std::string,
std::string > | contents |
|
std::string | fName |
Detailed Description
Definition at line 47 of file configParser.hpp.
The documentation for this class was generated from the following file: