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

#include <metric_sink.h>

Public Member Functions

void set_uint (const std::string &key, uint64_t value, bool overwrite=false)
 
void set_float (const std::string &key, float value, bool overwrite=false)
 
void set_string (const std::string &key, const std::string &value, bool overwrite=false)
 
void set_bool (const std::string &key, bool value, bool overwrite=false)
 
void set_metric_sink (const std::string &key, metric_sink value, bool overwrite=false)
 
uint64_t get_uint (const std::string &key) const
 
float get_float (const std::string &key) const
 
VW::string_view get_string (const std::string &key) const
 
bool get_bool (const std::string &key) const
 
metric_sink get_metric_sink (const std::string &key) const
 
void visit (metric_sink_visitor &visitor) const
 

Member Function Documentation

◆ get_bool()

bool VW::metric_sink::get_bool ( const std::string &  key) const

◆ get_float()

float VW::metric_sink::get_float ( const std::string &  key) const

◆ get_metric_sink()

metric_sink VW::metric_sink::get_metric_sink ( const std::string &  key) const

◆ get_string()

VW::string_view VW::metric_sink::get_string ( const std::string &  key) const

◆ get_uint()

uint64_t VW::metric_sink::get_uint ( const std::string &  key) const

◆ set_bool()

void VW::metric_sink::set_bool ( const std::string &  key,
bool  value,
bool  overwrite = false 
)

◆ set_float()

void VW::metric_sink::set_float ( const std::string &  key,
float  value,
bool  overwrite = false 
)

◆ set_metric_sink()

void VW::metric_sink::set_metric_sink ( const std::string &  key,
metric_sink  value,
bool  overwrite = false 
)

◆ set_string()

void VW::metric_sink::set_string ( const std::string &  key,
const std::string &  value,
bool  overwrite = false 
)

◆ set_uint()

void VW::metric_sink::set_uint ( const std::string &  key,
uint64_t  value,
bool  overwrite = false 
)

◆ visit()

void VW::metric_sink::visit ( metric_sink_visitor visitor) const

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