Vowpal Wabbit
Public Member Functions | List of all members
VW::config::options_boost_po Struct Reference

#include <options_boost_po.h>

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

Public Member Functions

 options_boost_po (int argc, char **argv)
 
 options_boost_po (const std::vector< std::string > &args)
 
 options_boost_po (options_boost_po &)=delete
 
options_boost_pooperator= (options_boost_po &)=delete
 
void add_and_parse (const option_group_definition &group) override
 
bool add_parse_and_check_necessary (const option_group_definition &group) override
 
bool was_supplied (const std::string &key) const override
 
std::string help () const override
 
void check_unregistered () override
 
std::vector< std::shared_ptr< base_option > > get_all_options () override
 
std::vector< std::shared_ptr< const base_option > > get_all_options () const override
 
std::shared_ptr< base_optionget_option (const std::string &key) override
 
std::shared_ptr< const base_optionget_option (const std::string &key) const override
 
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
 
template<>
po::typed_value< std::vector< bool > > * convert_to_boost_value (std::shared_ptr< typed_option< bool >> &opt)
 
- Public Member Functions inherited from VW::config::options_i
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 ~options_i ()=default
 

Constructor & Destructor Documentation

VW::config::options_boost_po::options_boost_po ( int  argc,
char **  argv 
)
inline
VW::config::options_boost_po::options_boost_po ( const std::vector< std::string > &  args)
inline
VW::config::options_boost_po::options_boost_po ( options_boost_po )
delete

Member Function Documentation

void VW::config::options_boost_po::add_and_parse ( const option_group_definition group)
overridevirtual

Implements VW::config::options_i.

bool VW::config::options_boost_po::add_parse_and_check_necessary ( const option_group_definition group)
overridevirtual

Implements VW::config::options_i.

void VW::config::options_boost_po::check_unregistered ( )
overridevirtual

Implements VW::config::options_i.

template<>
po::typed_value<std::vector<bool> >* VW::config::options_boost_po::convert_to_boost_value ( std::shared_ptr< typed_option< bool >> &  opt)
std::vector<std::shared_ptr<base_option> > VW::config::options_boost_po::get_all_options ( )
overridevirtual

Implements VW::config::options_i.

std::vector<std::shared_ptr<const base_option> > VW::config::options_boost_po::get_all_options ( ) const
overridevirtual

Implements VW::config::options_i.

std::shared_ptr<base_option> VW::config::options_boost_po::get_option ( const std::string &  key)
overridevirtual

Implements VW::config::options_i.

std::shared_ptr<const base_option> VW::config::options_boost_po::get_option ( const std::string &  key) const
overridevirtual

Implements VW::config::options_i.

std::vector<std::string> VW::config::options_boost_po::get_positional_tokens ( ) const
inlineoverridevirtual

Reimplemented from VW::config::options_i.

std::string VW::config::options_boost_po::help ( ) const
overridevirtual

Implements VW::config::options_i.

void VW::config::options_boost_po::insert ( const std::string &  key,
const std::string &  value 
)
inlineoverridevirtual

Implements VW::config::options_i.

options_boost_po& VW::config::options_boost_po::operator= ( options_boost_po )
delete
void VW::config::options_boost_po::replace ( const std::string &  key,
const std::string &  value 
)
inlineoverridevirtual

Implements VW::config::options_i.

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

Implements VW::config::options_i.


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