2 #include "util/uuid.hpp"
3 #include "nlohmann/json_fwd.hpp"
4 #include "pool/unit.hpp"
5 #include "pool/symbol.hpp"
6 #include "pool/gate.hpp"
7 #include "block/block.hpp"
8 #include "util/uuid_ptr.hpp"
9 #include "util/placement.hpp"
27 std::vector<uuid_ptr<Text>> texts;
29 enum class PinDisplayMode { SELECTED_ONLY, BOTH, ALL, CUSTOM_ONLY };
30 PinDisplayMode pin_display_mode = PinDisplayMode::SELECTED_ONLY;
31 bool display_directions =
false;
32 bool display_all_pads =
true;
33 unsigned int expand = 0;
35 void apply_pin_names();
37 std::string replace_text(
const std::string &t,
bool *replaced,
const class Schematic &sch,
39 std::string get_custom_value()
const;
41 std::string custom_value;
43 UUID get_uuid()
const;
44 json serialize()
const;
Definition: block_instance.hpp:8
A block is one level of hierarchy in the netlist.
Definition: block.hpp:29
Definition: placement.hpp:8
Definition: schematic_symbol.hpp:17
A Schematic is the visual representation of a Block.
Definition: schematic.hpp:30
Definition: symbol.hpp:72
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Definition: uuid_ptr.hpp:8
a class to store JSON values
Definition: json.hpp:177
basic_json<> json
default JSON class
Definition: json_fwd.hpp:62