Lines Matching defs:LabeledTuple
144 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()
195 const auto& at_label() const in at_label()
201 auto& at_label() in at_label()
206 bool operator==(const LabeledTuple& other) const in operator ==()
219 bool operator<(const LabeledTuple& other) const in operator <()
226 void to_json_all(nlohmann::json& j, std::index_sequence<Idx...>) const in to_json_all()
232 void to_json_item(nlohmann::json& j) const in to_json_item()
248 void from_json_all(const nlohmann::json& j, std::index_sequence<Idx...>) in from_json_all()
254 void from_json_item(const nlohmann::json& j) in from_json_item()
271 static auto& find_item(Self& self) in find_item()
286 tuple_type value;