Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VW::config::base_option Class Referenceabstract

#include <option.h>

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

Public Member Functions

 base_option (std::string name, size_t type_hash)
 
virtual void accept (typed_option_visitor &handler)=0
 
virtual ~base_option ()=default
 
const std::vector< std::string > & get_tags () const
 
void set_tags (std::vector< std::string > tags)
 

Public Attributes

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
 
bool m_hidden_from_help = false
 
std::string m_one_of_err = ""
 
bool m_experimental = false
 

Constructor & Destructor Documentation

◆ base_option()

VW::config::base_option::base_option ( std::string  name,
size_t  type_hash 
)
inline

◆ ~base_option()

virtual VW::config::base_option::~base_option ( )
virtualdefault

Member Function Documentation

◆ accept()

virtual void VW::config::base_option::accept ( typed_option_visitor handler)
pure virtual

◆ get_tags()

const std::vector< std::string > & VW::config::base_option::get_tags ( ) const
inline

◆ set_tags()

void VW::config::base_option::set_tags ( std::vector< std::string >  tags)

Member Data Documentation

◆ m_allow_override

bool VW::config::base_option::m_allow_override = false

◆ m_experimental

bool VW::config::base_option::m_experimental = false

◆ m_help

std::string VW::config::base_option::m_help = ""

◆ m_hidden_from_help

bool VW::config::base_option::m_hidden_from_help = false

◆ m_keep

bool VW::config::base_option::m_keep = false

◆ m_name

std::string VW::config::base_option::m_name = ""

◆ m_necessary

bool VW::config::base_option::m_necessary = false

◆ m_one_of_err

std::string VW::config::base_option::m_one_of_err = ""

◆ m_short_name

std::string VW::config::base_option::m_short_name = ""

◆ m_type_hash

size_t VW::config::base_option::m_type_hash

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