|
Monero
|
Classes | |
| struct | arg_descriptor |
| struct | arg_descriptor< T, false > |
| struct | arg_descriptor< std::vector< T >, false > |
| struct | arg_descriptor< T, true > |
| struct | arg_descriptor< T, false, true > |
| struct | arg_descriptor< T, false, true, NUM_DEPS > |
Functions | |
| bool | is_yes (const std::string &str) |
| bool | is_no (const std::string &str) |
| template<typename T> | |
| boost::program_options::typed_value< T, char > * | make_semantic (const arg_descriptor< T, true > &) |
| template<typename T> | |
| boost::program_options::typed_value< T, char > * | make_semantic (const arg_descriptor< T, false > &arg) |
| template<typename T> | |
| boost::program_options::typed_value< T, char > * | make_semantic (const arg_descriptor< T, false, true > &arg) |
| template<typename T, int NUM_DEPS> | |
| boost::program_options::typed_value< T, char > * | make_semantic (const arg_descriptor< T, false, true, NUM_DEPS > &arg) |
| template<typename T> | |
| boost::program_options::typed_value< T, char > * | make_semantic (const arg_descriptor< T, false > &arg, const T &def) |
| template<typename T> | |
| boost::program_options::typed_value< std::vector< T >, char > * | make_semantic (const arg_descriptor< std::vector< T >, false > &) |
| template<typename T, bool required, bool dependent, int NUM_DEPS> | |
| void | add_arg (boost::program_options::options_description &description, const arg_descriptor< T, required, dependent, NUM_DEPS > &arg, bool unique=true) |
| template<typename T> | |
| void | add_arg (boost::program_options::options_description &description, const arg_descriptor< T, false > &arg, const T &def, bool unique=true) |
| void | add_arg (boost::program_options::options_description &description, const arg_descriptor< bool, false > &arg, bool unique=true) |
| template<typename charT> | |
| boost::program_options::basic_parsed_options< charT > | parse_command_line (int argc, const charT *const argv[], const boost::program_options::options_description &desc, bool allow_unregistered=false) |
| template<typename F> | |
| bool | handle_error_helper (const boost::program_options::options_description &desc, F parser) |
| template<typename T, bool required, bool dependent, int NUM_DEPS> | |
| std::enable_if<!std::is_same< T, bool >::value, bool >::type | has_arg (const boost::program_options::variables_map &vm, const arg_descriptor< T, required, dependent, NUM_DEPS > &arg) |
| template<typename T, bool required, bool dependent, int NUM_DEPS> | |
| bool | is_arg_defaulted (const boost::program_options::variables_map &vm, const arg_descriptor< T, required, dependent, NUM_DEPS > &arg) |
| template<typename T> | |
| T | get_arg (const boost::program_options::variables_map &vm, const arg_descriptor< T, false, true > &arg) |
| template<typename T, int NUM_DEPS> | |
| T | get_arg (const boost::program_options::variables_map &vm, const arg_descriptor< T, false, true, NUM_DEPS > &arg) |
| template<typename T, bool required> | |
| T | get_arg (const boost::program_options::variables_map &vm, const arg_descriptor< T, required > &arg) |
| template<bool dependent, int NUM_DEPS> | |
| bool | has_arg (const boost::program_options::variables_map &vm, const arg_descriptor< bool, false, dependent, NUM_DEPS > &arg) |
Variables | |
| const arg_descriptor< bool > | arg_help = {"help", "Produce help message"} |
| const arg_descriptor< bool > | arg_version = {"version", "Output version information"} |
|
inline |
| void command_line::add_arg | ( | boost::program_options::options_description & | description, |
| const arg_descriptor< T, false > & | arg, | ||
| const T & | def, | ||
| bool | unique = true ) |
| void command_line::add_arg | ( | boost::program_options::options_description & | description, |
| const arg_descriptor< T, required, dependent, NUM_DEPS > & | arg, | ||
| bool | unique = true ) |
| T command_line::get_arg | ( | const boost::program_options::variables_map & | vm, |
| const arg_descriptor< T, false, true > & | arg ) |
| T command_line::get_arg | ( | const boost::program_options::variables_map & | vm, |
| const arg_descriptor< T, false, true, NUM_DEPS > & | arg ) |
| T command_line::get_arg | ( | const boost::program_options::variables_map & | vm, |
| const arg_descriptor< T, required > & | arg ) |
| bool command_line::handle_error_helper | ( | const boost::program_options::options_description & | desc, |
| F | parser ) |
|
inline |
| std::enable_if<!std::is_same< T, bool >::value, bool >::type command_line::has_arg | ( | const boost::program_options::variables_map & | vm, |
| const arg_descriptor< T, required, dependent, NUM_DEPS > & | arg ) |
| bool command_line::is_arg_defaulted | ( | const boost::program_options::variables_map & | vm, |
| const arg_descriptor< T, required, dependent, NUM_DEPS > & | arg ) |
| bool command_line::is_no | ( | const std::string & | str | ) |
| bool command_line::is_yes | ( | const std::string & | str | ) |
| boost::program_options::typed_value< std::vector< T >, char > * command_line::make_semantic | ( | const arg_descriptor< std::vector< T >, false > & | ) |
| boost::program_options::typed_value< T, char > * command_line::make_semantic | ( | const arg_descriptor< T, false > & | arg | ) |
| boost::program_options::typed_value< T, char > * command_line::make_semantic | ( | const arg_descriptor< T, false > & | arg, |
| const T & | def ) |
| boost::program_options::typed_value< T, char > * command_line::make_semantic | ( | const arg_descriptor< T, false, true > & | arg | ) |
| boost::program_options::typed_value< T, char > * command_line::make_semantic | ( | const arg_descriptor< T, false, true, NUM_DEPS > & | arg | ) |
| boost::program_options::typed_value< T, char > * command_line::make_semantic | ( | const arg_descriptor< T, true > & | ) |
| boost::program_options::basic_parsed_options< charT > command_line::parse_command_line | ( | int | argc, |
| const charT *const | argv[], | ||
| const boost::program_options::options_description & | desc, | ||
| bool | allow_unregistered = false ) |
| const arg_descriptor< bool > command_line::arg_help = {"help", "Produce help message"} |
| const arg_descriptor< bool > command_line::arg_version = {"version", "Output version information"} |