Vowpal Wabbit
|
#include <option_builder.h>
Public Member Functions | |
template<typename... Args> | |
option_builder (Args &&... args) | |
option_builder & | default_value (const typename T::value_type &value) |
option_builder & | short_name (const std::string &short_name) |
option_builder & | short_name (char short_name) |
option_builder & | help (const std::string &help) |
option_builder & | hidden (bool hidden=true) |
Hides the option from help output. More... | |
option_builder & | experimental (bool experimental=true) |
Marks this as an experimental option. More... | |
option_builder & | keep (bool keep=true) |
option_builder & | necessary (bool necessary=true) |
option_builder & | one_of (std::set< typename T::value_type > args) |
template<typename U = T> | |
std::enable_if<!details::is_vector< typenameU::value_type >::value, option_builder & >::type | allow_override (bool allow_override=true) |
option_builder & | tags (std::initializer_list< std::string > input_tags) |
Static Public Member Functions | |
static std::shared_ptr< base_option > | finalize (option_builder &&option) |
|
inline |
|
inline |
|
inline |
|
inline |
Marks this as an experimental option.
|
inlinestatic |
|
inline |
|
inline |
Hides the option from help output.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |