8 enum class Type { BOOL, INT, STRING, STRING_RO, LENGTH, LAYER, LAYER_COPPER, NET_CLASS, ENUM, DIM, ANGLE, ANGLE90 };
55 ObjectProperty(Type t,
const std::string &l,
int o = 0,
const std::vector<std::pair<int, std::string>> &its = {})
56 : type(t), label(l), enum_items(its), order(o)
62 std::vector<std::pair<int, std::string>> enum_items;
69 const std::map<ObjectProperty::ID, ObjectProperty> &props)
70 : name(n), name_pl(n_pl), properties(props)
76 const std::map<ObjectProperty::ID, ObjectProperty> properties;
78 const std::string &get_name_for_n(
size_t n)
const;
81 extern const std::map<ObjectType, ObjectDescription> object_descriptions;
Definition: object_descr.hpp:66
Class SHAPE.
Definition: shape.h:58
Definition: object_descr.hpp:6