#include "/home/runner/work/mlir-aie/mlir-aie/runtime_lib/test_lib/cxxopts.hpp"
|
| | Options (std::string program_name, std::string help_string="") |
| |
| Options & | positional_help (std::string help_text) |
| |
| Options & | custom_help (std::string help_text) |
| |
| Options & | show_positional_help () |
| |
| Options & | allow_unrecognised_options () |
| |
| Options & | set_width (std::size_t width) |
| |
| Options & | set_tab_expansion (bool expansion=true) |
| |
| ParseResult | parse (int argc, const char *const *argv) |
| |
| OptionAdder | add_options (std::string group="") |
| |
| void | add_options (const std::string &group, std::initializer_list< Option > options) |
| |
| void | add_option (const std::string &group, const Option &option) |
| |
| void | add_option (const std::string &group, const std::string &s, const OptionNames &l, std::string desc, const std::shared_ptr< const Value > &value, std::string arg_help) |
| |
| void | add_option (const std::string &group, const std::string &short_name, const std::string &single_long_name, std::string desc, const std::shared_ptr< const Value > &value, std::string arg_help) |
| |
| void | parse_positional (std::string option) |
| |
| void | parse_positional (std::vector< std::string > options) |
| |
| void | parse_positional (std::initializer_list< std::string > options) |
| |
| template<typename Iterator > |
| void | parse_positional (Iterator begin, Iterator end) |
| |
| std::string | help (const std::vector< std::string > &groups={}, bool print_usage=true) const |
| |
| std::vector< std::string > | groups () const |
| |
| const HelpGroupDetails & | group_help (const std::string &group) const |
| |
| const std::string & | program () const |
| |
Definition at line 1433 of file cxxopts.hpp.
◆ Options()
| cxxopts::Options::Options |
( |
std::string |
program_name, |
|
|
std::string |
help_string = "" |
|
) |
| |
|
inlineexplicit |
◆ add_option() [1/3]
| void cxxopts::Options::add_option |
( |
const std::string & |
group, |
|
|
const Option & |
option |
|
) |
| |
|
inline |
◆ add_option() [2/3]
| void cxxopts::Options::add_option |
( |
const std::string & |
group, |
|
|
const std::string & |
s, |
|
|
const OptionNames & |
l, |
|
|
std::string |
desc, |
|
|
const std::shared_ptr< const Value > & |
value, |
|
|
std::string |
arg_help |
|
) |
| |
|
inline |
◆ add_option() [3/3]
| void cxxopts::Options::add_option |
( |
const std::string & |
group, |
|
|
const std::string & |
short_name, |
|
|
const std::string & |
single_long_name, |
|
|
std::string |
desc, |
|
|
const std::shared_ptr< const Value > & |
value, |
|
|
std::string |
arg_help |
|
) |
| |
|
inline |
◆ add_options() [1/2]
| void cxxopts::Options::add_options |
( |
const std::string & |
group, |
|
|
std::initializer_list< Option > |
options |
|
) |
| |
|
inline |
◆ add_options() [2/2]
| OptionAdder cxxopts::Options::add_options |
( |
std::string |
group = "" | ) |
|
|
inline |
◆ allow_unrecognised_options()
| Options & cxxopts::Options::allow_unrecognised_options |
( |
| ) |
|
|
inline |
◆ custom_help()
| Options & cxxopts::Options::custom_help |
( |
std::string |
help_text | ) |
|
|
inline |
◆ group_help()
| const HelpGroupDetails & cxxopts::Options::group_help |
( |
const std::string & |
group | ) |
const |
|
inline |
◆ groups()
| std::vector< std::string > cxxopts::Options::groups |
( |
| ) |
const |
|
inline |
◆ help()
| std::string cxxopts::Options::help |
( |
const std::vector< std::string > & |
groups = {}, |
|
|
bool |
print_usage = true |
|
) |
| const |
|
inline |
◆ parse()
| ParseResult cxxopts::Options::parse |
( |
int |
argc, |
|
|
const char *const * |
argv |
|
) |
| |
|
inline |
◆ parse_positional() [1/4]
template<typename Iterator >
| void cxxopts::Options::parse_positional |
( |
Iterator |
begin, |
|
|
Iterator |
end |
|
) |
| |
|
inline |
◆ parse_positional() [2/4]
| void cxxopts::Options::parse_positional |
( |
std::initializer_list< std::string > |
options | ) |
|
|
inline |
◆ parse_positional() [3/4]
| void cxxopts::Options::parse_positional |
( |
std::string |
option | ) |
|
|
inline |
◆ parse_positional() [4/4]
| void cxxopts::Options::parse_positional |
( |
std::vector< std::string > |
options | ) |
|
|
inline |
◆ positional_help()
| Options & cxxopts::Options::positional_help |
( |
std::string |
help_text | ) |
|
|
inline |
◆ program()
| const std::string & cxxopts::Options::program |
( |
| ) |
const |
|
inline |
◆ set_tab_expansion()
| Options & cxxopts::Options::set_tab_expansion |
( |
bool |
expansion = true | ) |
|
|
inline |
◆ set_width()
| Options & cxxopts::Options::set_width |
( |
std::size_t |
width | ) |
|
|
inline |
◆ show_positional_help()
| Options & cxxopts::Options::show_positional_help |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: