20 Net(
const std::string& name,
unsigned int index);
23 std::string GetName()
const;
28 unsigned int GetIndex()
const;
29 bool AddPinConnection(std::shared_ptr<Component> pComponent, std::shared_ptr<Pin> pPin,
unsigned int subnetNumber = 0);
32 std::unique_ptr<Odb::Lib::Protobuf::ProductModel::Net> to_protobuf()
const override;
33 void from_protobuf(
const Odb::Lib::Protobuf::ProductModel::Net& message)
override;
35 typedef std::vector<std::shared_ptr<Net>>
Vector;
36 typedef std::map<std::string, std::shared_ptr<Net>>
StringMap;