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

#include <option_group_definition.h>

Public Member Functions

 option_group_definition (const std::string &name)
 
template<typename T >
option_group_definitionadd (option_builder< T > &&op)
 
template<typename T >
option_group_definitionadd (option_builder< T > &op)
 
bool contains_necessary_options () const
 
bool check_necessary_enabled (const options_i &options) const
 
void check_one_of () const
 
template<typename T >
option_group_definitionoperator() (T &&op)
 

Public Attributes

std::string m_name = ""
 
std::unordered_set< std::string > m_necessary_flags
 
std::vector< std::shared_ptr< base_option > > m_options
 

Constructor & Destructor Documentation

◆ option_group_definition()

VW::config::option_group_definition::option_group_definition ( const std::string &  name)

Member Function Documentation

◆ add() [1/2]

template<typename T >
option_group_definition & VW::config::option_group_definition::add ( option_builder< T > &&  op)
inline

◆ add() [2/2]

template<typename T >
option_group_definition & VW::config::option_group_definition::add ( option_builder< T > &  op)
inline

◆ check_necessary_enabled()

bool VW::config::option_group_definition::check_necessary_enabled ( const options_i options) const

◆ check_one_of()

void VW::config::option_group_definition::check_one_of ( ) const

◆ contains_necessary_options()

bool VW::config::option_group_definition::contains_necessary_options ( ) const

◆ operator()()

template<typename T >
option_group_definition & VW::config::option_group_definition::operator() ( T &&  op)
inline

Member Data Documentation

◆ m_name

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

◆ m_necessary_flags

std::unordered_set<std::string> VW::config::option_group_definition::m_necessary_flags

◆ m_options

std::vector<std::shared_ptr<base_option> > VW::config::option_group_definition::m_options

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