#include <options_description.hpp>
Inherits boost::program_options::option_description.
Inheritance diagram for boost::program_options::option_description_easy_init< Derived >:
Public Member Functions | |
return_type & | description (const char *desc) |
Sets the description. | |
return_type & | parameter (const char *parameter) |
Sets the parameter name. | |
return_type & | flags (char f) |
Sets flags to the passed value. | |
return_type & | default_value (const char *v) |
Sets default value of the option. | |
return_type & | default_parameter (const char *p) |
Sets default value of the option's parameter. | |
return_type & | validator (const validator_function &vf) |
Sets validator to be used for the options's parameter. | |
return_type & | notify (const notify_function &nf) |
Sets notify function to be used with this option. |
Any option description class which desires to have easy init syntax, should derive from this one.
|
Sets the description.
Reimplemented from boost::program_options::option_description. |
|
Sets the parameter name.
Reimplemented from boost::program_options::option_description. |
|
Sets flags to the passed value. The value of 'c' has the same meaning as in cmdline::add_option. Reimplemented from boost::program_options::option_description. |
|
Sets default value of the option.
Reimplemented from boost::program_options::option_description. |
|
Sets default value of the option's parameter.
Reimplemented from boost::program_options::option_description. |
|
Sets validator to be used for the options's parameter.
Reimplemented from boost::program_options::option_description. |
|
Sets notify function to be used with this option.
Reimplemented from boost::program_options::option_description. |