Home
last modified time | relevance | path

Searched defs:LabeledTuple (Results 1 – 1 of 1) sorted by relevance

/openbmc/telemetry/src/utils/
H A Dlabeled_tuple.hpp144 struct LabeledTuple<std::tuple<Args...>, Labels...> struct
148 using tuple_type = std::tuple<Args...>;
154 explicit LabeledTuple(tuple_type v) : value(std::move(v)) {} in LabeledTuple() argument
155 LabeledTuple(Args... args) : value(std::move(args)...) {} in LabeledTuple() function
160 nlohmann::json to_json() const in to_json()
167 const tuple_type& to_tuple() const in to_tuple()
172 void from_json(const nlohmann::json& j) in from_json()
177 std::string dump() const in dump()
183 const auto& at_index() const in at_index()
189 auto& at_index() in at_index()
[all …]