Visitor for converting a variant to a string. More...
Public Member Functions | |
string_visitor (const std::string &fallback) | |
std::string | operator() (const utils::monostate &) const |
std::string | operator() (const yes_no &b) const |
std::string | operator() (const true_false &b) const |
std::string | operator() (int i) const |
std::string | operator() (unsigned long long u) const |
std::string | operator() (double d) const |
std::string | operator() (const std::string &s) const |
std::string | operator() (const t_string &s) const |
Private Attributes | |
const std::string | default_ |
Visitor for converting a variant to a string.
Definition at line 312 of file config_attribute_value.cpp.
|
inline |
Definition at line 320 of file config_attribute_value.cpp.
|
inline |
Definition at line 329 of file config_attribute_value.cpp.
References s.
|
inline |
Definition at line 330 of file config_attribute_value.cpp.
References s.
|
inline |
Definition at line 324 of file config_attribute_value.cpp.
References b.
|
inline |
Definition at line 322 of file config_attribute_value.cpp.
References default_.
|
inline |
Definition at line 323 of file config_attribute_value.cpp.
References b.
|
inline |
Definition at line 328 of file config_attribute_value.cpp.
References d, and utils::charconv_buffer< TNum >::to_string().
|
inline |
Definition at line 326 of file config_attribute_value.cpp.
References i, and utils::charconv_buffer< TNum >::to_string().
|
inline |
Definition at line 327 of file config_attribute_value.cpp.
References utils::charconv_buffer< TNum >::to_string().
|
private |
Definition at line 317 of file config_attribute_value.cpp.
Referenced by operator()().