
Configuration does not contain moduleName. We assume that we always handle configurations on a per module basis.
Definition at line 68 of file configuration.h.
The type of Configuration.
| ctUnknown | Unknown, illegal type. |
| ctDate | Type is date (database 'd'). |
| ctLong | Type is long (database 'l'). |
| ctString | Type is string (database 's'). |
Definition at line 73 of file configuration.h.
| OSB_LIB::Configuration::Configuration | ( | ModuleId | module = mdUnknown |
) | [explicit] |
Default constructor with optional module id.
| static ConfigType OSB_LIB::Configuration::configType | ( | char | c | ) | [static] |
Convert one character database code to a config type.
| c | character to convert. |
| RetConvert OSB_LIB::Configuration::convert | ( | std::string * | pDest | ) | const |
Convert to string type.
| RetConvert OSB_LIB::Configuration::convert | ( | long * | pDest | ) | const |
Convert to long type.
| RetConvert OSB_LIB::Configuration::convert | ( | Date * | pDest | ) | const |
Convert to date type.
| const std::string& OSB_LIB::Configuration::desc | ( | ) | const |
Get description.
| const std::string& OSB_LIB::Configuration::keyword | ( | ) | const |
Get keyword.
| ModuleId OSB_LIB::Configuration::module | ( | ) | const |
Get module.
| bool OSB_LIB::Configuration::read | ( | const OSB_DB::Session & | session, | |
| ModuleId | module, | |||
| const std::string & | keyword | |||
| ) |
Get a single configuration entry.
| session | Database session to use. | |
| module | Module for which to read the configuration. | |
| keyword | Keywork of the configuration entry. |
| ConfigType OSB_LIB::Configuration::type | ( | ) | const |
Get confiugration type.
| const std::string& OSB_LIB::Configuration::value | ( | ) | const |
Get value as string.
friend class OSB_DB::ConfigurationGw [friend] |
std::string OSB_LIB::Configuration::desc_ [private] |
std::string OSB_LIB::Configuration::keyword_ [private] |
ModuleId OSB_LIB::Configuration::module_ [private] |
Definition at line 151 of file configuration.h.
ConfigType OSB_LIB::Configuration::type_ [private] |
std::string OSB_LIB::Configuration::value_ [private] |
1.4.7