Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VW::config::options_name_extractor Class Reference

#include <options_name_extractor.h>

Inheritance diagram for VW::config::options_name_extractor:
VW::config::options_i

Public Member Functions

void internal_add_and_parse (const option_group_definition &group) override
 
bool was_supplied (const std::string &) 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 &, const std::string &) override
 
void replace (const std::string &, const std::string &) 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_optionget_option (const std::string &key)
 
std::shared_ptr< const base_optionget_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
 

Public Attributes

std::string generated_name
 
std::set< std::string > m_added_help_group_names
 

Additional Inherited Members

- Static Public Attributes inherited from VW::config::options_i
static constexpr const char * DEFAULT_TINT = "general"
 

Member Function Documentation

◆ check_unregistered()

std::vector< std::string > VW::config::options_name_extractor::check_unregistered ( )
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.

◆ get_positional_tokens()

std::vector< std::string > VW::config::options_name_extractor::get_positional_tokens ( ) const
overridevirtual

Reimplemented from VW::config::options_i.

◆ insert()

void VW::config::options_name_extractor::insert ( const std::string &  ,
const std::string &   
)
overridevirtual

Implements VW::config::options_i.

◆ internal_add_and_parse()

void VW::config::options_name_extractor::internal_add_and_parse ( const option_group_definition group)
overridevirtual

Implements VW::config::options_i.

◆ replace()

void VW::config::options_name_extractor::replace ( const std::string &  ,
const std::string &   
)
overridevirtual

Implements VW::config::options_i.

◆ was_supplied()

bool VW::config::options_name_extractor::was_supplied ( const std::string &  ) const
overridevirtual

Implements VW::config::options_i.

Member Data Documentation

◆ generated_name

std::string VW::config::options_name_extractor::generated_name

◆ m_added_help_group_names

std::set<std::string> VW::config::options_name_extractor::m_added_help_group_names

The documentation for this class was generated from the following file: