145 const std::string& iPath)
const {
147 bool hasValueBeenSuccessfullyRetrieved =
true;
149#if BOOST_VERSION_MACRO >= 104100
153 const std::string lPrefix (
"config.");
154 const std::string lFinalPath = lPrefix + iPath;
155 ioValue = _pt.get<ValueType> (lFinalPath);
157 }
catch (bpt::ptree_error& bptException) {
158 hasValueBeenSuccessfullyRetrieved =
false;
162 return hasValueBeenSuccessfullyRetrieved;
174 inline bool ConfigHolderStruct::exportValue<Date_T>
176 const std::string& iPath)
const {
178 bool hasValueBeenSuccessfullyRetrieved =
true;
180#if BOOST_VERSION_MACRO >= 104100
186 const std::string lPrefix (
"config.");
187 const std::string lFinalPath = lPrefix + iPath;
188 const std::string& lDateStr =
189 _pt.get<std::string> (lFinalPath);
193 boost::gregorian::from_simple_string (lDateStr);
195 }
catch (bpt::ptree_error& bptException) {
196 hasValueBeenSuccessfullyRetrieved =
false;
200 return hasValueBeenSuccessfullyRetrieved;