Horizon
schematic_net_tie.hpp
1 #pragma once
2 #include "util/uuid.hpp"
3 #include "nlohmann/json_fwd.hpp"
4 #include "util/uuid_ptr.hpp"
5 
6 namespace horizon {
7 using json = nlohmann::json;
8 
9 
11 public:
12  SchematicNetTie(const UUID &uu, const json &j, class Sheet &sheet, class Block &block);
13  SchematicNetTie(const UUID &uu);
14  UUID uuid;
15  UUID get_uuid() const;
16 
17  void update_refs(class Sheet &sheet);
18 
19  uuid_ptr<class NetTie> net_tie;
22 
23  json serialize() const;
24 };
25 } // namespace horizon
A block is one level of hierarchy in the netlist.
Definition: block.hpp:29
Definition: schematic_net_tie.hpp:10
Definition: sheet.hpp:42
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