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
Handle on the StdAir library context.
static void importINIConfig(ConfigHolderStruct &, const ConfigINIFile &)
void add(const bpt::ptree &)
static bool doesExistAndIsReadable(const std::string &iFilepath)
const char * name() const
#define STDAIR_LOG_DEBUG(iToBeLogged)