2 #include "util/uuid.hpp"
4 #include "util/uuid_provider.hpp"
5 #include "nlohmann/json_fwd.hpp"
10 #include "util/placement.hpp"
28 std::string parameter_class;
36 enum class Shape { ROUND, SLOT };
37 Shape shape = Shape::ROUND;
42 virtual UUID get_uuid()
const;
45 json serialize()
const;
Polygon used in Padstack, Package and Board for specifying filled Regions.
Definition: polygon.hpp:27
For commonly used Pad shapes.
Definition: shape.hpp:19
basic_json<> json
default JSON class
Definition: json_fwd.hpp:61
bool plated
true if this hole is PTH, false if NPTH.
Definition: hole.hpp:34
zip_uint64_t uint64_t
zip_uint64_t_t typedef.
Definition: zip.hpp:108
a class to store JSON values
Definition: json.hpp:161
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Interface for objects that have a UUID.
Definition: uuid_provider.hpp:9
Definition: placement.hpp:8
A hole with diameter and position, that's it.
Definition: hole.hpp:19