8 enum class Type { BOOL, INT, STRING, STRING_RO, LENGTH, LAYER, LAYER_COPPER, NET_CLASS, ENUM, DIM, ANGLE, ANGLE90 };
49 ObjectProperty(Type t,
const std::string &l,
int o = 0,
const std::vector<std::pair<int, std::string>> &its = {})
50 : type(t), label(l), enum_items(its), order(o)
56 std::vector<std::pair<int, std::string>> enum_items;
63 const std::map<ObjectProperty::ID, ObjectProperty> &props)
64 : name(n), name_pl(n_pl), properties(props)
70 const std::map<ObjectProperty::ID, ObjectProperty> properties;
73 extern const std::map<ObjectType, ObjectDescription> object_descriptions;
Definition: object_descr.hpp:60
Class SHAPE.
Definition: shape.h:57
Definition: object_descr.hpp:6