2 #include "util/uuid.hpp"
3 #include "nlohmann/json_fwd.hpp"
4 #include "pool/unit.hpp"
5 #include "block/block.hpp"
6 #include "schematic_symbol.hpp"
7 #include "line_net.hpp"
8 #include "common/text.hpp"
9 #include "net_label.hpp"
10 #include "bus_label.hpp"
11 #include "bus_ripper.hpp"
12 #include "power_symbol.hpp"
13 #include "common/line.hpp"
14 #include "common/arc.hpp"
15 #include "util/warning.hpp"
16 #include "common/layer_provider.hpp"
17 #include "frame/frame.hpp"
29 bool has_label =
false;
30 bool has_power_sym =
false;
45 std::map<UUID, Junction> junctions;
46 std::map<UUID, SchematicSymbol> symbols;
48 std::map<UUID, class LineNet> net_lines;
49 std::map<UUID, class Text> texts;
50 std::map<UUID, NetLabel> net_labels;
51 std::map<UUID, PowerSymbol> power_symbols;
52 std::map<UUID, BusLabel> bus_labels;
53 std::map<UUID, BusRipper> bus_rippers;
54 std::map<UUID, Line> lines;
55 std::map<UUID, Arc> arcs;
56 std::map<std::string, std::string> title_block_values;
57 std::vector<Warning> warnings;
61 void expand_symbols(
const class Schematic &sch);
62 void simplify_net_lines(
bool simplify);
64 void delete_duplicate_net_lines();
65 void vacuum_junctions();
66 void delete_dependants();
67 void propagate_net_segments();
68 std::map<UUID, NetSegmentInfo> analyze_net_segments(
bool place_warnings =
false);
69 std::set<UUIDPath<3>> get_pins_connected_to_net_segment(
const UUID &uu_segment);
86 json serialize()
const;