2 #include "common/common.hpp"
3 #include "nlohmann/json_fwd.hpp"
5 #include "util/uuid.hpp"
6 #include "util/uuid_path.hpp"
7 #include "util/uuid_ptr.hpp"
23 json serialize()
const;
44 virtual UUID get_uuid()
const;
47 const class Entity *entity;
48 const class Part *part =
nullptr;
64 std::map<UUIDPath<2>, std::string> custom_pin_names;
66 std::string replace_text(
const std::string &t,
bool *replaced =
nullptr)
const;
68 json serialize()
const;
std::map< UUIDPath< 2 >, std::set< int > > pin_names
used to select alternate pin names
Definition: component.hpp:63
std::map< UUIDPath< 2 >, Connection > connections
which Nins are connected to which Net the UUIDPath consists of Gate and Pin UUID
Definition: component.hpp:58
Definition: uuid_ptr.hpp:9
basic_json<> json
default JSON class
Definition: json_fwd.hpp:61
Definition: entity.hpp:13
A block is one level of hierarchy in the netlist.
Definition: block.hpp:26
Definition: component.hpp:15
A Component is an instanced Entity in a Block.
Definition: component.hpp:39
a class to store JSON values
Definition: json.hpp:161
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Stores objects (Unit, Entity, Symbol, Part, etc.) from the pool.
Definition: pool.hpp:21
Interface for objects that have a UUID.
Definition: uuid_provider.hpp:9