29 #ifndef CONFIG_HEADER_GUARD
30 #define CONFIG_HEADER_GUARD
39 #include <boost/property_tree/ptree.hpp>
40 #include <boost/property_tree/xml_parser.hpp>
60 T
GetParameter (
const std::string ¶meter,
const T &defaultValue)
const;
95 #endif//CONFIG_HEADER_GUARD
boost::property_tree::ptree propertyTree
The internal mapping of the XML configuration file.
~Config()
Destructor - void implementation.
static Config & GetInstance()
Returns a reference to the singleton.
static const std::string xmlRootElementName
The name of the root node in the configuration XML file.
Implementation of template members from class Config.
static std::string configFile
The location of the configuration file.
Config operator=(Config const &)
Copy assignment operator - not implemented.
Utilitary class for parsing the configuration file.
T GetParameter(const std::string ¶meter) const
Template method which returns the value of the specified configuration parameter. ...
static void SetConfigFile(const std::string &configFile)
Sets the location and name of the configuration file.