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

#include <cli_options_serializer.h>

Inheritance diagram for VW::config::cli_options_serializer:
VW::config::options_serializer_i VW::config::typed_option_visitor

Public Member Functions

 cli_options_serializer ()
 
void add (base_option &option) override
 
std::string str () const override
 
size_t size () const override
 
void visit (typed_option< uint32_t > &option) override
 
void visit (typed_option< uint64_t > &option) override
 
void visit (typed_option< int32_t > &option) override
 
void visit (typed_option< int64_t > &option) override
 
void visit (typed_option< float > &option) override
 
void visit (typed_option< std::string > &option) override
 
void visit (typed_option< bool > &option) override
 
void visit (typed_option< std::vector< std::string > > &option) override
 
virtual void add (base_option &argument)=0
 
virtual std::string str () const =0
 
virtual size_t size () const =0
 

Constructor & Destructor Documentation

◆ cli_options_serializer()

VW::config::cli_options_serializer::cli_options_serializer ( )

Member Function Documentation

◆ add()

void VW::config::cli_options_serializer::add ( base_option option)
overridevirtual

◆ size()

size_t VW::config::cli_options_serializer::size ( ) const
overridevirtual

◆ str()

std::string VW::config::cli_options_serializer::str ( ) const
overridevirtual

◆ visit() [1/8]

void VW::config::cli_options_serializer::visit ( typed_option< bool > &  option)
overridevirtual

Reimplemented from VW::config::typed_option_visitor.

◆ visit() [2/8]

void VW::config::cli_options_serializer::visit ( typed_option< float > &  option)
overridevirtual

Reimplemented from VW::config::typed_option_visitor.

◆ visit() [3/8]

void VW::config::cli_options_serializer::visit ( typed_option< int32_t > &  option)
overridevirtual

Reimplemented from VW::config::typed_option_visitor.

◆ visit() [4/8]

void VW::config::cli_options_serializer::visit ( typed_option< int64_t > &  option)
overridevirtual

Reimplemented from VW::config::typed_option_visitor.

◆ visit() [5/8]

void VW::config::cli_options_serializer::visit ( typed_option< std::string > &  option)
overridevirtual

Reimplemented from VW::config::typed_option_visitor.

◆ visit() [6/8]

void VW::config::cli_options_serializer::visit ( typed_option< std::vector< std::string > > &  option)
overridevirtual

Reimplemented from VW::config::typed_option_visitor.

◆ visit() [7/8]

void VW::config::cli_options_serializer::visit ( typed_option< uint32_t > &  option)
overridevirtual

Reimplemented from VW::config::typed_option_visitor.

◆ visit() [8/8]

void VW::config::cli_options_serializer::visit ( typed_option< uint64_t > &  option)
overridevirtual

Reimplemented from VW::config::typed_option_visitor.


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