2 #include "common/layer.hpp" 4 #include "pool/padstack.hpp" 5 #include "pool/pool.hpp" 14 bool has_object_type(ObjectType ty)
override;
18 void rebuild(
bool from_undo =
false)
override;
19 void commit()
override;
20 void revert()
override;
23 Padstack *get_padstack(
bool work =
true);
25 bool set_property(ObjectType type,
const UUID &uu, ObjectProperty::ID property,
27 bool get_property(ObjectType type,
const UUID &uu, ObjectProperty::ID property,
29 bool get_property_meta(ObjectType type,
const UUID &uu, ObjectProperty::ID property,
32 std::string get_display_name(ObjectType type,
const UUID &uu)
override;
35 std::pair<Coordi, Coordi> get_bbox()
override;
38 std::map<UUID, Polygon> *get_polygon_map(
bool work =
true)
override;
39 std::map<UUID, Hole> *get_hole_map(
bool work =
true)
override;
42 std::string m_filename;
46 HistoryItem(
const Padstack &s) : padstack(s)
51 void history_push()
override;
52 void history_load(
unsigned int i)
override;
55 std::string parameter_program_code;
56 ParameterSet parameter_set;
57 std::set<ParameterID> parameters_required;
Definition: core_padstack.hpp:11
void rebuild(bool from_undo=false) override
Expands the non-working document.
Definition: core_padstack.cpp:215
Definition: core_properties.hpp:7
Definition: padstack.hpp:21
Where Tools and and documents meet.
Definition: core.hpp:232
Definition: layer_provider.hpp:7
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Stores objects (Unit, Entity, Symbol, Part, etc.) from the pool.
Definition: pool.hpp:19