#include <Unit_ConfigFile.h>
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 |
| std::string | getString (const std::string &key) const |
| int | getInt (const std::string &key) const |
| float | getFloat (const std::string &key) const |
Constructor & Destructor Documentation
| ConfigFile::ConfigFile |
( |
const std::string & |
fName | ) |
[inline] |
Member Function Documentation
| float ConfigFile::getFloat |
( |
const std::string & |
key | ) |
const [inline] |
| int ConfigFile::getInt |
( |
const std::string & |
key | ) |
const [inline] |
| std::string ConfigFile::getString |
( |
const std::string & |
key | ) |
const [inline] |
template<typename ValueType >
| ValueType ConfigFile::getValueOfKey |
( |
const std::string & |
key, |
|
|
ValueType const & |
defaultValue = ValueType() |
|
) |
| const [inline] |
| bool ConfigFile::keyExists |
( |
const std::string & |
key | ) |
const [inline] |
The documentation for this class was generated from the following file: