6 Feature::Feature(const string &n):
13 Feature::Loader::Loader(Feature &f):
14 Msp::DataFile::ObjectLoader<Feature>(f)
16 add("choice", &Loader::choice);
17 add("description", &Feature::description);
18 add("default", &Feature::default_value);
19 add("export", &Feature::exported);
22 void Feature::Loader::choice(const string &c)
24 if(obj.choices.empty())
25 obj.default_value = c;
26 obj.choices.push_back(c);