#include <bayonne.h>
Public Member Functions | |
DynamicKeydata (const char *keypath, Keydata::Define *def=NULL, const char *homepath=NULL) | |
const char * | getString (const char *key, char *buf, size_t size) |
long | getValue (const char *key) |
bool | isKey (const char *key) |
bool | getBoolean (const char *key) |
Static Public Member Functions | |
static void | reload (void) |
Protected Member Functions | |
virtual void | updateConfig (Keydata *keydata) |
Friends | |
class __EXPORT | BayonneConfig |
class __EXPORT | ReconfigKeydata |
This class is used for keydata items which can be reloaded from the config file during runtime. The normal Bayonne "reload" operatio will be used for this purpose.
ost::DynamicKeydata::DynamicKeydata | ( | const char * | keypath, | |
Keydata::Define * | def = NULL , |
|||
const char * | homepath = NULL | |||
) |
virtual void ost::DynamicKeydata::updateConfig | ( | Keydata * | keydata | ) | [protected, virtual] |
const char* ost::DynamicKeydata::getString | ( | const char * | key, | |
char * | buf, | |||
size_t | size | |||
) |
Reimplemented in ost::ReconfigKeydata.
long ost::DynamicKeydata::getValue | ( | const char * | key | ) |
Reimplemented in ost::ReconfigKeydata.
bool ost::DynamicKeydata::isKey | ( | const char * | key | ) |
Reimplemented in ost::ReconfigKeydata.
bool ost::DynamicKeydata::getBoolean | ( | const char * | key | ) |
Reimplemented in ost::ReconfigKeydata.
static void ost::DynamicKeydata::reload | ( | void | ) | [static] |
Reimplemented in ost::BayonneDriver.
friend class __EXPORT BayonneConfig [friend] |
friend class __EXPORT ReconfigKeydata [friend] |