#include <Properties.h>
Public Types | |
typedef std::map< std::string, std::string > | StringMap |
Public Member Functions | |
CProperties () | |
virtual | ~CProperties () |
void | load (const std::string filename) throw (CPropertiesFailure) |
Loads values from filename specified. | |
void | putAll (CProperties &prop) |
Copies all of the mappings from the specified CProperties to this CProperties. | |
const std::string | getProperty (const std::string &strKey) |
const std::string | getProperty (const std::string &strKey, const std::string &strDefault) |
const int | getProperty (const std::string &strKey, const int iDefault) |
const long | getProperty (const std::string &strKey, const long lDefault) |
const unsigned long | getProperty (const std::string &strKey, const unsigned long ulDefault) |
const int | setProperty (const std::string &strKey, const int iValue) |
const std::string | setProperty (const std::string &strKey, const std::string &strValue) |
void | list (std::ostream &out) |
Static Protected Attributes | |
const std::string | _strBlank = "" |
Static Private Attributes | |
const char *const | szKeyTerminators = "=:" |
|
Definition at line 60 of file Properties.h. |
|
Definition at line 31 of file Properties.cpp. |
|
Definition at line 35 of file Properties.cpp. |
|
Loads values from filename specified.
Definition at line 39 of file Properties.cpp. Referenced by bogotel::CUtil::init(). |
|
Copies all of the mappings from the specified CProperties to this CProperties.
Definition at line 190 of file Properties.cpp. |
|
Definition at line 123 of file Properties.cpp. References _strBlank. Referenced by bogotel::CVoiceDev::attemptRecognition(), getProperty(), bogotel::CUtil::init(), bogotel::CMsgTransport::init(), and setProperty(). |
|
Definition at line 128 of file Properties.cpp. |
|
Definition at line 138 of file Properties.cpp. References getProperty(). |
|
Definition at line 145 of file Properties.cpp. References getProperty(). |
|
Definition at line 152 of file Properties.cpp. References getProperty(). |
|
Definition at line 166 of file Properties.cpp. |
|
Definition at line 159 of file Properties.cpp. References getProperty(). |
|
Definition at line 173 of file Properties.cpp. |
|
Definition at line 29 of file Properties.cpp. Referenced by getProperty(). |
|
Definition at line 28 of file Properties.cpp. |