Public Member Functions | |
option_imp (bool &value, char const *option_name, char short_name, char const *help_str) | |
~option_imp () | |
void | post_process () |
Protected Attributes | |
char const * | option_name |
Private Attributes | |
bool & | value |
int | popt_value |
option<void> - a binary option
Use this option type for constructing specified / not-specified options e.g. --frob
Definition at line 130 of file popt_options.cpp.
popt::option_imp< void >::option_imp | ( | bool & | value, | |
char const * | option_name, | |||
char | short_name, | |||
char const * | help_str | |||
) |
Definition at line 263 of file popt_options.cpp.
popt::option_imp< void >::~option_imp | ( | ) | [inline] |
Definition at line 135 of file popt_options.cpp.
void popt::option_imp< void >::post_process | ( | ) | [virtual] |
post_process - perform any necessary post-processing
Reimplemented from popt::option_base.
Definition at line 271 of file popt_options.cpp.
References is_prefix().
char const* popt::option_base::option_name [protected, inherited] |
Definition at line 53 of file popt_options.cpp.
int popt::option_imp< void >::popt_value [private] |
Definition at line 141 of file popt_options.cpp.
bool& popt::option_imp< void >::value [private] |
Definition at line 140 of file popt_options.cpp.