#include <cfg.h>
Public Types | |
|
typedef std::map< std::string, WLEntry > | WLMap |
Public Member Functions | |
| Cfg (RunMode runMode=RM_init, unsigned long ulTimeout=3600, const std::string dbtype="mysql", bool verbose=false, unsigned significant_bytes_in_weak_mode=3) | |
| void | init (const ConfigReader &cfgreader) throw (std::exception) |
| ~Cfg () | |
| bool | isVerbose () const |
| void | setVerbose (bool b) |
| bool | isModeReverse () const |
| const std::string & | getDbType () const |
| const DB::ParamVector & | getDbParamVector () const |
| bool | isModeInit () const |
| bool | isModeWeak () const |
| unsigned | getWeakBytes () const |
| bool | isWlDb (const std::string &key) const |
| bool | isWlDbCached (const std::string &key) const |
| WLEntry::WLMode | getWLMode (const std::string &key) const |
| unsigned long | getTimeout () const |
| const WLMap & | getWLMap () const |
| const std::string & | getWlModeName (const WLEntry::WLMode mode) const throw (std::exception) |
Protected Member Functions | |
| const WLEntry | getWLEntry (const std::string &) const |
| unsigned long | parseNumeric (const ConfigReader &reader, const std::string &prefix, const std::string &key, unsigned long def) const |
Data Structures | |
| class | WLEntry |
Definition at line 32 of file cfg.h.
1.5.1