Vowpal Wabbit
Public Member Functions | Static Public Member Functions | List of all members
VW::config::option_builder< T > Struct Template Reference

#include <options.h>

Public Member Functions

template<typename... Args>
 option_builder (Args &&...args)
 
option_builderdefault_value (const typename T::value_type &value)
 
option_buildershort_name (const std::string &short_name)
 
option_builderhelp (const std::string &help)
 
option_builderkeep (bool keep=true)
 
option_buildernecessary (bool necessary=true)
 
option_builderallow_override (bool allow_override=true)
 

Static Public Member Functions

static std::shared_ptr< base_optionfinalize (option_builder &&option)
 

Constructor & Destructor Documentation

template<typename T>
template<typename... Args>
VW::config::option_builder< T >::option_builder ( Args &&...  args)
inline

Member Function Documentation

template<typename T>
option_builder& VW::config::option_builder< T >::allow_override ( bool  allow_override = true)
inline
template<typename T>
option_builder& VW::config::option_builder< T >::default_value ( const typename T::value_type &  value)
inline
template<typename T>
static std::shared_ptr<base_option> VW::config::option_builder< T >::finalize ( option_builder< T > &&  option)
inlinestatic
template<typename T>
option_builder& VW::config::option_builder< T >::help ( const std::string &  help)
inline
template<typename T>
option_builder& VW::config::option_builder< T >::keep ( bool  keep = true)
inline
template<typename T>
option_builder& VW::config::option_builder< T >::necessary ( bool  necessary = true)
inline
template<typename T>
option_builder& VW::config::option_builder< T >::short_name ( const std::string &  short_name)
inline

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