#include "AnyConfig.h"
#include "anycfg.h"
Namespaces | |
namespace | AnyConfig |
Functions | |
void | acfInit () |
Must be called before any acfXXX function is used. More... | |
void | acfTerm () |
May only be called after all ANYCFG_H handles have been closed. More... | |
ANYCFG_H | acfOpen (int argn, char *argv[]) |
Open whatever configuration we can find. More... | |
long | acfGetLong (ANYCFG_H cfgHdl, char *key) |
Get an integer value from the configuration. More... | |
int | acfGetBool (ANYCFG_H cfgHdl, char *key) |
Get an boolean (yes/no) value from the configuration. More... | |
double | acfGetNumber (ANYCFG_H cfgHdl, char *key) |
Get an floating point value from the configuration. More... | |
int | acfGetStr (ANYCFG_H cfgHdl, char *key, char *val) |
Get a string value from the configuration. More... | |
void | acfClose (ANYCFG_H cfgHdl) |
Close a configuration. More... | |
Variables | |
bool | acfInited = false |
check that acfInit was called. More... |
|
Close a configuration.
|
|
Get an boolean (yes/no) value from the configuration.
|
|
Get an integer value from the configuration.
|
|
Get an floating point value from the configuration.
|
|
Get a string value from the configuration.
|
|
Must be called before any acfXXX function is used.
|
|
Open whatever configuration we can find.
|
|
May only be called after all ANYCFG_H handles have been closed.
|
|
check that acfInit was called.
|