Action <string> m_value_changed_handler; //std::function<void(const char *)> m_value_changed_handler; // construction/destruction protected entry(std.vector <string> names, option_type type = option_type.STRING, string description = null) { m_names = names; m_priority = OPTION_PRIORITY_DEFAULT; m_type = type; m_description = description; assert(m_names.empty() == (m_type == option_type.HEADER)); }
public options_entry(string name, string defvalue, core_options.option_type type, string description) { this.name = name; this.defvalue = defvalue; this.type = type; this.description = description; }