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"
25 std::vector<uuid_ptr<Text>> texts;
27 enum class PinDisplayMode { SELECTED_ONLY, BOTH, ALL, CUSTOM_ONLY };
28 PinDisplayMode pin_display_mode = PinDisplayMode::SELECTED_ONLY;
29 bool display_directions =
false;
30 bool display_all_pads =
true;
31 unsigned int expand = 0;
33 void apply_pin_names();
35 std::string replace_text(
const std::string &t,
bool *replaced,
const class Schematic &sch,
37 std::string get_custom_value()
const;
39 std::string custom_value;
41 UUID get_uuid()
const;
42 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:15
A Schematic is the visual representation of a Block.
Definition: schematic.hpp:29
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