2 #include "util/uuid.hpp"
4 #include "block/net.hpp"
5 #include "util/uuid_ptr.hpp"
6 #include "nlohmann/json_fwd.hpp"
7 #include "block/bus.hpp"
8 #include "util/layer_range.hpp"
24 Junction(
const UUID &uu,
const json &j);
25 Junction(
const UUID &uu);
28 Coord<int64_t> position;
31 UUID get_uuid()
const;
34 uuid_ptr<Net> net =
nullptr;
35 uuid_ptr<Bus> bus =
nullptr;
36 UUID net_segment = UUID();
38 LayerRange layer = 10000;
39 bool needs_via =
false;
41 unsigned int connection_count = 0;
43 json serialize()
const;
a class to store JSON values
Definition: json.hpp:166
basic_json<> json
default JSON class
Definition: json_fwd.hpp:61