+
+Config::Loader::Loader(Config &c):
+ conf(c)
+{
+ add("option", &Loader::option);
+}
+
+void Config::Loader::option(const string &n, const string &v)
+{
+ OptionMap::iterator i=conf.options.find(n);
+ if(i!=conf.options.end())
+ i->second.value=v;
+}