2 #include "nlohmann/json_fwd.hpp"
4 #include "pool/unit.hpp"
5 #include "util/uuid.hpp"
6 #include "util/uuid_ptr.hpp"
24 Member(
const UUID &uu,
const json &,
class Block &block);
25 Member(
const UUID &uu);
28 uuid_ptr<Net> net =
nullptr;
29 json serialize()
const;
30 UUID get_uuid()
const;
33 Bus(
const UUID &uu,
const json &,
class Block &block);
35 UUID get_uuid()
const;
38 std::map<UUID, Member> members;
39 bool is_referenced =
false;
40 void update_refs(Block &block);
41 json serialize()
const;
a class to store JSON values
Definition: json.hpp:166
basic_json<> json
default JSON class
Definition: json_fwd.hpp:61