#include <configfile.h>
|
| ConfigFile () |
|
| ConfigFile (const char *configFile) |
|
| ConfigFile (const std::string &configFile) |
|
void | dumpValues (std::ostream &out) |
|
bool | read (const char *configFile) |
|
bool | read (const std::string &configFile) |
|
const AutoVal & | value (const std::string §ion, const std::string &entry) const |
|
const AutoVal & | value (const std::string §ion, const std::string &entry, bool def) |
|
const AutoVal & | value (const std::string §ion, const std::string &entry, const char *def) |
|
const AutoVal & | value (const std::string §ion, const std::string &entry, const std::string &def) |
|
const AutoVal & | value (const std::string §ion, const std::string &entry, double def) |
|
const AutoVal & | value (const std::string §ion, const std::string &entry, int def) |
|
const AutoVal & | value (const std::string §ion, const std::string &entry, unsigned int def) |
|
|
void | insertValue (const std::string §ion, const std::string &entry, const std::string &thevalue) |
|
std::string | toLower (const std::string &source) const |
|
std::string | trim (const std::string &source, char const *delims=" \t\r\n") const |
|
std::string | truncate (const std::string &source, const char *atChar) const |
|
Definition at line 85 of file configfile.h.
◆ ConfigFile() [1/3]
GMapping::ConfigFile::ConfigFile |
( |
| ) |
|
◆ ConfigFile() [2/3]
GMapping::ConfigFile::ConfigFile |
( |
const std::string & |
configFile | ) |
|
◆ ConfigFile() [3/3]
GMapping::ConfigFile::ConfigFile |
( |
const char * |
configFile | ) |
|
◆ dumpValues()
void GMapping::ConfigFile::dumpValues |
( |
std::ostream & |
out | ) |
|
◆ insertValue()
void GMapping::ConfigFile::insertValue |
( |
const std::string & |
section, |
|
|
const std::string & |
entry, |
|
|
const std::string & |
thevalue |
|
) |
| |
|
protected |
◆ read() [1/2]
bool GMapping::ConfigFile::read |
( |
const char * |
configFile | ) |
|
◆ read() [2/2]
bool GMapping::ConfigFile::read |
( |
const std::string & |
configFile | ) |
|
◆ toLower()
std::string GMapping::ConfigFile::toLower |
( |
const std::string & |
source | ) |
const |
|
protected |
◆ trim()
std::string GMapping::ConfigFile::trim |
( |
const std::string & |
source, |
|
|
char const * |
delims = " \t\r\n" |
|
) |
| const |
|
protected |
◆ truncate()
std::string GMapping::ConfigFile::truncate |
( |
const std::string & |
source, |
|
|
const char * |
atChar |
|
) |
| const |
|
protected |
◆ value() [1/7]
const AutoVal & GMapping::ConfigFile::value |
( |
const std::string & |
section, |
|
|
const std::string & |
entry |
|
) |
| const |
◆ value() [2/7]
const AutoVal & GMapping::ConfigFile::value |
( |
const std::string & |
section, |
|
|
const std::string & |
entry, |
|
|
bool |
def |
|
) |
| |
◆ value() [3/7]
const AutoVal & GMapping::ConfigFile::value |
( |
const std::string & |
section, |
|
|
const std::string & |
entry, |
|
|
const char * |
def |
|
) |
| |
◆ value() [4/7]
const AutoVal & GMapping::ConfigFile::value |
( |
const std::string & |
section, |
|
|
const std::string & |
entry, |
|
|
const std::string & |
def |
|
) |
| |
◆ value() [5/7]
const AutoVal & GMapping::ConfigFile::value |
( |
const std::string & |
section, |
|
|
const std::string & |
entry, |
|
|
double |
def |
|
) |
| |
◆ value() [6/7]
const AutoVal & GMapping::ConfigFile::value |
( |
const std::string & |
section, |
|
|
const std::string & |
entry, |
|
|
int |
def |
|
) |
| |
◆ value() [7/7]
const AutoVal & GMapping::ConfigFile::value |
( |
const std::string & |
section, |
|
|
const std::string & |
entry, |
|
|
unsigned int |
def |
|
) |
| |
◆ m_content
std::map<std::string,AutoVal> GMapping::ConfigFile::m_content |
|
private |
The documentation for this class was generated from the following files: