ost::DynamicKeydata Class Reference
Bayonne specific dynamic keydata class.
More...
#include <bayonne.h>
List of all members.
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 |
Detailed Description
Bayonne specific dynamic keydata class.
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.
- Author:
- David Sugar <dyfet@gnutelephony.org> Dynamically reloadable key data class.
Constructor & Destructor Documentation
| ost::DynamicKeydata::DynamicKeydata |
( |
const char * |
keypath, |
|
|
Keydata::Define * |
def = NULL, |
|
|
const char * |
homepath = NULL | |
|
) |
| | |
Member Function Documentation
| bool ost::DynamicKeydata::getBoolean |
( |
const char * |
key |
) |
|
| const char* ost::DynamicKeydata::getString |
( |
const char * |
key, |
|
|
char * |
buf, |
|
|
size_t |
size | |
|
) |
| | |
| long ost::DynamicKeydata::getValue |
( |
const char * |
key |
) |
|
| bool ost::DynamicKeydata::isKey |
( |
const char * |
key |
) |
|
| static void ost::DynamicKeydata::reload |
( |
void |
|
) |
[static] |
| virtual void ost::DynamicKeydata::updateConfig |
( |
Keydata * |
keydata |
) |
[protected, virtual] |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: