Changeset 19026
- Timestamp:
- 06/23/18 14:19:32 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Configuration.cc
r18997 r19026 1261 1261 const po::variables_map &Configuration::ParseFile(const string &fname, const bool &checkf) 1262 1262 { 1263 // ------------------------ (0)--------------------------1263 // ------------------------------------------------------- 1264 1264 po::options_description opt_configfile; 1265 1265 … … 1267 1267 opt_configfile.add(fOptionsConfigfile[i]); 1268 1268 1269 // ------------------------ (1) -------------------------- 1270 1271 po::variables_map getfiles; 1272 1273 // ------------------------ (1) -------------------------- 1269 // ------------------------------------------------------- 1274 1270 1275 1271 ifstream file(fname.c_str()); … … 1278 1274 po::parse_config_file<char>(file, opt_configfile, !checkf); 1279 1275 1280 // ------------------------ (6) -------------------------- 1281 po::store(parsed_file, getfiles); 1282 1283 // ------------------------ (13) ------------------------- 1276 // ------------------------------------------------------- 1284 1277 1285 1278 po::variables_map result; … … 1289 1282 fVariables = result; 1290 1283 1291 // ------------------------ (14)-------------------------1284 // ------------------------------------------------------- 1292 1285 1293 1286 const vector<string> unknown = collect_unrecognized(parsed_file.options, po::exclude_positional); … … 1296 1289 fUnknownConfigfile.insert(fUnknownConfigfile.end(), unknown.begin(), unknown.end()); 1297 1290 1298 // ------------------------ (15)-------------------------1291 // ------------------------------------------------------- 1299 1292 1300 1293 CreateWildcardOptions(); 1301 1294 1302 // ------------------------ (16)-------------------------1295 // ------------------------------------------------------- 1303 1296 1304 1297 return fVariables;
Note:
See TracChangeset
for help on using the changeset viewer.