3 #include "nlohmann/json_fwd.hpp"
5 #include "util/uuid.hpp"
9 #include "util/file_version.hpp"
16 Entity(
const UUID &uu,
const json &,
class IPool &pool);
19 Entity(
const UUID &uu);
21 static Entity new_from_file(
const std::string &filename, IPool &pool);
24 std::string manufacturer;
26 std::set<std::string> tags;
27 std::map<UUID, Gate> gates;
30 json serialize()
const;
31 void update_refs(IPool &pool);
32 UUID get_uuid()
const;
a class to store JSON values
Definition: json.hpp:166
basic_json<> json
default JSON class
Definition: json_fwd.hpp:61