Home | History | Annotate | Download | only in libopt++

Lines Matching refs:option

3  * option parsing
14 * static popt::option allow_frob_opt(allow_frob, "allow-frob", 'a', "allow frobs");
15 * static popt::option frob_opt(frob, "frob", 'f', "what to frob", "name");
21 * Note than if you try to implement an option for an unsupported type like :
24 * static popt::option i_opt(i, ....);
31 * that the template parameter denotes the type of the option argument.
33 * When the template parameter type is bool, option starting with "no-" prefix
38 * popt::option(demangle, "demangle", 'd', "demangle C++ symbols"),
39 * popt::option(demangle, "no-demangle", '\0', "don't demangle C++ symbols"),
74 * option - base class for a command line option
76 * Every command line option added before calling parse_options()
79 class option {
82 * Templatized constructor for an option. This adds the option
83 * to the option list on construction. This is specialized for
84 * each recognised option value type below.
86 template <class T> option(T &, char const * option_name,
92 * option, as there is no argument to give help for.
96 * match for boolean option.
98 option(bool &, char const * option_name,
101 ~option();
109 * The supported option type, boolean option are matched by a non templatized
112 template <> option::option(int &, char const * option_name, char short_name,
114 template <> option::option(std::string &, char const * option_name,
117 template <> option::option(std::vector<std::string> &,