#include <CLI11.hpp>
|
template<typename T > |
void | copy_to (T *other) const |
| Copy the contents to another similar class (one based on OptionBase)
|
|
template<typename CRTP>
class CLI::OptionBase< CRTP >
This is the CRTP base class for Option and OptionDefaults. It was designed this way to share parts of the class; an OptionDefaults can copy to an Option.
◆ always_capture_default()
template<typename CRTP >
CRTP * CLI::OptionBase< CRTP >::always_capture_default |
( |
bool |
value = true | ) |
|
|
inline |
◆ configurable()
Allow in a configuration file.
◆ copy_to()
template<typename CRTP >
template<typename T >
Copy the contents to another similar class (one based on OptionBase)
◆ delimiter()
Allow in a configuration file.
◆ get_always_capture_default()
Return true if this will automatically capture the default value for help printing.
◆ get_configurable()
The status of configurable.
◆ get_delimiter()
Get the current delimiter char.
◆ get_disable_flag_override()
The status of configurable.
◆ get_group()
Get the group of this option.
◆ get_ignore_case()
The status of ignore case.
◆ get_ignore_underscore()
The status of ignore_underscore.
◆ get_multi_option_policy()
The status of the multi option policy.
◆ get_required()
True if this is a required option.
◆ group()
Changes the group membership.
◆ join() [1/2]
Set the multi option policy to join.
◆ join() [2/2]
Set the multi option policy to join with a specific delimiter.
◆ mandatory()
◆ required()
Set the option as required.
◆ take_all()
Set the multi option policy to take all arguments.
◆ take_first()
Set the multi option policy to take last.
◆ take_last()
Set the multi option policy to take last.
◆ always_capture_default_
Automatically capture default value.
◆ configurable_
Allow this option to be given in a configuration file.
◆ delimiter_
Specify a delimiter character for vector arguments.
◆ disable_flag_override_
Disable overriding flag values with '=value'.
◆ group_
◆ ignore_case_
Ignore the case when matching (option, not value)
◆ ignore_underscore_
Ignore underscores when matching (option, not value)
◆ multi_option_policy_
Policy for handling multiple arguments beyond the expected Max.
◆ required_
True if this is a required option.
The documentation for this class was generated from the following file: