Vowpal Wabbit
|
#include <options.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
typed_option (const std::string &name) | |
void | set_default_value (const value_type &value) |
bool | default_value_supplied () const |
T | default_value () const |
bool | value_supplied () const |
typed_option & | value (T value, bool called_from_add_and_parse=false) |
T | value () const |
Public Member Functions inherited from VW::config::base_option | |
base_option (std::string name, size_t type_hash) | |
virtual | ~base_option ()=default |
Static Public Member Functions | |
static size_t | type_hash () |
Protected Member Functions | |
virtual void | value_set_callback (const T &, bool) |
Additional Inherited Members | |
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 |
using VW::config::typed_option< T >::value_type = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in VW::config::typed_option_with_location< T >.
|
inline |