Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
VW::config::option_group_definition Struct Reference

#include <options.h>

Public Member Functions

 option_group_definition (const std::string &name)
 
template<typename T >
option_group_definitionadd (T &&op)
 
template<typename T >
option_group_definitionoperator() (T &&op)
 

Public Attributes

std::string m_name
 
std::vector< std::shared_ptr< base_option > > m_options
 

Detailed Description

Definition at line 85 of file options.h.

Constructor & Destructor Documentation

◆ option_group_definition()

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

Definition at line 87 of file options.h.

87 : m_name(name) {}

Member Function Documentation

◆ add()

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

◆ operator()()

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

Definition at line 97 of file options.h.

References add().

98  {
99  add(std::forward<T>(op));
100  return *this;
101  }
option_group_definition & add(T &&op)
Definition: options.h:90

Member Data Documentation

◆ m_name

std::string VW::config::option_group_definition::m_name

Definition at line 103 of file options.h.

Referenced by VW::config::options_boost_po::add_and_parse().

◆ m_options

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

Definition at line 104 of file options.h.

Referenced by VW::config::options_boost_po::add_and_parse().


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