#include <gtopt/json/json_flow_right.hpp>
template<>
json_data_contract<FlowRight> struct
Public types
- using constructor_t = FlowRightConstructor
-
using type = json_member_list<json_number<"uid", Uid>, json_string<"name", Name>, json_variant_null<"active", OptActive, jvtl_
Active>, json_string_null<"purpose", OptName>, json_variant_null<"junction", OptSingleId, jvtl_ SingleId>, json_number_null<"direction", OptInt>, json_variant<"discharge", STBRealFieldSched, jvtl_ STBRealFieldSched>, json_variant_null<"fmax", OptTBRealFieldSched, jvtl_ TBRealFieldSched>, json_bool_null<"use_average", OptBool>, json_variant_null<"fail_cost", OptTBRealFieldSched, jvtl_ TBRealFieldSched>, json_variant_null<"use_value", OptTBRealFieldSched, jvtl_ TBRealFieldSched>, json_number_null<"priority", OptReal>, json_class_null<"bound_rule", std::optional<RightBoundRule>>>
Public static functions
- static auto to_json_data(FlowRight const& fr) -> auto constexpr