#include <Config.h>
Public Member Functions |
| Config (char *fName) |
| ~Config () |
void | getAsString (const char *sectionName, const char *paramName, char *&value, const char *defValue) |
void | getAsInt (const char *sectionName, const char *paramName, int &value, int defValue) |
void | getAsUnsigned (const char *sectionName, const char *paramName, unsigned int &value, unsigned int defValue) |
void | getAsInt64 (const char *sectionName, const char *paramName, u_int64_t &value, u_int64_t defValue) |
void | getAsBool (const char *sectionName, const char *paramName, bool &value, bool defValue) |
void | getAsDouble (const char *sectionName, const char *paramName, double &value, double defValue) |
void | readSection (const char *sectionName, char **&values, int &size) |
bool | isConfigExist () |
void | print () |
Detailed Description
Definition at line 9 of file Config.h.
Constructor & Destructor Documentation
Config::Config |
( |
char * |
fName | ) |
|
Member Function Documentation
void Config::getAsBool |
( |
const char * |
sectionName, |
|
|
const char * |
paramName, |
|
|
bool & |
value, |
|
|
bool |
defValue |
|
) |
| |
void Config::getAsDouble |
( |
const char * |
sectionName, |
|
|
const char * |
paramName, |
|
|
double & |
value, |
|
|
double |
defValue |
|
) |
| |
void Config::getAsInt |
( |
const char * |
sectionName, |
|
|
const char * |
paramName, |
|
|
int & |
value, |
|
|
int |
defValue |
|
) |
| |
void Config::getAsInt64 |
( |
const char * |
sectionName, |
|
|
const char * |
paramName, |
|
|
u_int64_t & |
value, |
|
|
u_int64_t |
defValue |
|
) |
| |
void Config::getAsString |
( |
const char * |
sectionName, |
|
|
const char * |
paramName, |
|
|
char *& |
value, |
|
|
const char * |
defValue |
|
) |
| |
void Config::getAsUnsigned |
( |
const char * |
sectionName, |
|
|
const char * |
paramName, |
|
|
unsigned int & |
value, |
|
|
unsigned int |
defValue |
|
) |
| |
bool Config::isConfigExist |
( |
| ) |
|
void Config::readSection |
( |
const char * |
sectionName, |
|
|
char **& |
values, |
|
|
int & |
size |
|
) |
| |
The documentation for this class was generated from the following files:
- sources/utils/applicationFramework/src/Config.h
- sources/utils/applicationFramework/src/Config.cpp