3 #include "nlohmann/json_fwd.hpp" 5 #include "util/uuid.hpp" 21 static Entity new_from_file(
const std::string &filename,
Pool &pool);
24 std::string manufacturer;
26 std::set<std::string> tags;
27 std::map<UUID, Gate> gates;
28 void serialize_yaml(YAML::Emitter &em)
const;
29 json serialize()
const;
30 void update_refs(
Pool &pool);
31 UUID get_uuid()
const;
a class to store JSON values
Definition: json.hpp:161
Interface for objects that have a UUID.
Definition: uuid_provider.hpp:9
Definition: entity.hpp:13
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Stores objects (Unit, Entity, Symbol, Part, etc.) from the pool.
Definition: pool.hpp:19
basic_json<> json
default JSON class
Definition: json_fwd.hpp:61