FlowRightConstructor struct
#include <gtopt/json/json_flow_right.hpp>
Custom constructor so that json_class_null<"bound_rule"> maps absent/null JSON to std::nullopt rather than a default RightBoundRule.
Public functions
- auto operator()(Uid uid, Name name, OptActive active, OptName purpose, OptSingleId junction, OptInt direction, STBRealFieldSched discharge, OptTBRealFieldSched fmax, OptBool use_average, OptTBRealFieldSched fail_cost, OptTBRealFieldSched use_value, OptReal priority, std::optional<RightBoundRule> bound_rule) const -> FlowRight