ost::DynamicKeydata Class Reference

Bayonne specific dynamic keydata class. More...

#include <bayonne.h>

Inheritance diagram for ost::DynamicKeydata:

ost::BayonneConfig ost::ReconfigKeydata ost::BayonneDriver

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

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.


Friends And Related Function Documentation

friend class __EXPORT BayonneConfig [friend]

friend class __EXPORT ReconfigKeydata [friend]


The documentation for this class was generated from the following file:
Generated on Wed Jan 16 04:45:26 2008 for Bayonne by  doxygen 1.5.4