Vowpal Wabbit
|
#include <options_cli.h>
Public Member Functions | |
options_cli (std::vector< std::string > args) | |
void | internal_add_and_parse (const option_group_definition &group) override |
bool | was_supplied (const std::string &key) const override |
std::vector< std::string > | check_unregistered () override |
Check for unregistered options and validate input. Throws if there is an error. Returns a vector of warning strings if there are warnings produced. More... | |
void | insert (const std::string &key, const std::string &value) override |
void | replace (const std::string &key, const std::string &value) override |
std::vector< std::string > | get_positional_tokens () const override |
Public Member Functions inherited from VW::config::options_i | |
void | add_and_parse (const option_group_definition &group) |
bool | add_parse_and_check_necessary (const option_group_definition &group) |
void | tint (const std::string &reduction_name) |
void | reset_tint () |
std::vector< std::shared_ptr< base_option > > | get_all_options () |
std::vector< std::shared_ptr< const base_option > > | get_all_options () const |
std::shared_ptr< base_option > | get_option (const std::string &key) |
std::shared_ptr< const base_option > | get_option (const std::string &key) const |
std::map< std::string, std::vector< option_group_definition > > | get_collection_of_options () const |
const std::vector< option_group_definition > & | get_all_option_group_definitions () const |
template<typename T > | |
typed_option< T > & | get_typed_option (const std::string &key) |
template<typename T > | |
const typed_option< T > & | get_typed_option (const std::string &key) const |
virtual void | internal_add_and_parse (const option_group_definition &group)=0 |
virtual bool | was_supplied (const std::string &key) const =0 |
virtual void | insert (const std::string &key, const std::string &value)=0 |
virtual void | replace (const std::string &key, const std::string &value)=0 |
virtual std::vector< std::string > | get_positional_tokens () const |
virtual std::vector< std::string > | check_unregistered ()=0 |
Check for unregistered options and validate input. Throws if there is an error. Returns a vector of warning strings if there are warnings produced. More... | |
virtual | ~options_i ()=default |
Additional Inherited Members | |
Static Public Attributes inherited from VW::config::options_i | |
static constexpr const char * | DEFAULT_TINT = "general" |
VW::config::options_cli::options_cli | ( | std::vector< std::string > | args | ) |
|
overridevirtual |
Check for unregistered options and validate input. Throws if there is an error. Returns a vector of warning strings if there are warnings produced.
Implements VW::config::options_i.
|
overridevirtual |
Reimplemented from VW::config::options_i.
|
overridevirtual |
Implements VW::config::options_i.
|
overridevirtual |
Implements VW::config::options_i.
|
overridevirtual |
Implements VW::config::options_i.
|
overridevirtual |
Implements VW::config::options_i.