|
template<std::size_t N> |
| Argument (std::string_view prefix_chars, std::array< std::string_view, N > &&a) |
|
Argument & | help (std::string help_text) |
|
Argument & | metavar (std::string metavar) |
|
template<typename T > |
Argument & | default_value (T &&value) |
|
Argument & | default_value (const char *value) |
|
Argument & | required () |
|
Argument & | implicit_value (std::any value) |
|
Argument & | flag () |
|
template<class F , class... Args> |
auto | action (F &&callable, Args &&... bound_args) -> std::enable_if_t< std::is_invocable_v< F, Args..., std::string const >, Argument & > |
|
auto & | store_into (bool &var) |
|
template<typename T , typename std::enable_if< std::is_integral< T >::value >::type * = nullptr> |
auto & | store_into (T &var) |
|
auto & | store_into (double &var) |
|
auto & | store_into (std::string &var) |
|
auto & | store_into (std::vector< std::string > &var) |
|
auto & | store_into (std::vector< int > &var) |
|
auto & | store_into (std::set< std::string > &var) |
|
auto & | store_into (std::set< int > &var) |
|
auto & | append () |
|
auto & | hidden () |
|
template<char Shape, typename T > |
auto | scan () -> std::enable_if_t< std::is_arithmetic_v< T >, Argument & > |
|
Argument & | nargs (std::size_t num_args) |
|
Argument & | nargs (std::size_t num_args_min, std::size_t num_args_max) |
|
Argument & | nargs (nargs_pattern pattern) |
|
Argument & | remaining () |
|
template<typename T > |
void | add_choice (T &&choice) |
|
Argument & | choices () |
|
template<typename T , typename... U> |
Argument & | choices (T &&first, U &&... rest) |
|
void | find_default_value_in_choices_or_throw () const |
|
template<typename Iterator > |
void | find_value_in_choices_or_throw (Iterator it) const |
|
template<typename Iterator > |
Iterator | consume (Iterator start, Iterator end, std::string_view used_name={}, bool dry_run=false) |
|
void | validate () const |
|
std::string | get_names_csv (char separator=',') const |
|
std::string | get_usage_full () const |
|
std::string | get_inline_usage () const |
|
std::size_t | get_arguments_length () const |
|
template<typename T > |
bool | operator!= (const T &rhs) const |
|
template<typename T > |
bool | operator== (const T &rhs) const |
|