2 #include "common/layer.hpp" 4 #include "pool/padstack.hpp" 5 #include "pool/pool.hpp" 14 bool has_object_type(ObjectType ty)
const override;
18 void rebuild(
bool from_undo =
false)
override;
19 void commit()
override;
20 void revert()
override;
22 Padstack *get_padstack(
bool work =
true);
24 bool set_property(ObjectType type,
const UUID &uu, ObjectProperty::ID property,
26 bool get_property(ObjectType type,
const UUID &uu, ObjectProperty::ID property,
28 bool get_property_meta(ObjectType type,
const UUID &uu, ObjectProperty::ID property,
31 std::string get_display_name(ObjectType type,
const UUID &uu)
override;
34 std::pair<Coordi, Coordi> get_bbox()
override;
36 const std::string &get_filename()
const override;
39 std::map<UUID, Polygon> *get_polygon_map(
bool work =
true)
override;
40 std::map<UUID, Hole> *get_hole_map(
bool work =
true)
override;
43 std::string m_filename;
47 HistoryItem(
const Padstack &s) : padstack(s)
52 void history_push()
override;
53 void history_load(
unsigned int i)
override;
54 void save(
const std::string &suffix)
override;
55 void delete_autosave()
override;
58 std::string parameter_program_code;
59 ParameterSet parameter_set;
60 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:218
Definition: core_properties.hpp:7
Definition: padstack.hpp:21
Where Tools and and documents meet.
Definition: core.hpp:240
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:21