|
| test_app () |
|
virtual | ~test_app () |
|
void | set_first_value (int a_value) |
|
int | get_first_value () |
|
const std::string & | second_value () const |
|
std::string & | second_value () |
|
Public Member Functions inherited from main_app |
| main_app () |
|
virtual | ~main_app () |
|
virtual void | pre_callback () |
|
virtual void | do_config_stage_1 () |
| Load default values. More...
|
|
virtual void | do_config_stage_2 () |
| Load the config file. More...
|
|
virtual void | do_config_stage_3 () |
| Load the directly-addressed non-option arguments. More...
|
|
virtual void | do_config_stage_4 () |
| Load the application-specific options. More...
|
|
void | set_version (version_semantic *a_ver) |
|
| mv_referrable (param_node, master_config) |
| Master configuration tree for the application. More...
|
|
| mv_referrable (param_node, default_config) |
| Default configuration values. More...
|
|
| mv_referrable_const (std::string, config_filename) |
| Configuration file name. More...
|
|
| mv_accessible (unsigned, global_verbosity) |
| Global verbosity value. More...
|
|
| mv_referrable (param_node, nonoption_kw_args) |
| Keyword configuration values coming from the command line, in the form: config.address=value. More...
|
|
| mv_referrable (param_array, nonoption_ord_args) |
| Ordered configuration values coming in an application-specific order from the command line, in the form: value. More...
|
|
| mv_referrable (param_node, app_options) |
| Application-specific options that are specified using add_config_option() functions. More...
|
|
| mv_referrable (std::vector< std::shared_ptr< app_option_holder > >, app_option_holders) |
| Store the app option holder structs from this app and any subcommands. More...
|
|
| config_decorator (main_app *a_main, app *a_this_app) |
|
virtual | ~config_decorator () |
|
main_app * | main () const |
|
app * | this_app () const |
|
config_decorator * | add_config_subcommand (std::string a_subcommand_name, std::string a_description="") |
| Add a subcommand that is linked to a particular main_app and can create options that modify that main_app's master config. More...
|
|
template<typename T , CLI::enable_if_t< ! CLI::is_vector< T >::value, CLI::detail::enabler > = CLI::detail::dummy> |
CLI::Option * | add_config_option (std::string a_name, std::string a_master_config_addr, std::string a_description="") |
| Add an option that gets automatically added to the master config of a main_app. More...
|
|
template<typename T , CLI::enable_if_t< ! CLI::is_vector< T >::value, CLI::detail::enabler > = CLI::detail::dummy> |
CLI::Option * | add_config_multi_option (std::string a_name, std::string a_master_config_addr, std::string a_description="") |
| Add an option that gets automatically added to the master config of a main_app. More...
|
|
template<typename T , CLI::enable_if_t< std::is_integral< T >::value &&! CLI::is_bool< T >::value, CLI::detail::enabler > = CLI::detail::dummy> |
CLI::Option * | add_config_flag (std::string a_name, std::string a_master_config_addr, std::string a_description="") |
|
template<typename T , CLI::enable_if_t< CLI::is_bool< T >::value, CLI::detail::enabler > = CLI::detail::dummy> |
CLI::Option * | add_config_flag (std::string a_name, std::string a_master_config_addr, std::string a_description="") |
|
Definition at line 35 of file test_app_with_options.cc.