Horizon
Loading...
Searching...
No Matches
pasted_package.hpp
1#pragma once
2#include "util/uuid.hpp"
3#include "util/placement.hpp"
4#include "nlohmann/json_fwd.hpp"
5#include <set>
6
7namespace horizon {
8using json = nlohmann::json;
10public:
11 PastedPackage(const UUID &uu, const json &j);
12 UUID uuid;
13 Placement placement;
14 bool flip;
15 bool omit_silkscreen;
16 bool smashed;
17 UUID group;
18 UUID tag;
19 UUID package;
20 UUID alternate_package;
21 std::map<UUID, UUID> connections;
22 std::set<UUID> texts;
23};
24
25} // namespace horizon
Definition pasted_package.hpp:9
Definition placement.hpp:8
This class encapsulates a UUID and allows it to be uses as a value type.
Definition uuid.hpp:16
a class to store JSON values
Definition json.hpp:177
basic_json<> json
default JSON class
Definition json_fwd.hpp:62