3 #include "../odbdesign_export.h"
8 #include "../ProtoBuf/part.pb.h"
9 #include "../IProtoBuffable.h"
11 namespace Odb::Lib::ProductModel
16 Part(
const std::string& name);
18 std::string GetName()
const;
20 typedef std::vector<std::shared_ptr<Part>> Vector;
21 typedef std::map<std::string, std::shared_ptr<Part>> StringMap;
24 std::unique_ptr<Odb::Lib::Protobuf::ProductModel::Part> to_protobuf()
const override;
25 void from_protobuf(
const Odb::Lib::Protobuf::ProductModel::Part& message)
override;