3 #include "../../odbdesign_export.h"
8 #include "../../IProtoBuffable.h"
9 #include "../../ProtoBuf/stephdrfile.pb.h"
10 #include "../OdbFile.h"
11 #include "../IStreamSaveable.h"
13 namespace Odb::Lib::FileModel::Design
33 typedef std::vector<std::shared_ptr<StepRepeatRecord>> Vector;
35 constexpr
static const char* ARRAY_HEADER_TOKEN =
"STEP-REPEAT";
38 std::unique_ptr<Odb::Lib::Protobuf::StepHdrFile::StepRepeatRecord> to_protobuf()
const override;
39 void from_protobuf(
const Odb::Lib::Protobuf::StepHdrFile::StepRepeatRecord& message)
override;
42 bool Parse(std::filesystem::path path)
override;
44 bool Save(std::ostream& os)
override;
47 std::unique_ptr<Odb::Lib::Protobuf::StepHdrFile> to_protobuf()
const override;
48 void from_protobuf(
const Odb::Lib::Protobuf::StepHdrFile& message)
override;
61 std::string affectingBom;
62 bool affectingBomChanged;
63 std::map<std::string, std::string> m_onlineValues;
65 StepRepeatRecord::Vector m_stepRepeatRecords;