Getting rid of third party dependency for boost_program_options part 3

This commit is contained in:
Dennis Luxen 2011-03-11 16:57:31 +00:00
parent dae3152c9c
commit 72fc514370

View File

@ -54,12 +54,6 @@ public:
} }
config.close(); config.close();
} }
// for (boost::program_options::detail::config_file_iterator i(config, options), e ; i != e; ++i) {
// std::cout << "[config] " << i->string_key << " = " << i->value[0] << std::endl;
// parameters.Add(i->string_key, i->value[0]);
// }
} catch(std::exception& e) { } catch(std::exception& e) {
std::cerr << "[config] .ini not found -> Exception: " <<e.what() << std::endl; std::cerr << "[config] .ini not found -> Exception: " <<e.what() << std::endl;
if(config.is_open()) if(config.is_open())
@ -113,7 +107,6 @@ private:
} }
HashTable<std::string, std::string> parameters; HashTable<std::string, std::string> parameters;
//Speichert alle Einträge aus INI Datei
}; };
#endif /* BASECONFIGURATION_H_ */ #endif /* BASECONFIGURATION_H_ */