Vowpal Wabbit
|
#include <options.h>
Public Member Functions | |
typed_option (const std::string &name, T &location) | |
typed_option & | default_value (T value) |
bool | default_value_supplied () const |
T | default_value () const |
typed_option & | short_name (const std::string &short_name) |
typed_option & | help (const std::string &help) |
typed_option & | keep (bool keep=true) |
typed_option & | necessary (bool necessary=true) |
typed_option & | allow_override (bool allow_override=true) |
bool | value_supplied () const |
typed_option & | value (T value) |
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 () |
Public Attributes | |
T & | m_location |
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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
T& VW::config::typed_option< T >::m_location |