3 #include "../odbdesign_export.h"
8 #include "../ProtoBuf/pin.pb.h"
9 #include "../IProtoBuffable.h"
12 namespace Odb::Lib::ProductModel
17 Pin(std::string name,
unsigned int index);
20 std::string GetName()
const;
21 unsigned int GetIndex()
const;
23 typedef std::vector<std::shared_ptr<Pin>> Vector;
24 typedef std::map<std::string, std::shared_ptr<Pin>> StringMap;
27 std::unique_ptr<Odb::Lib::Protobuf::ProductModel::Pin> to_protobuf()
const override;
28 void from_protobuf(
const Odb::Lib::Protobuf::ProductModel::Pin& message)
override;