8#if BOOST_VERSION_MACRO >= 104100
10#include <boost/property_tree/ptree.hpp>
11#include <boost/property_tree/ini_parser.hpp>
19#if BOOST_VERSION_MACRO >= 104100
23 namespace property_tree {
39 const bool doesExistAndIsReadable =
41 if (doesExistAndIsReadable ==
false) {
43 <<
"' can not be retrieved on the file-system.");
47 <<
"' content into the configuration holder.");
49#if BOOST_VERSION_MACRO >= 104100
53 bpt::ini_parser::read_ini(lFilename, pt);
55 iConfigHolder.
add(pt);
#define STDAIR_LOG_DEBUG(iToBeLogged)
Handle on the StdAir library context.
static bool doesExistAndIsReadable(const std::string &iFilepath)
static void importINIConfig(ConfigHolderStruct &, const ConfigINIFile &)
void add(const bpt::ptree &)
const char * name() const