Access DXC configuration. More...
#include </home/user/DXC_svn/trunk/Src/APIs/cpp/DxcConfig.hpp>
Public Member Functions | |
std::string | get (const std::string &key) |
Get the value of a key. | |
int | getInt (const std::string &key) |
Get the (int) value of a key. | |
long | getLong (const std::string &key) |
Get the (long) value of a key. | |
Static Public Member Functions | |
static DxcConfig * | getInstance () |
Loads DXC configuration and returns an instance of DxcConfig. |
Access DXC configuration.
Reads keys and values stored in the DXC config file.
std::string DxcConfig::get | ( | const std::string & | key | ) |
Get the value of a key.
key | - key to return value of. |
int DxcConfig::getInt | ( | const std::string & | key | ) |
Get the (int) value of a key.
key | - key to return value of. |
long DxcConfig::getLong | ( | const std::string & | key | ) |
Get the (long) value of a key.
key | - key to return value of. |