|
Wire Sysio Wire Sysion 1.0.0
|
#include <CLI11.hpp>

Public Member Functions | |
| CRTP * | group (const std::string &name) |
| Changes the group membership. | |
| CRTP * | required (bool value=true) |
| Set the option as required. | |
| CRTP * | mandatory (bool value=true) |
| Support Plumbum term. | |
| CRTP * | always_capture_default (bool value=true) |
| const std::string & | get_group () const |
| Get the group of this option. | |
| bool | get_required () const |
| True if this is a required option. | |
| bool | get_ignore_case () const |
| The status of ignore case. | |
| bool | get_ignore_underscore () const |
| The status of ignore_underscore. | |
| bool | get_configurable () const |
| The status of configurable. | |
| bool | get_disable_flag_override () const |
| The status of configurable. | |
| char | get_delimiter () const |
| Get the current delimiter char. | |
| bool | get_always_capture_default () const |
| Return true if this will automatically capture the default value for help printing. | |
| MultiOptionPolicy | get_multi_option_policy () const |
| The status of the multi option policy. | |
| CRTP * | take_last () |
| Set the multi option policy to take last. | |
| CRTP * | take_first () |
| Set the multi option policy to take last. | |
| CRTP * | take_all () |
| Set the multi option policy to take all arguments. | |
| CRTP * | join () |
| Set the multi option policy to join. | |
| CRTP * | join (char delim) |
| Set the multi option policy to join with a specific delimiter. | |
| CRTP * | configurable (bool value=true) |
| Allow in a configuration file. | |
| CRTP * | delimiter (char value='\0') |
| Allow in a configuration file. | |
Protected Member Functions | |
| template<typename T > | |
| void | copy_to (T *other) const |
| Copy the contents to another similar class (one based on OptionBase) | |
Protected Attributes | |
| std::string | group_ = std::string("Options") |
| The group membership. | |
| bool | required_ {false} |
| True if this is a required option. | |
| bool | ignore_case_ {false} |
| Ignore the case when matching (option, not value) | |
| bool | ignore_underscore_ {false} |
| Ignore underscores when matching (option, not value) | |
| bool | configurable_ {true} |
| Allow this option to be given in a configuration file. | |
| bool | disable_flag_override_ {false} |
| Disable overriding flag values with '=value'. | |
| char | delimiter_ {'\0'} |
| Specify a delimiter character for vector arguments. | |
| bool | always_capture_default_ {false} |
| Automatically capture default value. | |
| MultiOptionPolicy | multi_option_policy_ {MultiOptionPolicy::Throw} |
| Policy for handling multiple arguments beyond the expected Max. | |
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.
|
inline |
Definition at line 3408 of file CLI11.hpp.
|
inline |
Definition at line 3481 of file CLI11.hpp.

|
inlineprotected |
Definition at line 3378 of file CLI11.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 3406 of file CLI11.hpp.

|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 3375 of file CLI11.hpp.
|
protected |