7 #if BOOST_VERSION >= 104100 9 #include <boost/property_tree/ptree.hpp> 10 #include <boost/property_tree/ini_parser.hpp> 11 #endif // BOOST_VERSION >= 104100 18 #if BOOST_VERSION >= 104100 19 namespace bpt = boost::property_tree;
20 #else // BOOST_VERSION >= 104100 24 #endif // BOOST_VERSION >= 104100 36 const bool doesExistAndIsReadable =
38 if (doesExistAndIsReadable ==
false) {
40 <<
"' can not be retrieved on the file-system.");
44 <<
"' content into the configuration holder.");
46 #if BOOST_VERSION >= 104100 50 bpt::ini_parser::read_ini(lFilename, pt);
52 iConfigHolder.
add(pt);
54 #endif // BOOST_VERSION >= 104100 static void importINIConfig(ConfigHolderStruct &, const ConfigINIFile &)
const char * name() const
static bool doesExistAndIsReadable(const std::string &iFilepath)
void add(const bpt::ptree &)
Handle on the StdAir library context.
#define STDAIR_LOG_DEBUG(iToBeLogged)