MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / get_string

Method get_string

OpenHD/ohd_telemetry/src/mavsdk_temporary/param_value.cpp:544–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542}
543
544[[nodiscard]] std::string ParamValue::get_string() const {
545 return std::visit([](auto value) { return to_string(value); }, _value);
546}
547
548[[nodiscard]] bool ParamValue::is_same_type(const ParamValue& rhs) const {
549 if ((std::get_if<uint8_t>(&_value) && std::get_if<uint8_t>(&rhs._value)) ||

Callers 2

param_value.cppFile · 0.80

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected