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

#include <options.h>

Inheritance diagram for VW::config::typed_option_with_location< T >:
VW::config::typed_option< T > VW::config::base_option

Public Member Functions

 typed_option_with_location (const std::string &name, T &location)
 
virtual void value_set_callback (const T &value, bool called_from_add_and_parse) override
 
- Public Member Functions inherited from VW::config::typed_option< T >
 typed_option (const std::string &name)
 
void set_default_value (const value_type &value)
 
bool default_value_supplied () const
 
default_value () const
 
bool value_supplied () const
 
typed_optionvalue (T value, bool called_from_add_and_parse=false)
 
value () const
 
- Public Member Functions inherited from VW::config::base_option
 base_option (std::string name, size_t type_hash)
 
virtual ~base_option ()=default
 

Additional Inherited Members

- Public Types inherited from VW::config::typed_option< T >
using value_type = T
 
- Static Public Member Functions inherited from VW::config::typed_option< T >
static size_t type_hash ()
 
- Public Attributes inherited from VW::config::base_option
std::string m_name
 
size_t m_type_hash
 
std::string m_help = ""
 
std::string m_short_name = ""
 
bool m_keep = false
 
bool m_necessary = false
 
bool m_allow_override = false
 

Constructor & Destructor Documentation

template<typename T>
VW::config::typed_option_with_location< T >::typed_option_with_location ( const std::string &  name,
T &  location 
)
inline

Member Function Documentation

template<typename T>
virtual void VW::config::typed_option_with_location< T >::value_set_callback ( const T &  value,
bool  called_from_add_and_parse 
)
inlineoverridevirtual

Reimplemented from VW::config::typed_option< T >.


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