Searched refs:BaseOption (Results 1 – 2 of 2) sorted by relevance
28 struct BaseOption { struct34 BaseOption(std::string _selector, std::string _description) in BaseOption() function37 virtual ~BaseOption() {} in ~BaseOption() argument39 static void Init(const std::vector<BaseOption*> &, int argc, char **argv);43 struct Option : BaseOption {46 : BaseOption(selector, description), value(defaultValue) {} in Option()49 void BaseOption::Init(const std::vector<BaseOption*> &option_list, in Init()51 std::map<std::string, BaseOption *> options; in Init()52 for (BaseOption *opt : option_list) { in Init()70 for (BaseOption *opt : option_list) { in Init()[all …]
81 struct BaseOption { struct82 virtual ~BaseOption() {} in ~BaseOption() argument86 struct Option : BaseOption {108 typedef std::map<ConfigOptionID, BaseOption*> OptionMap;130 BaseOption*& it = options_[identifier<T>()]; in Set()