71 catch (
const boost::property_tree::xml_parser_error &exception) {
73 throw std::runtime_error(exception.what());
boost::property_tree::ptree propertyTree
The internal mapping of the XML configuration file.
static Config & GetInstance()
Returns a reference to the singleton.
Definition of class Config.
static const std::string xmlRootElementName
The name of the root node in the configuration XML file.
static std::string configFile
The location of the configuration file.
Utilitary class for parsing the configuration file.
static void SetConfigFile(const std::string &configFile)
Sets the location and name of the configuration file.