92 ObjectProperty(Type t,
const std::string &l,
int o = 0,
const std::vector<std::pair<int, std::string>> &its = {})
93 : type(t), label(l), enum_items(its), order(o)
99 std::vector<std::pair<int, std::string>> enum_items;
106 const std::map<ObjectProperty::ID, ObjectProperty> &props)
107 : name(n), name_pl(n_pl), properties(props)
113 const std::map<ObjectProperty::ID, ObjectProperty> properties;
115 const std::string &get_name_for_n(
size_t n)
const;
118extern const std::map<ObjectType, ObjectDescription> object_descriptions;
Represent a contiguous set of PCB layers.
Definition pns_layerset.h:32
An abstract shape on 2D plane.
Definition shape.h:117
Definition object_descr.hpp:103
Definition object_descr.hpp:6