3 #include "pool/symbol.hpp"
4 #include "document/idocument_symbol.hpp"
10 bool has_object_type(ObjectType ty)
const override;
11 Symbol &get_symbol()
override;
14 Line *get_line(
const UUID &uu)
override;
16 Arc *get_arc(
const UUID &uu)
override;
19 void delete_junction(
const UUID &uu)
override;
20 Line *insert_line(
const UUID &uu)
override;
21 void delete_line(
const UUID &uu)
override;
22 Arc *insert_arc(
const UUID &uu)
override;
23 void delete_arc(
const UUID &uu)
override;
26 void delete_symbol_pin(
const UUID &uu)
override;
30 std::vector<Line *> get_lines()
override;
31 std::vector<Arc *> get_arcs()
override;
33 bool set_property(ObjectType type,
const UUID &uu, ObjectProperty::ID property,
35 bool get_property(ObjectType type,
const UUID &uu, ObjectProperty::ID property,
37 bool get_property_meta(ObjectType type,
const UUID &uu, ObjectProperty::ID property,
40 std::string get_display_name(ObjectType type,
const UUID &uu)
override;
42 const Symbol &get_canvas_data();
43 std::pair<Coordi, Coordi> get_bbox()
override;
45 void reload_pool()
override;
49 const std::string &get_filename()
const override;
51 ObjectType get_object_type()
const override
53 return ObjectType::SYMBOL;
56 class Rules *get_rules()
override;
65 std::map<UUID, Text> *get_text_map()
override;
66 std::map<UUID, Polygon> *get_polygon_map()
override;
69 std::string m_filename;
81 void rebuild_internal(
bool from_undo,
const std::string &comment)
override;
82 void history_push(
const std::string &comment)
override;
83 void history_load(
unsigned int i)
override;
84 void save(
const std::string &suffix)
override;
85 void delete_autosave()
override;
Graphical arc.
Definition: arc.hpp:17
Definition: core_symbol.hpp:7
Where Tools and and documents meet.
Definition: core.hpp:42
Definition: file_version.hpp:9
Definition: idocument_symbol.hpp:5
A Junction is a point in 2D-Space.
Definition: junction.hpp:20
Definition: layer_provider.hpp:7
Graphical line.
Definition: line.hpp:16
Definition: core_properties.hpp:7
Definition: symbol.hpp:20
Definition: symbol_rules.hpp:10
Definition: symbol.hpp:72
PinDisplayMode
fills in information from the referenced unit
Definition: symbol.hpp:86
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16