#include "XMLConfig.h" #include #include #include #include #include #include namespace Core { // instanciate and load a config XMLConfig::XMLConfig() { } XMLConfig::~XMLConfig() { } using boost::property_tree::ptree; const ptree& empty_ptree() { static ptree t; return t; }; bool XMLConfig::loadConfig( const std::string& fileName ) { boost::property_tree::read_xml( fileName, m_propTree ); return true; } }