Vowpal Wabbit
Classes | Public Member Functions | List of all members
VW::config::options_i Struct Referenceabstract

#include <options.h>

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

Classes

struct  is_vector
 
struct  is_vector< std::vector< T, A > >
 

Public Member Functions

virtual void add_and_parse (const option_group_definition &group)=0
 
virtual bool add_parse_and_check_necessary (const option_group_definition &group)=0
 
virtual bool was_supplied (const std::string &key) const =0
 
virtual std::string help () const =0
 
virtual std::vector< std::shared_ptr< base_option > > get_all_options ()=0
 
virtual std::vector< std::shared_ptr< const base_option > > get_all_options () const =0
 
virtual std::shared_ptr< base_optionget_option (const std::string &key)=0
 
virtual std::shared_ptr< const base_optionget_option (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
 
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
 
template<typename T >
bool insert_arguments (const std::string &name, T expected_val)
 
virtual void check_unregistered ()=0
 
virtual ~options_i ()=default
 

Constructor & Destructor Documentation

virtual VW::config::options_i::~options_i ( )
virtualdefault

Member Function Documentation

virtual void VW::config::options_i::add_and_parse ( const option_group_definition group)
pure virtual
virtual bool VW::config::options_i::add_parse_and_check_necessary ( const option_group_definition group)
pure virtual
virtual void VW::config::options_i::check_unregistered ( )
pure virtual
virtual std::vector<std::shared_ptr<base_option> > VW::config::options_i::get_all_options ( )
pure virtual
virtual std::vector<std::shared_ptr<const base_option> > VW::config::options_i::get_all_options ( ) const
pure virtual
virtual std::shared_ptr<base_option> VW::config::options_i::get_option ( const std::string &  key)
pure virtual
virtual std::shared_ptr<const base_option> VW::config::options_i::get_option ( const std::string &  key) const
pure virtual
virtual std::vector<std::string> VW::config::options_i::get_positional_tokens ( ) const
inlinevirtual
template<typename T >
typed_option<T>& VW::config::options_i::get_typed_option ( const std::string &  key)
inline
template<typename T >
const typed_option<T>& VW::config::options_i::get_typed_option ( const std::string &  key) const
inline
virtual std::string VW::config::options_i::help ( ) const
pure virtual
virtual void VW::config::options_i::insert ( const std::string &  key,
const std::string &  value 
)
pure virtual
template<typename T >
bool VW::config::options_i::insert_arguments ( const std::string &  name,
expected_val 
)
inline
virtual void VW::config::options_i::replace ( const std::string &  key,
const std::string &  value 
)
pure virtual
virtual bool VW::config::options_i::was_supplied ( const std::string &  key) const
pure virtual

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