Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: stephdrfile.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #include "stephdrfile.pb.h"
7 :
8 : #include <algorithm>
9 : #include <type_traits>
10 : #include "google/protobuf/io/coded_stream.h"
11 : #include "google/protobuf/generated_message_tctable_impl.h"
12 : #include "google/protobuf/extension_set.h"
13 : #include "google/protobuf/generated_message_util.h"
14 : #include "google/protobuf/wire_format_lite.h"
15 : #include "google/protobuf/descriptor.h"
16 : #include "google/protobuf/generated_message_reflection.h"
17 : #include "google/protobuf/reflection_ops.h"
18 : #include "google/protobuf/wire_format.h"
19 : // @@protoc_insertion_point(includes)
20 :
21 : // Must be included last.
22 : #include "google/protobuf/port_def.inc"
23 : PROTOBUF_PRAGMA_INIT_SEG
24 : namespace _pb = ::google::protobuf;
25 : namespace _pbi = ::google::protobuf::internal;
26 : namespace _fl = ::google::protobuf::internal::field_layout;
27 : namespace Odb {
28 : namespace Lib {
29 : namespace Protobuf {
30 :
31 : inline constexpr StepHdrFile_StepRepeatRecord::Impl_::Impl_(
32 : ::_pbi::ConstantInitialized) noexcept
33 : : _cached_size_{0},
34 : name_(
35 : &::google::protobuf::internal::fixed_address_empty_string,
36 : ::_pbi::ConstantInitialized()),
37 : x_{0},
38 : y_{0},
39 : dx_{0},
40 : dy_{0},
41 : nx_{0},
42 : ny_{0},
43 : angle_{0},
44 : flip_{false},
45 : mirror_{false} {}
46 :
47 : template <typename>
48 : PROTOBUF_CONSTEXPR StepHdrFile_StepRepeatRecord::StepHdrFile_StepRepeatRecord(::_pbi::ConstantInitialized)
49 : #if defined(PROTOBUF_CUSTOM_VTABLE)
50 : : ::google::protobuf::Message(StepHdrFile_StepRepeatRecord_class_data_.base()),
51 : #else // PROTOBUF_CUSTOM_VTABLE
52 : : ::google::protobuf::Message(),
53 : #endif // PROTOBUF_CUSTOM_VTABLE
54 : _impl_(::_pbi::ConstantInitialized()) {
55 : }
56 : struct StepHdrFile_StepRepeatRecordDefaultTypeInternal {
57 : PROTOBUF_CONSTEXPR StepHdrFile_StepRepeatRecordDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
58 319 : ~StepHdrFile_StepRepeatRecordDefaultTypeInternal() {}
59 : union {
60 : StepHdrFile_StepRepeatRecord _instance;
61 : };
62 : };
63 :
64 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
65 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StepHdrFile_StepRepeatRecordDefaultTypeInternal _StepHdrFile_StepRepeatRecord_default_instance_;
66 : template <typename>
67 : PROTOBUF_CONSTEXPR StepHdrFile_OnlineValuesEntry_DoNotUse::StepHdrFile_OnlineValuesEntry_DoNotUse(::_pbi::ConstantInitialized)
68 : #if defined(PROTOBUF_CUSTOM_VTABLE)
69 : : StepHdrFile_OnlineValuesEntry_DoNotUse::MapEntry(StepHdrFile_OnlineValuesEntry_DoNotUse_class_data_.base()){}
70 : #else // PROTOBUF_CUSTOM_VTABLE
71 : : StepHdrFile_OnlineValuesEntry_DoNotUse::MapEntry() {
72 : }
73 : #endif // PROTOBUF_CUSTOM_VTABLE
74 : struct StepHdrFile_OnlineValuesEntry_DoNotUseDefaultTypeInternal {
75 : PROTOBUF_CONSTEXPR StepHdrFile_OnlineValuesEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
76 319 : ~StepHdrFile_OnlineValuesEntry_DoNotUseDefaultTypeInternal() {}
77 : union {
78 : StepHdrFile_OnlineValuesEntry_DoNotUse _instance;
79 : };
80 : };
81 :
82 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
83 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StepHdrFile_OnlineValuesEntry_DoNotUseDefaultTypeInternal _StepHdrFile_OnlineValuesEntry_DoNotUse_default_instance_;
84 :
85 : inline constexpr StepHdrFile::Impl_::Impl_(
86 : ::_pbi::ConstantInitialized) noexcept
87 : : _cached_size_{0},
88 : steprepeatrecords_{},
89 : affectingbom_(
90 : &::google::protobuf::internal::fixed_address_empty_string,
91 : ::_pbi::ConstantInitialized()),
92 : online_(
93 : &::google::protobuf::internal::fixed_address_empty_string,
94 : ::_pbi::ConstantInitialized()),
95 : path_(
96 : &::google::protobuf::internal::fixed_address_empty_string,
97 : ::_pbi::ConstantInitialized()),
98 : xdatum_{0},
99 : ydatum_{0},
100 : xorigin_{0},
101 : yorigin_{0},
102 : topactive_{0},
103 : bottomactive_{0},
104 : id_{0},
105 : affectingbomchanged_{false},
106 : rightactive_{0},
107 : leftactive_{0},
108 : onlinevalues_{} {}
109 :
110 : template <typename>
111 : PROTOBUF_CONSTEXPR StepHdrFile::StepHdrFile(::_pbi::ConstantInitialized)
112 : #if defined(PROTOBUF_CUSTOM_VTABLE)
113 : : ::google::protobuf::Message(StepHdrFile_class_data_.base()),
114 : #else // PROTOBUF_CUSTOM_VTABLE
115 : : ::google::protobuf::Message(),
116 : #endif // PROTOBUF_CUSTOM_VTABLE
117 : _impl_(::_pbi::ConstantInitialized()) {
118 : }
119 : struct StepHdrFileDefaultTypeInternal {
120 : PROTOBUF_CONSTEXPR StepHdrFileDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
121 319 : ~StepHdrFileDefaultTypeInternal() {}
122 : union {
123 : StepHdrFile _instance;
124 : };
125 : };
126 :
127 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
128 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StepHdrFileDefaultTypeInternal _StepHdrFile_default_instance_;
129 : } // namespace Protobuf
130 : } // namespace Lib
131 : } // namespace Odb
132 : static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
133 : file_level_enum_descriptors_stephdrfile_2eproto = nullptr;
134 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
135 : file_level_service_descriptors_stephdrfile_2eproto = nullptr;
136 : const ::uint32_t
137 : TableStruct_stephdrfile_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
138 : protodesc_cold) = {
139 : 0x081, // bitmap
140 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_._has_bits_),
141 : 13, // hasbit index offset
142 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_.name_),
143 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_.x_),
144 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_.y_),
145 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_.dx_),
146 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_.dy_),
147 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_.nx_),
148 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_.ny_),
149 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_.angle_),
150 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_.flip_),
151 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord, _impl_.mirror_),
152 : 0,
153 : 1,
154 : 2,
155 : 3,
156 : 4,
157 : 5,
158 : 6,
159 : 7,
160 : 8,
161 : 9,
162 : 0x081, // bitmap
163 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_OnlineValuesEntry_DoNotUse, _impl_._has_bits_),
164 : 5, // hasbit index offset
165 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_OnlineValuesEntry_DoNotUse, _impl_.key_),
166 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile_OnlineValuesEntry_DoNotUse, _impl_.value_),
167 : 0,
168 : 1,
169 : 0x081, // bitmap
170 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_._has_bits_),
171 : 18, // hasbit index offset
172 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.xdatum_),
173 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.ydatum_),
174 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.id_),
175 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.xorigin_),
176 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.yorigin_),
177 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.topactive_),
178 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.bottomactive_),
179 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.rightactive_),
180 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.leftactive_),
181 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.affectingbom_),
182 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.affectingbomchanged_),
183 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.online_),
184 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.steprepeatrecords_),
185 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.path_),
186 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepHdrFile, _impl_.onlinevalues_),
187 : 4,
188 : 5,
189 : 10,
190 : 6,
191 : 7,
192 : 8,
193 : 9,
194 : 12,
195 : 13,
196 : 1,
197 : 11,
198 : 2,
199 : 0,
200 : 3,
201 : 14,
202 : };
203 :
204 : static const ::_pbi::MigrationSchema
205 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
206 : {0, sizeof(::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord)},
207 : {23, sizeof(::Odb::Lib::Protobuf::StepHdrFile_OnlineValuesEntry_DoNotUse)},
208 : {30, sizeof(::Odb::Lib::Protobuf::StepHdrFile)},
209 : };
210 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
211 : &::Odb::Lib::Protobuf::_StepHdrFile_StepRepeatRecord_default_instance_._instance,
212 : &::Odb::Lib::Protobuf::_StepHdrFile_OnlineValuesEntry_DoNotUse_default_instance_._instance,
213 : &::Odb::Lib::Protobuf::_StepHdrFile_default_instance_._instance,
214 : };
215 : const char descriptor_table_protodef_stephdrfile_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
216 : protodesc_cold) = {
217 : "\n\021stephdrfile.proto\022\020Odb.Lib.Protobuf\"\315\007"
218 : "\n\013StepHdrFile\022\023\n\006xDatum\030\001 \001(\001H\000\210\001\001\022\023\n\006yD"
219 : "atum\030\002 \001(\001H\001\210\001\001\022\017\n\002id\030\003 \001(\005H\002\210\001\001\022\024\n\007xOri"
220 : "gin\030\004 \001(\001H\003\210\001\001\022\024\n\007yOrigin\030\005 \001(\001H\004\210\001\001\022\026\n\t"
221 : "topActive\030\006 \001(\001H\005\210\001\001\022\031\n\014bottomActive\030\007 \001"
222 : "(\001H\006\210\001\001\022\030\n\013rightActive\030\010 \001(\001H\007\210\001\001\022\027\n\nlef"
223 : "tActive\030\t \001(\001H\010\210\001\001\022\031\n\014affectingBom\030\n \001(\t"
224 : "H\t\210\001\001\022 \n\023affectingBomChanged\030\013 \001(\010H\n\210\001\001\022"
225 : "\023\n\006online\030\014 \001(\tH\013\210\001\001\022I\n\021stepRepeatRecord"
226 : "s\030\r \003(\0132..Odb.Lib.Protobuf.StepHdrFile.S"
227 : "tepRepeatRecord\022\021\n\004path\030\016 \001(\tH\014\210\001\001\022E\n\014on"
228 : "lineValues\030\017 \003(\0132/.Odb.Lib.Protobuf.Step"
229 : "HdrFile.OnlineValuesEntry\032\224\002\n\020StepRepeat"
230 : "Record\022\021\n\004name\030\001 \001(\tH\000\210\001\001\022\016\n\001x\030\002 \001(\001H\001\210\001"
231 : "\001\022\016\n\001y\030\003 \001(\001H\002\210\001\001\022\017\n\002dx\030\004 \001(\001H\003\210\001\001\022\017\n\002dy"
232 : "\030\005 \001(\001H\004\210\001\001\022\017\n\002nx\030\006 \001(\005H\005\210\001\001\022\017\n\002ny\030\007 \001(\005"
233 : "H\006\210\001\001\022\022\n\005angle\030\010 \001(\001H\007\210\001\001\022\021\n\004flip\030\t \001(\010H"
234 : "\010\210\001\001\022\023\n\006mirror\030\n \001(\010H\t\210\001\001B\007\n\005_nameB\004\n\002_x"
235 : "B\004\n\002_yB\005\n\003_dxB\005\n\003_dyB\005\n\003_nxB\005\n\003_nyB\010\n\006_a"
236 : "ngleB\007\n\005_flipB\t\n\007_mirror\0323\n\021OnlineValues"
237 : "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\t\n"
238 : "\007_xDatumB\t\n\007_yDatumB\005\n\003_idB\n\n\010_xOriginB\n"
239 : "\n\010_yOriginB\014\n\n_topActiveB\017\n\r_bottomActiv"
240 : "eB\016\n\014_rightActiveB\r\n\013_leftActiveB\017\n\r_aff"
241 : "ectingBomB\026\n\024_affectingBomChangedB\t\n\007_on"
242 : "lineB\007\n\005_pathB\003\370\001\001b\006proto3"
243 : };
244 : static ::absl::once_flag descriptor_table_stephdrfile_2eproto_once;
245 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_stephdrfile_2eproto = {
246 : false,
247 : false,
248 : 1026,
249 : descriptor_table_protodef_stephdrfile_2eproto,
250 : "stephdrfile.proto",
251 : &descriptor_table_stephdrfile_2eproto_once,
252 : nullptr,
253 : 0,
254 : 3,
255 : schemas,
256 : file_default_instances,
257 : TableStruct_stephdrfile_2eproto::offsets,
258 : file_level_enum_descriptors_stephdrfile_2eproto,
259 : file_level_service_descriptors_stephdrfile_2eproto,
260 : };
261 : namespace Odb {
262 : namespace Lib {
263 : namespace Protobuf {
264 : // ===================================================================
265 :
266 : class StepHdrFile_StepRepeatRecord::_Internal {
267 : public:
268 : using HasBits =
269 : decltype(::std::declval<StepHdrFile_StepRepeatRecord>()._impl_._has_bits_);
270 : static constexpr ::int32_t kHasBitsOffset =
271 : 8 * PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_._has_bits_);
272 : };
273 :
274 0 : StepHdrFile_StepRepeatRecord::StepHdrFile_StepRepeatRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
275 : #if defined(PROTOBUF_CUSTOM_VTABLE)
276 : : ::google::protobuf::Message(arena, StepHdrFile_StepRepeatRecord_class_data_.base()) {
277 : #else // PROTOBUF_CUSTOM_VTABLE
278 0 : : ::google::protobuf::Message(arena) {
279 : #endif // PROTOBUF_CUSTOM_VTABLE
280 0 : SharedCtor(arena);
281 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord)
282 0 : }
283 0 : PROTOBUF_NDEBUG_INLINE StepHdrFile_StepRepeatRecord::Impl_::Impl_(
284 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
285 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
286 0 : [[maybe_unused]] const ::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord& from_msg)
287 0 : : _has_bits_{from._has_bits_},
288 0 : _cached_size_{0},
289 0 : name_(arena, from.name_) {}
290 :
291 0 : StepHdrFile_StepRepeatRecord::StepHdrFile_StepRepeatRecord(
292 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
293 0 : const StepHdrFile_StepRepeatRecord& from)
294 : #if defined(PROTOBUF_CUSTOM_VTABLE)
295 : : ::google::protobuf::Message(arena, StepHdrFile_StepRepeatRecord_class_data_.base()) {
296 : #else // PROTOBUF_CUSTOM_VTABLE
297 0 : : ::google::protobuf::Message(arena) {
298 : #endif // PROTOBUF_CUSTOM_VTABLE
299 0 : StepHdrFile_StepRepeatRecord* const _this = this;
300 : (void)_this;
301 0 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
302 0 : from._internal_metadata_);
303 0 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
304 0 : ::memcpy(reinterpret_cast<char*>(&_impl_) +
305 : offsetof(Impl_, x_),
306 0 : reinterpret_cast<const char*>(&from._impl_) +
307 : offsetof(Impl_, x_),
308 : offsetof(Impl_, mirror_) -
309 : offsetof(Impl_, x_) +
310 : sizeof(Impl_::mirror_));
311 :
312 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord)
313 0 : }
314 0 : PROTOBUF_NDEBUG_INLINE StepHdrFile_StepRepeatRecord::Impl_::Impl_(
315 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
316 0 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
317 0 : : _cached_size_{0},
318 0 : name_(arena) {}
319 :
320 0 : inline void StepHdrFile_StepRepeatRecord::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
321 0 : new (&_impl_) Impl_(internal_visibility(), arena);
322 0 : ::memset(reinterpret_cast<char*>(&_impl_) +
323 : offsetof(Impl_, x_),
324 : 0,
325 : offsetof(Impl_, mirror_) -
326 : offsetof(Impl_, x_) +
327 : sizeof(Impl_::mirror_));
328 0 : }
329 0 : StepHdrFile_StepRepeatRecord::~StepHdrFile_StepRepeatRecord() {
330 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord)
331 0 : SharedDtor(*this);
332 0 : }
333 0 : inline void StepHdrFile_StepRepeatRecord::SharedDtor(MessageLite& self) {
334 0 : StepHdrFile_StepRepeatRecord& this_ = static_cast<StepHdrFile_StepRepeatRecord&>(self);
335 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
336 0 : this_.CheckHasBitConsistency();
337 : }
338 0 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
339 0 : ABSL_DCHECK(this_.GetArena() == nullptr);
340 0 : this_._impl_.name_.Destroy();
341 0 : this_._impl_.~Impl_();
342 0 : }
343 :
344 0 : inline void* PROTOBUF_NONNULL StepHdrFile_StepRepeatRecord::PlacementNew_(
345 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
346 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
347 0 : return ::new (mem) StepHdrFile_StepRepeatRecord(arena);
348 : }
349 : constexpr auto StepHdrFile_StepRepeatRecord::InternalNewImpl_() {
350 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StepHdrFile_StepRepeatRecord),
351 : alignof(StepHdrFile_StepRepeatRecord));
352 : }
353 : constexpr auto StepHdrFile_StepRepeatRecord::InternalGenerateClassData_() {
354 : return ::google::protobuf::internal::ClassDataFull{
355 : ::google::protobuf::internal::ClassData{
356 : &_StepHdrFile_StepRepeatRecord_default_instance_._instance,
357 : &_table_.header,
358 : nullptr, // OnDemandRegisterArenaDtor
359 : nullptr, // IsInitialized
360 : &StepHdrFile_StepRepeatRecord::MergeImpl,
361 : ::google::protobuf::Message::GetNewImpl<StepHdrFile_StepRepeatRecord>(),
362 : #if defined(PROTOBUF_CUSTOM_VTABLE)
363 : &StepHdrFile_StepRepeatRecord::SharedDtor,
364 : ::google::protobuf::Message::GetClearImpl<StepHdrFile_StepRepeatRecord>(), &StepHdrFile_StepRepeatRecord::ByteSizeLong,
365 : &StepHdrFile_StepRepeatRecord::_InternalSerialize,
366 : #endif // PROTOBUF_CUSTOM_VTABLE
367 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_._cached_size_),
368 : false,
369 : },
370 : &StepHdrFile_StepRepeatRecord::kDescriptorMethods,
371 : &descriptor_table_stephdrfile_2eproto,
372 : nullptr, // tracker
373 : };
374 : }
375 :
376 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
377 : ::google::protobuf::internal::ClassDataFull StepHdrFile_StepRepeatRecord_class_data_ =
378 : StepHdrFile_StepRepeatRecord::InternalGenerateClassData_();
379 :
380 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
381 44 : StepHdrFile_StepRepeatRecord::GetClassData() const {
382 44 : ::google::protobuf::internal::PrefetchToLocalCache(&StepHdrFile_StepRepeatRecord_class_data_);
383 44 : ::google::protobuf::internal::PrefetchToLocalCache(StepHdrFile_StepRepeatRecord_class_data_.tc_table);
384 44 : return StepHdrFile_StepRepeatRecord_class_data_.base();
385 : }
386 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
387 : const ::_pbi::TcParseTable<4, 10, 0, 66, 2>
388 : StepHdrFile_StepRepeatRecord::_table_ = {
389 : {
390 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_._has_bits_),
391 : 0, // no _extensions_
392 : 10, 120, // max_field_number, fast_idx_mask
393 : offsetof(decltype(_table_), field_lookup_table),
394 : 4294966272, // skipmap
395 : offsetof(decltype(_table_), field_entries),
396 : 10, // num_field_entries
397 : 0, // num_aux_entries
398 : offsetof(decltype(_table_), field_names), // no aux_entries
399 : StepHdrFile_StepRepeatRecord_class_data_.base(),
400 : nullptr, // post_loop_handler
401 : ::_pbi::TcParser::GenericFallback, // fallback
402 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
403 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord>(), // to_prefetch
404 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
405 : }, {{
406 : {::_pbi::TcParser::MiniParse, {}},
407 : // optional string name = 1;
408 : {::_pbi::TcParser::FastUS1,
409 : {10, 0, 0,
410 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.name_)}},
411 : // optional double x = 2;
412 : {::_pbi::TcParser::FastF64S1,
413 : {17, 1, 0,
414 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.x_)}},
415 : // optional double y = 3;
416 : {::_pbi::TcParser::FastF64S1,
417 : {25, 2, 0,
418 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.y_)}},
419 : // optional double dx = 4;
420 : {::_pbi::TcParser::FastF64S1,
421 : {33, 3, 0,
422 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.dx_)}},
423 : // optional double dy = 5;
424 : {::_pbi::TcParser::FastF64S1,
425 : {41, 4, 0,
426 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.dy_)}},
427 : // optional int32 nx = 6;
428 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(StepHdrFile_StepRepeatRecord, _impl_.nx_), 5>(),
429 : {48, 5, 0,
430 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.nx_)}},
431 : // optional int32 ny = 7;
432 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(StepHdrFile_StepRepeatRecord, _impl_.ny_), 6>(),
433 : {56, 6, 0,
434 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.ny_)}},
435 : // optional double angle = 8;
436 : {::_pbi::TcParser::FastF64S1,
437 : {65, 7, 0,
438 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.angle_)}},
439 : // optional bool flip = 9;
440 : {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(StepHdrFile_StepRepeatRecord, _impl_.flip_), 8>(),
441 : {72, 8, 0,
442 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.flip_)}},
443 : // optional bool mirror = 10;
444 : {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(StepHdrFile_StepRepeatRecord, _impl_.mirror_), 9>(),
445 : {80, 9, 0,
446 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.mirror_)}},
447 : {::_pbi::TcParser::MiniParse, {}},
448 : {::_pbi::TcParser::MiniParse, {}},
449 : {::_pbi::TcParser::MiniParse, {}},
450 : {::_pbi::TcParser::MiniParse, {}},
451 : {::_pbi::TcParser::MiniParse, {}},
452 : }}, {{
453 : 65535, 65535
454 : }}, {{
455 : // optional string name = 1;
456 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
457 : // optional double x = 2;
458 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.x_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
459 : // optional double y = 3;
460 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.y_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
461 : // optional double dx = 4;
462 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.dx_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
463 : // optional double dy = 5;
464 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.dy_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
465 : // optional int32 nx = 6;
466 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.nx_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
467 : // optional int32 ny = 7;
468 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.ny_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
469 : // optional double angle = 8;
470 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.angle_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
471 : // optional bool flip = 9;
472 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.flip_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
473 : // optional bool mirror = 10;
474 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.mirror_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
475 : }},
476 : // no aux_entries
477 : {{
478 : "\55\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
479 : "Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord"
480 : "name"
481 : }},
482 : };
483 0 : PROTOBUF_NOINLINE void StepHdrFile_StepRepeatRecord::Clear() {
484 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord)
485 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
486 0 : ::uint32_t cached_has_bits = 0;
487 : // Prevent compiler warnings about cached_has_bits being unused
488 : (void) cached_has_bits;
489 :
490 0 : cached_has_bits = _impl_._has_bits_[0];
491 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
492 0 : _impl_.name_.ClearNonDefaultToEmpty();
493 : }
494 0 : if (BatchCheckHasBit(cached_has_bits, 0x000000feU)) {
495 0 : ::memset(&_impl_.x_, 0, static_cast<::size_t>(
496 : reinterpret_cast<char*>(&_impl_.angle_) -
497 : reinterpret_cast<char*>(&_impl_.x_)) + sizeof(_impl_.angle_));
498 : }
499 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
500 0 : ::memset(&_impl_.flip_, 0, static_cast<::size_t>(
501 : reinterpret_cast<char*>(&_impl_.mirror_) -
502 : reinterpret_cast<char*>(&_impl_.flip_)) + sizeof(_impl_.mirror_));
503 : }
504 0 : _impl_._has_bits_.Clear();
505 0 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
506 0 : }
507 :
508 : #if defined(PROTOBUF_CUSTOM_VTABLE)
509 : ::uint8_t* PROTOBUF_NONNULL StepHdrFile_StepRepeatRecord::_InternalSerialize(
510 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
511 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
512 : const StepHdrFile_StepRepeatRecord& this_ = static_cast<const StepHdrFile_StepRepeatRecord&>(base);
513 : #else // PROTOBUF_CUSTOM_VTABLE
514 0 : ::uint8_t* PROTOBUF_NONNULL StepHdrFile_StepRepeatRecord::_InternalSerialize(
515 : ::uint8_t* PROTOBUF_NONNULL target,
516 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
517 0 : const StepHdrFile_StepRepeatRecord& this_ = *this;
518 : #endif // PROTOBUF_CUSTOM_VTABLE
519 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
520 0 : this_.CheckHasBitConsistency();
521 : }
522 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord)
523 0 : ::uint32_t cached_has_bits = 0;
524 : (void)cached_has_bits;
525 :
526 0 : cached_has_bits = this_._impl_._has_bits_[0];
527 : // optional string name = 1;
528 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
529 0 : const ::std::string& _s = this_._internal_name();
530 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
531 0 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord.name");
532 0 : target = stream->WriteStringMaybeAliased(1, _s, target);
533 : }
534 :
535 : // optional double x = 2;
536 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
537 0 : target = stream->EnsureSpace(target);
538 0 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
539 : 2, this_._internal_x(), target);
540 : }
541 :
542 : // optional double y = 3;
543 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
544 0 : target = stream->EnsureSpace(target);
545 0 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
546 : 3, this_._internal_y(), target);
547 : }
548 :
549 : // optional double dx = 4;
550 0 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
551 0 : target = stream->EnsureSpace(target);
552 0 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
553 : 4, this_._internal_dx(), target);
554 : }
555 :
556 : // optional double dy = 5;
557 0 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
558 0 : target = stream->EnsureSpace(target);
559 0 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
560 : 5, this_._internal_dy(), target);
561 : }
562 :
563 : // optional int32 nx = 6;
564 0 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
565 : target =
566 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
567 : stream, this_._internal_nx(), target);
568 : }
569 :
570 : // optional int32 ny = 7;
571 0 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
572 : target =
573 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<7>(
574 : stream, this_._internal_ny(), target);
575 : }
576 :
577 : // optional double angle = 8;
578 0 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
579 0 : target = stream->EnsureSpace(target);
580 0 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
581 : 8, this_._internal_angle(), target);
582 : }
583 :
584 : // optional bool flip = 9;
585 0 : if (CheckHasBit(cached_has_bits, 0x00000100U)) {
586 0 : target = stream->EnsureSpace(target);
587 0 : target = ::_pbi::WireFormatLite::WriteBoolToArray(
588 0 : 9, this_._internal_flip(), target);
589 : }
590 :
591 : // optional bool mirror = 10;
592 0 : if (CheckHasBit(cached_has_bits, 0x00000200U)) {
593 0 : target = stream->EnsureSpace(target);
594 0 : target = ::_pbi::WireFormatLite::WriteBoolToArray(
595 0 : 10, this_._internal_mirror(), target);
596 : }
597 :
598 0 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
599 : target =
600 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
601 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
602 : }
603 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord)
604 0 : return target;
605 : }
606 :
607 : #if defined(PROTOBUF_CUSTOM_VTABLE)
608 : ::size_t StepHdrFile_StepRepeatRecord::ByteSizeLong(const MessageLite& base) {
609 : const StepHdrFile_StepRepeatRecord& this_ = static_cast<const StepHdrFile_StepRepeatRecord&>(base);
610 : #else // PROTOBUF_CUSTOM_VTABLE
611 0 : ::size_t StepHdrFile_StepRepeatRecord::ByteSizeLong() const {
612 0 : const StepHdrFile_StepRepeatRecord& this_ = *this;
613 : #endif // PROTOBUF_CUSTOM_VTABLE
614 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord)
615 0 : ::size_t total_size = 0;
616 :
617 0 : ::uint32_t cached_has_bits = 0;
618 : // Prevent compiler warnings about cached_has_bits being unused
619 : (void)cached_has_bits;
620 :
621 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
622 0 : cached_has_bits = this_._impl_._has_bits_[0];
623 0 : total_size += ::absl::popcount(0x0000009eU & cached_has_bits) * 9;
624 0 : total_size += ::absl::popcount(0x00000300U & cached_has_bits) * 2;
625 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000061U)) {
626 : // optional string name = 1;
627 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
628 0 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
629 : this_._internal_name());
630 : }
631 : // optional int32 nx = 6;
632 0 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
633 0 : total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
634 : this_._internal_nx());
635 : }
636 : // optional int32 ny = 7;
637 0 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
638 0 : total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
639 : this_._internal_ny());
640 : }
641 : }
642 0 : return this_.MaybeComputeUnknownFieldsSize(total_size,
643 0 : &this_._impl_._cached_size_);
644 : }
645 :
646 0 : void StepHdrFile_StepRepeatRecord::MergeImpl(::google::protobuf::MessageLite& to_msg,
647 : const ::google::protobuf::MessageLite& from_msg) {
648 0 : auto* const _this =
649 : static_cast<StepHdrFile_StepRepeatRecord*>(&to_msg);
650 0 : auto& from = static_cast<const StepHdrFile_StepRepeatRecord&>(from_msg);
651 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
652 0 : from.CheckHasBitConsistency();
653 : }
654 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord)
655 0 : ABSL_DCHECK_NE(&from, _this);
656 0 : ::uint32_t cached_has_bits = 0;
657 : (void)cached_has_bits;
658 :
659 0 : cached_has_bits = from._impl_._has_bits_[0];
660 0 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
661 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
662 0 : _this->_internal_set_name(from._internal_name());
663 : }
664 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
665 0 : _this->_impl_.x_ = from._impl_.x_;
666 : }
667 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
668 0 : _this->_impl_.y_ = from._impl_.y_;
669 : }
670 0 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
671 0 : _this->_impl_.dx_ = from._impl_.dx_;
672 : }
673 0 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
674 0 : _this->_impl_.dy_ = from._impl_.dy_;
675 : }
676 0 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
677 0 : _this->_impl_.nx_ = from._impl_.nx_;
678 : }
679 0 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
680 0 : _this->_impl_.ny_ = from._impl_.ny_;
681 : }
682 0 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
683 0 : _this->_impl_.angle_ = from._impl_.angle_;
684 : }
685 : }
686 0 : if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
687 0 : if (CheckHasBit(cached_has_bits, 0x00000100U)) {
688 0 : _this->_impl_.flip_ = from._impl_.flip_;
689 : }
690 0 : if (CheckHasBit(cached_has_bits, 0x00000200U)) {
691 0 : _this->_impl_.mirror_ = from._impl_.mirror_;
692 : }
693 : }
694 0 : _this->_impl_._has_bits_[0] |= cached_has_bits;
695 0 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
696 0 : from._internal_metadata_);
697 0 : }
698 :
699 0 : void StepHdrFile_StepRepeatRecord::CopyFrom(const StepHdrFile_StepRepeatRecord& from) {
700 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord)
701 0 : if (&from == this) return;
702 0 : Clear();
703 0 : MergeFrom(from);
704 : }
705 :
706 :
707 0 : void StepHdrFile_StepRepeatRecord::InternalSwap(StepHdrFile_StepRepeatRecord* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
708 : using ::std::swap;
709 0 : auto* arena = GetArena();
710 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
711 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
712 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
713 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
714 : ::google::protobuf::internal::memswap<
715 : PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.mirror_)
716 : + sizeof(StepHdrFile_StepRepeatRecord::_impl_.mirror_)
717 0 : - PROTOBUF_FIELD_OFFSET(StepHdrFile_StepRepeatRecord, _impl_.x_)>(
718 0 : reinterpret_cast<char*>(&_impl_.x_),
719 0 : reinterpret_cast<char*>(&other->_impl_.x_));
720 0 : }
721 :
722 0 : ::google::protobuf::Metadata StepHdrFile_StepRepeatRecord::GetMetadata() const {
723 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
724 : }
725 : // ===================================================================
726 :
727 : #if defined(PROTOBUF_CUSTOM_VTABLE)
728 : StepHdrFile_OnlineValuesEntry_DoNotUse::StepHdrFile_OnlineValuesEntry_DoNotUse()
729 : : SuperType(StepHdrFile_OnlineValuesEntry_DoNotUse_class_data_.base()) {}
730 : StepHdrFile_OnlineValuesEntry_DoNotUse::StepHdrFile_OnlineValuesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
731 : : SuperType(arena, StepHdrFile_OnlineValuesEntry_DoNotUse_class_data_.base()) {}
732 : #else // PROTOBUF_CUSTOM_VTABLE
733 0 : StepHdrFile_OnlineValuesEntry_DoNotUse::StepHdrFile_OnlineValuesEntry_DoNotUse() : SuperType() {}
734 0 : StepHdrFile_OnlineValuesEntry_DoNotUse::StepHdrFile_OnlineValuesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
735 : #endif // PROTOBUF_CUSTOM_VTABLE
736 0 : inline void* PROTOBUF_NONNULL StepHdrFile_OnlineValuesEntry_DoNotUse::PlacementNew_(
737 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
738 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
739 0 : return ::new (mem) StepHdrFile_OnlineValuesEntry_DoNotUse(arena);
740 : }
741 : constexpr auto StepHdrFile_OnlineValuesEntry_DoNotUse::InternalNewImpl_() {
742 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StepHdrFile_OnlineValuesEntry_DoNotUse),
743 : alignof(StepHdrFile_OnlineValuesEntry_DoNotUse));
744 : }
745 : constexpr auto StepHdrFile_OnlineValuesEntry_DoNotUse::InternalGenerateClassData_() {
746 : return ::google::protobuf::internal::ClassDataFull{
747 : ::google::protobuf::internal::ClassData{
748 : &_StepHdrFile_OnlineValuesEntry_DoNotUse_default_instance_._instance,
749 : &_table_.header,
750 : nullptr, // OnDemandRegisterArenaDtor
751 : nullptr, // IsInitialized
752 : &StepHdrFile_OnlineValuesEntry_DoNotUse::MergeImpl,
753 : ::google::protobuf::Message::GetNewImpl<StepHdrFile_OnlineValuesEntry_DoNotUse>(),
754 : #if defined(PROTOBUF_CUSTOM_VTABLE)
755 : &StepHdrFile_OnlineValuesEntry_DoNotUse::SharedDtor,
756 : static_cast<void (::google::protobuf::MessageLite::*)()>(&StepHdrFile_OnlineValuesEntry_DoNotUse::ClearImpl),
757 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
758 : ,
759 : #endif // PROTOBUF_CUSTOM_VTABLE
760 : PROTOBUF_FIELD_OFFSET(StepHdrFile_OnlineValuesEntry_DoNotUse, _impl_._cached_size_),
761 : false,
762 : },
763 : &StepHdrFile_OnlineValuesEntry_DoNotUse::kDescriptorMethods,
764 : &descriptor_table_stephdrfile_2eproto,
765 : nullptr, // tracker
766 : };
767 : }
768 :
769 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
770 : ::google::protobuf::internal::ClassDataFull StepHdrFile_OnlineValuesEntry_DoNotUse_class_data_ =
771 : StepHdrFile_OnlineValuesEntry_DoNotUse::InternalGenerateClassData_();
772 :
773 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
774 44 : StepHdrFile_OnlineValuesEntry_DoNotUse::GetClassData() const {
775 44 : ::google::protobuf::internal::PrefetchToLocalCache(&StepHdrFile_OnlineValuesEntry_DoNotUse_class_data_);
776 44 : ::google::protobuf::internal::PrefetchToLocalCache(StepHdrFile_OnlineValuesEntry_DoNotUse_class_data_.tc_table);
777 44 : return StepHdrFile_OnlineValuesEntry_DoNotUse_class_data_.base();
778 : }
779 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
780 : const ::_pbi::TcParseTable<1, 2, 0, 63, 2>
781 : StepHdrFile_OnlineValuesEntry_DoNotUse::_table_ = {
782 : {
783 : PROTOBUF_FIELD_OFFSET(StepHdrFile_OnlineValuesEntry_DoNotUse, _impl_._has_bits_),
784 : 0, // no _extensions_
785 : 2, 8, // max_field_number, fast_idx_mask
786 : offsetof(decltype(_table_), field_lookup_table),
787 : 4294967292, // skipmap
788 : offsetof(decltype(_table_), field_entries),
789 : 2, // num_field_entries
790 : 0, // num_aux_entries
791 : offsetof(decltype(_table_), field_names), // no aux_entries
792 : StepHdrFile_OnlineValuesEntry_DoNotUse_class_data_.base(),
793 : nullptr, // post_loop_handler
794 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
795 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
796 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StepHdrFile_OnlineValuesEntry_DoNotUse>(), // to_prefetch
797 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
798 : }, {{
799 : // string value = 2;
800 : {::_pbi::TcParser::FastUS1,
801 : {18, 1, 0,
802 : PROTOBUF_FIELD_OFFSET(StepHdrFile_OnlineValuesEntry_DoNotUse, _impl_.value_)}},
803 : // string key = 1;
804 : {::_pbi::TcParser::FastUS1,
805 : {10, 0, 0,
806 : PROTOBUF_FIELD_OFFSET(StepHdrFile_OnlineValuesEntry_DoNotUse, _impl_.key_)}},
807 : }}, {{
808 : 65535, 65535
809 : }}, {{
810 : // string key = 1;
811 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_OnlineValuesEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
812 : // string value = 2;
813 : {PROTOBUF_FIELD_OFFSET(StepHdrFile_OnlineValuesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
814 : }},
815 : // no aux_entries
816 : {{
817 : "\56\3\5\0\0\0\0\0"
818 : "Odb.Lib.Protobuf.StepHdrFile.OnlineValuesEntry"
819 : "key"
820 : "value"
821 : }},
822 : };
823 : // ===================================================================
824 :
825 : class StepHdrFile::_Internal {
826 : public:
827 : using HasBits =
828 : decltype(::std::declval<StepHdrFile>()._impl_._has_bits_);
829 : static constexpr ::int32_t kHasBitsOffset =
830 : 8 * PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_._has_bits_);
831 : };
832 :
833 219 : StepHdrFile::StepHdrFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
834 : #if defined(PROTOBUF_CUSTOM_VTABLE)
835 : : ::google::protobuf::Message(arena, StepHdrFile_class_data_.base()) {
836 : #else // PROTOBUF_CUSTOM_VTABLE
837 219 : : ::google::protobuf::Message(arena) {
838 : #endif // PROTOBUF_CUSTOM_VTABLE
839 219 : SharedCtor(arena);
840 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.StepHdrFile)
841 219 : }
842 340 : PROTOBUF_NDEBUG_INLINE StepHdrFile::Impl_::Impl_(
843 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
844 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
845 340 : [[maybe_unused]] const ::Odb::Lib::Protobuf::StepHdrFile& from_msg)
846 340 : : _has_bits_{from._has_bits_},
847 340 : _cached_size_{0},
848 340 : steprepeatrecords_{visibility, arena, from.steprepeatrecords_},
849 340 : affectingbom_(arena, from.affectingbom_),
850 340 : online_(arena, from.online_),
851 340 : path_(arena, from.path_),
852 340 : onlinevalues_{visibility, arena, from.onlinevalues_} {}
853 :
854 340 : StepHdrFile::StepHdrFile(
855 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
856 340 : const StepHdrFile& from)
857 : #if defined(PROTOBUF_CUSTOM_VTABLE)
858 : : ::google::protobuf::Message(arena, StepHdrFile_class_data_.base()) {
859 : #else // PROTOBUF_CUSTOM_VTABLE
860 340 : : ::google::protobuf::Message(arena) {
861 : #endif // PROTOBUF_CUSTOM_VTABLE
862 340 : StepHdrFile* const _this = this;
863 : (void)_this;
864 340 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
865 340 : from._internal_metadata_);
866 340 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
867 340 : ::memcpy(reinterpret_cast<char*>(&_impl_) +
868 : offsetof(Impl_, xdatum_),
869 340 : reinterpret_cast<const char*>(&from._impl_) +
870 : offsetof(Impl_, xdatum_),
871 : offsetof(Impl_, leftactive_) -
872 : offsetof(Impl_, xdatum_) +
873 : sizeof(Impl_::leftactive_));
874 :
875 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.StepHdrFile)
876 340 : }
877 219 : PROTOBUF_NDEBUG_INLINE StepHdrFile::Impl_::Impl_(
878 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
879 219 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
880 219 : : _cached_size_{0},
881 219 : steprepeatrecords_{visibility, arena},
882 219 : affectingbom_(arena),
883 219 : online_(arena),
884 219 : path_(arena),
885 438 : onlinevalues_{visibility, arena} {}
886 :
887 219 : inline void StepHdrFile::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
888 219 : new (&_impl_) Impl_(internal_visibility(), arena);
889 219 : ::memset(reinterpret_cast<char*>(&_impl_) +
890 : offsetof(Impl_, xdatum_),
891 : 0,
892 : offsetof(Impl_, leftactive_) -
893 : offsetof(Impl_, xdatum_) +
894 : sizeof(Impl_::leftactive_));
895 219 : }
896 1117 : StepHdrFile::~StepHdrFile() {
897 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.StepHdrFile)
898 559 : SharedDtor(*this);
899 1117 : }
900 559 : inline void StepHdrFile::SharedDtor(MessageLite& self) {
901 559 : StepHdrFile& this_ = static_cast<StepHdrFile&>(self);
902 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
903 559 : this_.CheckHasBitConsistency();
904 : }
905 559 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
906 559 : ABSL_DCHECK(this_.GetArena() == nullptr);
907 559 : this_._impl_.affectingbom_.Destroy();
908 559 : this_._impl_.online_.Destroy();
909 559 : this_._impl_.path_.Destroy();
910 559 : this_._impl_.~Impl_();
911 559 : }
912 :
913 23 : inline void* PROTOBUF_NONNULL StepHdrFile::PlacementNew_(
914 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
915 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
916 23 : return ::new (mem) StepHdrFile(arena);
917 : }
918 : constexpr auto StepHdrFile::InternalNewImpl_() {
919 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
920 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.steprepeatrecords_) +
921 : decltype(StepHdrFile::_impl_.steprepeatrecords_)::
922 : InternalGetArenaOffset(
923 : ::google::protobuf::Message::internal_visibility()),
924 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.onlinevalues_) +
925 : decltype(StepHdrFile::_impl_.onlinevalues_)::
926 : InternalGetArenaOffset(
927 : ::google::protobuf::Message::internal_visibility()),
928 : });
929 : if (arena_bits.has_value()) {
930 : return ::google::protobuf::internal::MessageCreator::CopyInit(
931 : sizeof(StepHdrFile), alignof(StepHdrFile), *arena_bits);
932 : } else {
933 : return ::google::protobuf::internal::MessageCreator(&StepHdrFile::PlacementNew_,
934 : sizeof(StepHdrFile),
935 : alignof(StepHdrFile));
936 : }
937 : }
938 : constexpr auto StepHdrFile::InternalGenerateClassData_() {
939 : return ::google::protobuf::internal::ClassDataFull{
940 : ::google::protobuf::internal::ClassData{
941 : &_StepHdrFile_default_instance_._instance,
942 : &_table_.header,
943 : nullptr, // OnDemandRegisterArenaDtor
944 : nullptr, // IsInitialized
945 : &StepHdrFile::MergeImpl,
946 : ::google::protobuf::Message::GetNewImpl<StepHdrFile>(),
947 : #if defined(PROTOBUF_CUSTOM_VTABLE)
948 : &StepHdrFile::SharedDtor,
949 : ::google::protobuf::Message::GetClearImpl<StepHdrFile>(), &StepHdrFile::ByteSizeLong,
950 : &StepHdrFile::_InternalSerialize,
951 : #endif // PROTOBUF_CUSTOM_VTABLE
952 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_._cached_size_),
953 : false,
954 : },
955 : &StepHdrFile::kDescriptorMethods,
956 : &descriptor_table_stephdrfile_2eproto,
957 : nullptr, // tracker
958 : };
959 : }
960 :
961 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
962 : ::google::protobuf::internal::ClassDataFull StepHdrFile_class_data_ =
963 : StepHdrFile::InternalGenerateClassData_();
964 :
965 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
966 3596 : StepHdrFile::GetClassData() const {
967 3596 : ::google::protobuf::internal::PrefetchToLocalCache(&StepHdrFile_class_data_);
968 3596 : ::google::protobuf::internal::PrefetchToLocalCache(StepHdrFile_class_data_.tc_table);
969 3596 : return StepHdrFile_class_data_.base();
970 : }
971 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
972 : const ::_pbi::TcParseTable<4, 15, 2, 79, 2>
973 : StepHdrFile::_table_ = {
974 : {
975 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_._has_bits_),
976 : 0, // no _extensions_
977 : 15, 120, // max_field_number, fast_idx_mask
978 : offsetof(decltype(_table_), field_lookup_table),
979 : 4294934528, // skipmap
980 : offsetof(decltype(_table_), field_entries),
981 : 15, // num_field_entries
982 : 2, // num_aux_entries
983 : offsetof(decltype(_table_), aux_entries),
984 : StepHdrFile_class_data_.base(),
985 : nullptr, // post_loop_handler
986 : ::_pbi::TcParser::GenericFallback, // fallback
987 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
988 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StepHdrFile>(), // to_prefetch
989 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
990 : }, {{
991 : {::_pbi::TcParser::MiniParse, {}},
992 : // optional double xDatum = 1;
993 : {::_pbi::TcParser::FastF64S1,
994 : {9, 4, 0,
995 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.xdatum_)}},
996 : // optional double yDatum = 2;
997 : {::_pbi::TcParser::FastF64S1,
998 : {17, 5, 0,
999 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.ydatum_)}},
1000 : // optional int32 id = 3;
1001 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(StepHdrFile, _impl_.id_), 10>(),
1002 : {24, 10, 0,
1003 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.id_)}},
1004 : // optional double xOrigin = 4;
1005 : {::_pbi::TcParser::FastF64S1,
1006 : {33, 6, 0,
1007 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.xorigin_)}},
1008 : // optional double yOrigin = 5;
1009 : {::_pbi::TcParser::FastF64S1,
1010 : {41, 7, 0,
1011 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.yorigin_)}},
1012 : // optional double topActive = 6;
1013 : {::_pbi::TcParser::FastF64S1,
1014 : {49, 8, 0,
1015 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.topactive_)}},
1016 : // optional double bottomActive = 7;
1017 : {::_pbi::TcParser::FastF64S1,
1018 : {57, 9, 0,
1019 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.bottomactive_)}},
1020 : // optional double rightActive = 8;
1021 : {::_pbi::TcParser::FastF64S1,
1022 : {65, 12, 0,
1023 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.rightactive_)}},
1024 : // optional double leftActive = 9;
1025 : {::_pbi::TcParser::FastF64S1,
1026 : {73, 13, 0,
1027 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.leftactive_)}},
1028 : // optional string affectingBom = 10;
1029 : {::_pbi::TcParser::FastUS1,
1030 : {82, 1, 0,
1031 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.affectingbom_)}},
1032 : // optional bool affectingBomChanged = 11;
1033 : {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(StepHdrFile, _impl_.affectingbomchanged_), 11>(),
1034 : {88, 11, 0,
1035 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.affectingbomchanged_)}},
1036 : // optional string online = 12;
1037 : {::_pbi::TcParser::FastUS1,
1038 : {98, 2, 0,
1039 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.online_)}},
1040 : // repeated .Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord stepRepeatRecords = 13;
1041 : {::_pbi::TcParser::FastMtR1,
1042 : {106, 0, 0,
1043 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.steprepeatrecords_)}},
1044 : // optional string path = 14;
1045 : {::_pbi::TcParser::FastUS1,
1046 : {114, 3, 0,
1047 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.path_)}},
1048 : {::_pbi::TcParser::MiniParse, {}},
1049 : }}, {{
1050 : 65535, 65535
1051 : }}, {{
1052 : // optional double xDatum = 1;
1053 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.xdatum_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1054 : // optional double yDatum = 2;
1055 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.ydatum_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1056 : // optional int32 id = 3;
1057 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.id_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1058 : // optional double xOrigin = 4;
1059 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.xorigin_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1060 : // optional double yOrigin = 5;
1061 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.yorigin_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1062 : // optional double topActive = 6;
1063 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.topactive_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1064 : // optional double bottomActive = 7;
1065 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.bottomactive_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1066 : // optional double rightActive = 8;
1067 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.rightactive_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1068 : // optional double leftActive = 9;
1069 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.leftactive_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1070 : // optional string affectingBom = 10;
1071 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.affectingbom_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1072 : // optional bool affectingBomChanged = 11;
1073 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.affectingbomchanged_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
1074 : // optional string online = 12;
1075 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.online_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1076 : // repeated .Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord stepRepeatRecords = 13;
1077 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.steprepeatrecords_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1078 : // optional string path = 14;
1079 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.path_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1080 : // map<string, string> onlineValues = 15;
1081 : {PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.onlinevalues_), _Internal::kHasBitsOffset + 14, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1082 : }},
1083 : {{
1084 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StepHdrFile_StepRepeatRecord>()},
1085 : {::_pbi::TcParser::GetMapAuxInfo(
1086 : 1, 0, 9, 9, 0)},
1087 : }},
1088 : {{
1089 : "\34\0\0\0\0\0\0\0\0\0\14\0\6\0\4\14"
1090 : "Odb.Lib.Protobuf.StepHdrFile"
1091 : "affectingBom"
1092 : "online"
1093 : "path"
1094 : "onlineValues"
1095 : }},
1096 : };
1097 100 : PROTOBUF_NOINLINE void StepHdrFile::Clear() {
1098 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.StepHdrFile)
1099 100 : ::google::protobuf::internal::TSanWrite(&_impl_);
1100 100 : ::uint32_t cached_has_bits = 0;
1101 : // Prevent compiler warnings about cached_has_bits being unused
1102 : (void) cached_has_bits;
1103 :
1104 100 : cached_has_bits = _impl_._has_bits_[0];
1105 100 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1106 2 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1107 0 : _impl_.steprepeatrecords_.Clear();
1108 : }
1109 2 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1110 2 : _impl_.affectingbom_.ClearNonDefaultToEmpty();
1111 : }
1112 2 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1113 0 : _impl_.online_.ClearNonDefaultToEmpty();
1114 : }
1115 2 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1116 0 : _impl_.path_.ClearNonDefaultToEmpty();
1117 : }
1118 : }
1119 100 : if (BatchCheckHasBit(cached_has_bits, 0x000000f0U)) {
1120 2 : ::memset(&_impl_.xdatum_, 0, static_cast<::size_t>(
1121 : reinterpret_cast<char*>(&_impl_.yorigin_) -
1122 : reinterpret_cast<char*>(&_impl_.xdatum_)) + sizeof(_impl_.yorigin_));
1123 : }
1124 100 : if (BatchCheckHasBit(cached_has_bits, 0x00007f00U)) {
1125 2 : ::memset(&_impl_.topactive_, 0, static_cast<::size_t>(
1126 : reinterpret_cast<char*>(&_impl_.leftactive_) -
1127 : reinterpret_cast<char*>(&_impl_.topactive_)) + sizeof(_impl_.leftactive_));
1128 2 : if (CheckHasBitForRepeated(cached_has_bits, 0x00004000U)) {
1129 0 : _impl_.onlinevalues_.Clear();
1130 : }
1131 : }
1132 100 : _impl_._has_bits_.Clear();
1133 100 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1134 100 : }
1135 :
1136 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1137 : ::uint8_t* PROTOBUF_NONNULL StepHdrFile::_InternalSerialize(
1138 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1139 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1140 : const StepHdrFile& this_ = static_cast<const StepHdrFile&>(base);
1141 : #else // PROTOBUF_CUSTOM_VTABLE
1142 101 : ::uint8_t* PROTOBUF_NONNULL StepHdrFile::_InternalSerialize(
1143 : ::uint8_t* PROTOBUF_NONNULL target,
1144 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1145 101 : const StepHdrFile& this_ = *this;
1146 : #endif // PROTOBUF_CUSTOM_VTABLE
1147 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1148 101 : this_.CheckHasBitConsistency();
1149 : }
1150 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.StepHdrFile)
1151 101 : ::uint32_t cached_has_bits = 0;
1152 : (void)cached_has_bits;
1153 :
1154 101 : cached_has_bits = this_._impl_._has_bits_[0];
1155 : // optional double xDatum = 1;
1156 101 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1157 101 : target = stream->EnsureSpace(target);
1158 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1159 : 1, this_._internal_xdatum(), target);
1160 : }
1161 :
1162 : // optional double yDatum = 2;
1163 101 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1164 101 : target = stream->EnsureSpace(target);
1165 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1166 : 2, this_._internal_ydatum(), target);
1167 : }
1168 :
1169 : // optional int32 id = 3;
1170 101 : if (CheckHasBit(cached_has_bits, 0x00000400U)) {
1171 : target =
1172 101 : ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
1173 : stream, this_._internal_id(), target);
1174 : }
1175 :
1176 : // optional double xOrigin = 4;
1177 101 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1178 101 : target = stream->EnsureSpace(target);
1179 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1180 : 4, this_._internal_xorigin(), target);
1181 : }
1182 :
1183 : // optional double yOrigin = 5;
1184 101 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1185 101 : target = stream->EnsureSpace(target);
1186 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1187 : 5, this_._internal_yorigin(), target);
1188 : }
1189 :
1190 : // optional double topActive = 6;
1191 101 : if (CheckHasBit(cached_has_bits, 0x00000100U)) {
1192 101 : target = stream->EnsureSpace(target);
1193 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1194 : 6, this_._internal_topactive(), target);
1195 : }
1196 :
1197 : // optional double bottomActive = 7;
1198 101 : if (CheckHasBit(cached_has_bits, 0x00000200U)) {
1199 101 : target = stream->EnsureSpace(target);
1200 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1201 : 7, this_._internal_bottomactive(), target);
1202 : }
1203 :
1204 : // optional double rightActive = 8;
1205 101 : if (CheckHasBit(cached_has_bits, 0x00001000U)) {
1206 101 : target = stream->EnsureSpace(target);
1207 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1208 : 8, this_._internal_rightactive(), target);
1209 : }
1210 :
1211 : // optional double leftActive = 9;
1212 101 : if (CheckHasBit(cached_has_bits, 0x00002000U)) {
1213 101 : target = stream->EnsureSpace(target);
1214 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1215 : 9, this_._internal_leftactive(), target);
1216 : }
1217 :
1218 : // optional string affectingBom = 10;
1219 101 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1220 101 : const ::std::string& _s = this_._internal_affectingbom();
1221 202 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1222 101 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepHdrFile.affectingBom");
1223 101 : target = stream->WriteStringMaybeAliased(10, _s, target);
1224 : }
1225 :
1226 : // optional bool affectingBomChanged = 11;
1227 101 : if (CheckHasBit(cached_has_bits, 0x00000800U)) {
1228 101 : target = stream->EnsureSpace(target);
1229 101 : target = ::_pbi::WireFormatLite::WriteBoolToArray(
1230 101 : 11, this_._internal_affectingbomchanged(), target);
1231 : }
1232 :
1233 : // optional string online = 12;
1234 101 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1235 0 : const ::std::string& _s = this_._internal_online();
1236 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1237 0 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepHdrFile.online");
1238 0 : target = stream->WriteStringMaybeAliased(12, _s, target);
1239 : }
1240 :
1241 : // repeated .Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord stepRepeatRecords = 13;
1242 101 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1243 0 : for (unsigned i = 0, n = static_cast<unsigned>(
1244 0 : this_._internal_steprepeatrecords_size());
1245 0 : i < n; i++) {
1246 0 : const auto& repfield = this_._internal_steprepeatrecords().Get(i);
1247 : target =
1248 0 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1249 : 13, repfield, repfield.GetCachedSize(),
1250 : target, stream);
1251 : }
1252 : }
1253 :
1254 : // optional string path = 14;
1255 101 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1256 0 : const ::std::string& _s = this_._internal_path();
1257 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1258 0 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepHdrFile.path");
1259 0 : target = stream->WriteStringMaybeAliased(14, _s, target);
1260 : }
1261 :
1262 : // map<string, string> onlineValues = 15;
1263 101 : if (CheckHasBitForRepeated(cached_has_bits, 0x00004000U)) {
1264 1 : if (!this_._internal_onlinevalues().empty()) {
1265 : using MapType = ::google::protobuf::Map<::std::string, ::std::string>;
1266 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::std::string,
1267 : _pbi::WireFormatLite::TYPE_STRING,
1268 : _pbi::WireFormatLite::TYPE_STRING>;
1269 1 : const auto& field = this_._internal_onlinevalues();
1270 :
1271 1 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
1272 0 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
1273 0 : target = WireHelper::InternalSerialize(
1274 0 : 15, entry.first, entry.second, target, stream);
1275 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1276 0 : entry.first.data(), static_cast<int>(entry.first.length()),
1277 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepHdrFile.onlineValues");
1278 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1279 0 : entry.second.data(), static_cast<int>(entry.second.length()),
1280 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepHdrFile.onlineValues");
1281 0 : }
1282 : } else {
1283 2 : for (const auto& entry : field) {
1284 2 : target = WireHelper::InternalSerialize(
1285 1 : 15, entry.first, entry.second, target, stream);
1286 2 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1287 1 : entry.first.data(), static_cast<int>(entry.first.length()),
1288 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepHdrFile.onlineValues");
1289 2 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1290 1 : entry.second.data(), static_cast<int>(entry.second.length()),
1291 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepHdrFile.onlineValues");
1292 : }
1293 : }
1294 : }
1295 : }
1296 :
1297 101 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1298 : target =
1299 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1300 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1301 : }
1302 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.StepHdrFile)
1303 101 : return target;
1304 : }
1305 :
1306 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1307 : ::size_t StepHdrFile::ByteSizeLong(const MessageLite& base) {
1308 : const StepHdrFile& this_ = static_cast<const StepHdrFile&>(base);
1309 : #else // PROTOBUF_CUSTOM_VTABLE
1310 136 : ::size_t StepHdrFile::ByteSizeLong() const {
1311 136 : const StepHdrFile& this_ = *this;
1312 : #endif // PROTOBUF_CUSTOM_VTABLE
1313 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.StepHdrFile)
1314 136 : ::size_t total_size = 0;
1315 :
1316 136 : ::uint32_t cached_has_bits = 0;
1317 : // Prevent compiler warnings about cached_has_bits being unused
1318 : (void)cached_has_bits;
1319 :
1320 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1321 136 : cached_has_bits = this_._impl_._has_bits_[0];
1322 136 : total_size += ::absl::popcount(0x000033f0U & cached_has_bits) * 9;
1323 136 : total_size += static_cast<bool>(0x00000800U & cached_has_bits) * 2;
1324 136 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1325 : // repeated .Odb.Lib.Protobuf.StepHdrFile.StepRepeatRecord stepRepeatRecords = 13;
1326 136 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1327 0 : total_size += 1UL * this_._internal_steprepeatrecords_size();
1328 0 : for (const auto& msg : this_._internal_steprepeatrecords()) {
1329 0 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1330 : }
1331 : }
1332 : // optional string affectingBom = 10;
1333 136 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1334 136 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1335 : this_._internal_affectingbom());
1336 : }
1337 : // optional string online = 12;
1338 136 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1339 0 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1340 : this_._internal_online());
1341 : }
1342 : // optional string path = 14;
1343 136 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1344 0 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1345 : this_._internal_path());
1346 : }
1347 : }
1348 136 : if (BatchCheckHasBit(cached_has_bits, 0x00004400U)) {
1349 : // optional int32 id = 3;
1350 136 : if (CheckHasBit(cached_has_bits, 0x00000400U)) {
1351 136 : total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1352 : this_._internal_id());
1353 : }
1354 : // map<string, string> onlineValues = 15;
1355 136 : if (CheckHasBitForRepeated(cached_has_bits, 0x00004000U)) {
1356 1 : total_size +=
1357 1 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_onlinevalues_size());
1358 2 : for (const auto& entry : this_._internal_onlinevalues()) {
1359 1 : total_size += _pbi::MapEntryFuncs<::std::string, ::std::string,
1360 : _pbi::WireFormatLite::TYPE_STRING,
1361 1 : _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second);
1362 : }
1363 : }
1364 : }
1365 136 : return this_.MaybeComputeUnknownFieldsSize(total_size,
1366 136 : &this_._impl_._cached_size_);
1367 : }
1368 :
1369 99 : void StepHdrFile::MergeImpl(::google::protobuf::MessageLite& to_msg,
1370 : const ::google::protobuf::MessageLite& from_msg) {
1371 99 : auto* const _this =
1372 : static_cast<StepHdrFile*>(&to_msg);
1373 99 : auto& from = static_cast<const StepHdrFile&>(from_msg);
1374 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1375 99 : from.CheckHasBitConsistency();
1376 : }
1377 99 : ::google::protobuf::Arena* arena = _this->GetArena();
1378 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.StepHdrFile)
1379 99 : ABSL_DCHECK_NE(&from, _this);
1380 99 : ::uint32_t cached_has_bits = 0;
1381 : (void)cached_has_bits;
1382 :
1383 99 : cached_has_bits = from._impl_._has_bits_[0];
1384 99 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1385 99 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1386 0 : _this->_internal_mutable_steprepeatrecords()->InternalMergeFromWithArena(
1387 0 : ::google::protobuf::MessageLite::internal_visibility(), arena,
1388 : from._internal_steprepeatrecords());
1389 : }
1390 99 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1391 99 : _this->_internal_set_affectingbom(from._internal_affectingbom());
1392 : }
1393 99 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1394 0 : _this->_internal_set_online(from._internal_online());
1395 : }
1396 99 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1397 0 : _this->_internal_set_path(from._internal_path());
1398 : }
1399 99 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1400 99 : _this->_impl_.xdatum_ = from._impl_.xdatum_;
1401 : }
1402 99 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1403 99 : _this->_impl_.ydatum_ = from._impl_.ydatum_;
1404 : }
1405 99 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1406 99 : _this->_impl_.xorigin_ = from._impl_.xorigin_;
1407 : }
1408 99 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1409 99 : _this->_impl_.yorigin_ = from._impl_.yorigin_;
1410 : }
1411 : }
1412 99 : if (BatchCheckHasBit(cached_has_bits, 0x00007f00U)) {
1413 99 : if (CheckHasBit(cached_has_bits, 0x00000100U)) {
1414 99 : _this->_impl_.topactive_ = from._impl_.topactive_;
1415 : }
1416 99 : if (CheckHasBit(cached_has_bits, 0x00000200U)) {
1417 99 : _this->_impl_.bottomactive_ = from._impl_.bottomactive_;
1418 : }
1419 99 : if (CheckHasBit(cached_has_bits, 0x00000400U)) {
1420 99 : _this->_impl_.id_ = from._impl_.id_;
1421 : }
1422 99 : if (CheckHasBit(cached_has_bits, 0x00000800U)) {
1423 99 : _this->_impl_.affectingbomchanged_ = from._impl_.affectingbomchanged_;
1424 : }
1425 99 : if (CheckHasBit(cached_has_bits, 0x00001000U)) {
1426 99 : _this->_impl_.rightactive_ = from._impl_.rightactive_;
1427 : }
1428 99 : if (CheckHasBit(cached_has_bits, 0x00002000U)) {
1429 99 : _this->_impl_.leftactive_ = from._impl_.leftactive_;
1430 : }
1431 99 : if (CheckHasBitForRepeated(cached_has_bits, 0x00004000U)) {
1432 0 : _this->_impl_.onlinevalues_.MergeFrom(from._impl_.onlinevalues_);
1433 : }
1434 : }
1435 99 : _this->_impl_._has_bits_[0] |= cached_has_bits;
1436 99 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1437 99 : from._internal_metadata_);
1438 99 : }
1439 :
1440 97 : void StepHdrFile::CopyFrom(const StepHdrFile& from) {
1441 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.StepHdrFile)
1442 97 : if (&from == this) return;
1443 97 : Clear();
1444 97 : MergeFrom(from);
1445 : }
1446 :
1447 :
1448 0 : void StepHdrFile::InternalSwap(StepHdrFile* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1449 : using ::std::swap;
1450 0 : auto* arena = GetArena();
1451 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
1452 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1453 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1454 0 : _impl_.steprepeatrecords_.InternalSwap(&other->_impl_.steprepeatrecords_);
1455 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.affectingbom_, &other->_impl_.affectingbom_, arena);
1456 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.online_, &other->_impl_.online_, arena);
1457 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena);
1458 : ::google::protobuf::internal::memswap<
1459 : PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.leftactive_)
1460 : + sizeof(StepHdrFile::_impl_.leftactive_)
1461 0 : - PROTOBUF_FIELD_OFFSET(StepHdrFile, _impl_.xdatum_)>(
1462 0 : reinterpret_cast<char*>(&_impl_.xdatum_),
1463 0 : reinterpret_cast<char*>(&other->_impl_.xdatum_));
1464 0 : _impl_.onlinevalues_.InternalSwap(&other->_impl_.onlinevalues_);
1465 0 : }
1466 :
1467 0 : ::google::protobuf::Metadata StepHdrFile::GetMetadata() const {
1468 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1469 : }
1470 : // @@protoc_insertion_point(namespace_scope)
1471 : } // namespace Protobuf
1472 : } // namespace Lib
1473 : } // namespace Odb
1474 : namespace google {
1475 : namespace protobuf {
1476 : } // namespace protobuf
1477 : } // namespace google
1478 : // @@protoc_insertion_point(global_scope)
1479 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1480 : _static_init2_ [[maybe_unused]] =
1481 : (::_pbi::AddDescriptors(&descriptor_table_stephdrfile_2eproto),
1482 : ::std::false_type{});
1483 : #include "google/protobuf/port_undef.inc"
|