Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: stepdirectory.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #include "stepdirectory.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 : template <typename>
31 : PROTOBUF_CONSTEXPR StepDirectory_NetlistsByNameEntry_DoNotUse::StepDirectory_NetlistsByNameEntry_DoNotUse(::_pbi::ConstantInitialized)
32 : #if defined(PROTOBUF_CUSTOM_VTABLE)
33 : : StepDirectory_NetlistsByNameEntry_DoNotUse::MapEntry(StepDirectory_NetlistsByNameEntry_DoNotUse_class_data_.base()){}
34 : #else // PROTOBUF_CUSTOM_VTABLE
35 : : StepDirectory_NetlistsByNameEntry_DoNotUse::MapEntry() {
36 : }
37 : #endif // PROTOBUF_CUSTOM_VTABLE
38 : struct StepDirectory_NetlistsByNameEntry_DoNotUseDefaultTypeInternal {
39 : PROTOBUF_CONSTEXPR StepDirectory_NetlistsByNameEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
40 319 : ~StepDirectory_NetlistsByNameEntry_DoNotUseDefaultTypeInternal() {}
41 : union {
42 : StepDirectory_NetlistsByNameEntry_DoNotUse _instance;
43 : };
44 : };
45 :
46 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
47 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StepDirectory_NetlistsByNameEntry_DoNotUseDefaultTypeInternal _StepDirectory_NetlistsByNameEntry_DoNotUse_default_instance_;
48 : template <typename>
49 : PROTOBUF_CONSTEXPR StepDirectory_LayersByNameEntry_DoNotUse::StepDirectory_LayersByNameEntry_DoNotUse(::_pbi::ConstantInitialized)
50 : #if defined(PROTOBUF_CUSTOM_VTABLE)
51 : : StepDirectory_LayersByNameEntry_DoNotUse::MapEntry(StepDirectory_LayersByNameEntry_DoNotUse_class_data_.base()){}
52 : #else // PROTOBUF_CUSTOM_VTABLE
53 : : StepDirectory_LayersByNameEntry_DoNotUse::MapEntry() {
54 : }
55 : #endif // PROTOBUF_CUSTOM_VTABLE
56 : struct StepDirectory_LayersByNameEntry_DoNotUseDefaultTypeInternal {
57 : PROTOBUF_CONSTEXPR StepDirectory_LayersByNameEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
58 319 : ~StepDirectory_LayersByNameEntry_DoNotUseDefaultTypeInternal() {}
59 : union {
60 : StepDirectory_LayersByNameEntry_DoNotUse _instance;
61 : };
62 : };
63 :
64 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
65 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StepDirectory_LayersByNameEntry_DoNotUseDefaultTypeInternal _StepDirectory_LayersByNameEntry_DoNotUse_default_instance_;
66 :
67 : inline constexpr StepDirectory::Impl_::Impl_(
68 : ::_pbi::ConstantInitialized) noexcept
69 : : _cached_size_{0},
70 : name_(
71 : &::google::protobuf::internal::fixed_address_empty_string,
72 : ::_pbi::ConstantInitialized()),
73 : path_(
74 : &::google::protobuf::internal::fixed_address_empty_string,
75 : ::_pbi::ConstantInitialized()),
76 : edadatafile_{nullptr},
77 : attrlistfile_{nullptr},
78 : profilefile_{nullptr},
79 : stephdrfile_{nullptr},
80 : layersbyname_{},
81 : netlistsbyname_{} {}
82 :
83 : template <typename>
84 : PROTOBUF_CONSTEXPR StepDirectory::StepDirectory(::_pbi::ConstantInitialized)
85 : #if defined(PROTOBUF_CUSTOM_VTABLE)
86 : : ::google::protobuf::Message(StepDirectory_class_data_.base()),
87 : #else // PROTOBUF_CUSTOM_VTABLE
88 : : ::google::protobuf::Message(),
89 : #endif // PROTOBUF_CUSTOM_VTABLE
90 : _impl_(::_pbi::ConstantInitialized()) {
91 : }
92 : struct StepDirectoryDefaultTypeInternal {
93 : PROTOBUF_CONSTEXPR StepDirectoryDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
94 319 : ~StepDirectoryDefaultTypeInternal() {}
95 : union {
96 : StepDirectory _instance;
97 : };
98 : };
99 :
100 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
101 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StepDirectoryDefaultTypeInternal _StepDirectory_default_instance_;
102 : } // namespace Protobuf
103 : } // namespace Lib
104 : } // namespace Odb
105 : static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
106 : file_level_enum_descriptors_stepdirectory_2eproto = nullptr;
107 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
108 : file_level_service_descriptors_stepdirectory_2eproto = nullptr;
109 : const ::uint32_t
110 : TableStruct_stepdirectory_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
111 : protodesc_cold) = {
112 : 0x081, // bitmap
113 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory_LayersByNameEntry_DoNotUse, _impl_._has_bits_),
114 : 5, // hasbit index offset
115 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory_LayersByNameEntry_DoNotUse, _impl_.key_),
116 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory_LayersByNameEntry_DoNotUse, _impl_.value_),
117 : 0,
118 : 1,
119 : 0x081, // bitmap
120 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory_NetlistsByNameEntry_DoNotUse, _impl_._has_bits_),
121 : 5, // hasbit index offset
122 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory_NetlistsByNameEntry_DoNotUse, _impl_.key_),
123 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory_NetlistsByNameEntry_DoNotUse, _impl_.value_),
124 : 0,
125 : 1,
126 : 0x081, // bitmap
127 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory, _impl_._has_bits_),
128 : 11, // hasbit index offset
129 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory, _impl_.name_),
130 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory, _impl_.path_),
131 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory, _impl_.layersbyname_),
132 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory, _impl_.netlistsbyname_),
133 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory, _impl_.edadatafile_),
134 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory, _impl_.attrlistfile_),
135 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory, _impl_.profilefile_),
136 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StepDirectory, _impl_.stephdrfile_),
137 : 0,
138 : 1,
139 : 6,
140 : 7,
141 : 2,
142 : 3,
143 : 4,
144 : 5,
145 : };
146 :
147 : static const ::_pbi::MigrationSchema
148 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
149 : {0, sizeof(::Odb::Lib::Protobuf::StepDirectory_LayersByNameEntry_DoNotUse)},
150 : {7, sizeof(::Odb::Lib::Protobuf::StepDirectory_NetlistsByNameEntry_DoNotUse)},
151 : {14, sizeof(::Odb::Lib::Protobuf::StepDirectory)},
152 : };
153 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
154 : &::Odb::Lib::Protobuf::_StepDirectory_LayersByNameEntry_DoNotUse_default_instance_._instance,
155 : &::Odb::Lib::Protobuf::_StepDirectory_NetlistsByNameEntry_DoNotUse_default_instance_._instance,
156 : &::Odb::Lib::Protobuf::_StepDirectory_default_instance_._instance,
157 : };
158 : const char descriptor_table_protodef_stepdirectory_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
159 : protodesc_cold) = {
160 : "\n\023stepdirectory.proto\022\020Odb.Lib.Protobuf\032"
161 : "\021edadatafile.proto\032\021netlistfile.proto\032\024l"
162 : "ayerdirectory.proto\032\022attrlistfile.proto\032"
163 : "\022featuresfile.proto\032\021stephdrfile.proto\"\262"
164 : "\005\n\rStepDirectory\022\021\n\004name\030\001 \001(\tH\000\210\001\001\022\021\n\004p"
165 : "ath\030\002 \001(\tH\001\210\001\001\022G\n\014layersByName\030\003 \003(\01321.O"
166 : "db.Lib.Protobuf.StepDirectory.LayersByNa"
167 : "meEntry\022K\n\016netlistsByName\030\004 \003(\01323.Odb.Li"
168 : "b.Protobuf.StepDirectory.NetlistsByNameE"
169 : "ntry\0227\n\013edadatafile\030\005 \001(\0132\035.Odb.Lib.Prot"
170 : "obuf.EdaDataFileH\002\210\001\001\0229\n\014attrlistfile\030\006 "
171 : "\001(\0132\036.Odb.Lib.Protobuf.AttrListFileH\003\210\001\001"
172 : "\0228\n\013profilefile\030\007 \001(\0132\036.Odb.Lib.Protobuf"
173 : ".FeaturesFileH\004\210\001\001\0227\n\013stephdrfile\030\010 \001(\0132"
174 : "\035.Odb.Lib.Protobuf.StepHdrFileH\005\210\001\001\032U\n\021L"
175 : "ayersByNameEntry\022\013\n\003key\030\001 \001(\t\022/\n\005value\030\002"
176 : " \001(\0132 .Odb.Lib.Protobuf.LayerDirectory:\002"
177 : "8\001\032T\n\023NetlistsByNameEntry\022\013\n\003key\030\001 \001(\t\022,"
178 : "\n\005value\030\002 \001(\0132\035.Odb.Lib.Protobuf.Netlist"
179 : "File:\0028\001B\007\n\005_nameB\007\n\005_pathB\016\n\014_edadatafi"
180 : "leB\017\n\r_attrlistfileB\016\n\014_profilefileB\016\n\014_"
181 : "stephdrfileB\003\370\001\001b\006proto3"
182 : };
183 : static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
184 : descriptor_table_stepdirectory_2eproto_deps[6] = {
185 : &::descriptor_table_attrlistfile_2eproto,
186 : &::descriptor_table_edadatafile_2eproto,
187 : &::descriptor_table_featuresfile_2eproto,
188 : &::descriptor_table_layerdirectory_2eproto,
189 : &::descriptor_table_netlistfile_2eproto,
190 : &::descriptor_table_stephdrfile_2eproto,
191 : };
192 : static ::absl::once_flag descriptor_table_stepdirectory_2eproto_once;
193 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_stepdirectory_2eproto = {
194 : false,
195 : false,
196 : 864,
197 : descriptor_table_protodef_stepdirectory_2eproto,
198 : "stepdirectory.proto",
199 : &descriptor_table_stepdirectory_2eproto_once,
200 : descriptor_table_stepdirectory_2eproto_deps,
201 : 6,
202 : 3,
203 : schemas,
204 : file_default_instances,
205 : TableStruct_stepdirectory_2eproto::offsets,
206 : file_level_enum_descriptors_stepdirectory_2eproto,
207 : file_level_service_descriptors_stepdirectory_2eproto,
208 : };
209 : namespace Odb {
210 : namespace Lib {
211 : namespace Protobuf {
212 : // ===================================================================
213 :
214 : #if defined(PROTOBUF_CUSTOM_VTABLE)
215 : StepDirectory_LayersByNameEntry_DoNotUse::StepDirectory_LayersByNameEntry_DoNotUse()
216 : : SuperType(StepDirectory_LayersByNameEntry_DoNotUse_class_data_.base()) {}
217 : StepDirectory_LayersByNameEntry_DoNotUse::StepDirectory_LayersByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
218 : : SuperType(arena, StepDirectory_LayersByNameEntry_DoNotUse_class_data_.base()) {}
219 : #else // PROTOBUF_CUSTOM_VTABLE
220 0 : StepDirectory_LayersByNameEntry_DoNotUse::StepDirectory_LayersByNameEntry_DoNotUse() : SuperType() {}
221 4525 : StepDirectory_LayersByNameEntry_DoNotUse::StepDirectory_LayersByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
222 : #endif // PROTOBUF_CUSTOM_VTABLE
223 4525 : inline void* PROTOBUF_NONNULL StepDirectory_LayersByNameEntry_DoNotUse::PlacementNew_(
224 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
225 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
226 4525 : return ::new (mem) StepDirectory_LayersByNameEntry_DoNotUse(arena);
227 : }
228 : constexpr auto StepDirectory_LayersByNameEntry_DoNotUse::InternalNewImpl_() {
229 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StepDirectory_LayersByNameEntry_DoNotUse),
230 : alignof(StepDirectory_LayersByNameEntry_DoNotUse));
231 : }
232 : constexpr auto StepDirectory_LayersByNameEntry_DoNotUse::InternalGenerateClassData_() {
233 : return ::google::protobuf::internal::ClassDataFull{
234 : ::google::protobuf::internal::ClassData{
235 : &_StepDirectory_LayersByNameEntry_DoNotUse_default_instance_._instance,
236 : &_table_.header,
237 : nullptr, // OnDemandRegisterArenaDtor
238 : nullptr, // IsInitialized
239 : &StepDirectory_LayersByNameEntry_DoNotUse::MergeImpl,
240 : ::google::protobuf::Message::GetNewImpl<StepDirectory_LayersByNameEntry_DoNotUse>(),
241 : #if defined(PROTOBUF_CUSTOM_VTABLE)
242 : &StepDirectory_LayersByNameEntry_DoNotUse::SharedDtor,
243 : static_cast<void (::google::protobuf::MessageLite::*)()>(&StepDirectory_LayersByNameEntry_DoNotUse::ClearImpl),
244 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
245 : ,
246 : #endif // PROTOBUF_CUSTOM_VTABLE
247 : PROTOBUF_FIELD_OFFSET(StepDirectory_LayersByNameEntry_DoNotUse, _impl_._cached_size_),
248 : false,
249 : },
250 : &StepDirectory_LayersByNameEntry_DoNotUse::kDescriptorMethods,
251 : &descriptor_table_stepdirectory_2eproto,
252 : nullptr, // tracker
253 : };
254 : }
255 :
256 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
257 : ::google::protobuf::internal::ClassDataFull StepDirectory_LayersByNameEntry_DoNotUse_class_data_ =
258 : StepDirectory_LayersByNameEntry_DoNotUse::InternalGenerateClassData_();
259 :
260 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
261 36554 : StepDirectory_LayersByNameEntry_DoNotUse::GetClassData() const {
262 36554 : ::google::protobuf::internal::PrefetchToLocalCache(&StepDirectory_LayersByNameEntry_DoNotUse_class_data_);
263 36554 : ::google::protobuf::internal::PrefetchToLocalCache(StepDirectory_LayersByNameEntry_DoNotUse_class_data_.tc_table);
264 36554 : return StepDirectory_LayersByNameEntry_DoNotUse_class_data_.base();
265 : }
266 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
267 : const ::_pbi::TcParseTable<1, 2, 1, 60, 2>
268 : StepDirectory_LayersByNameEntry_DoNotUse::_table_ = {
269 : {
270 : PROTOBUF_FIELD_OFFSET(StepDirectory_LayersByNameEntry_DoNotUse, _impl_._has_bits_),
271 : 0, // no _extensions_
272 : 2, 8, // max_field_number, fast_idx_mask
273 : offsetof(decltype(_table_), field_lookup_table),
274 : 4294967292, // skipmap
275 : offsetof(decltype(_table_), field_entries),
276 : 2, // num_field_entries
277 : 1, // num_aux_entries
278 : offsetof(decltype(_table_), aux_entries),
279 : StepDirectory_LayersByNameEntry_DoNotUse_class_data_.base(),
280 : nullptr, // post_loop_handler
281 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
282 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
283 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StepDirectory_LayersByNameEntry_DoNotUse>(), // to_prefetch
284 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
285 : }, {{
286 : // .Odb.Lib.Protobuf.LayerDirectory value = 2;
287 : {::_pbi::TcParser::FastMtS1,
288 : {18, 1, 0,
289 : PROTOBUF_FIELD_OFFSET(StepDirectory_LayersByNameEntry_DoNotUse, _impl_.value_)}},
290 : // string key = 1;
291 : {::_pbi::TcParser::FastUS1,
292 : {10, 0, 0,
293 : PROTOBUF_FIELD_OFFSET(StepDirectory_LayersByNameEntry_DoNotUse, _impl_.key_)}},
294 : }}, {{
295 : 65535, 65535
296 : }}, {{
297 : // string key = 1;
298 : {PROTOBUF_FIELD_OFFSET(StepDirectory_LayersByNameEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
299 : // .Odb.Lib.Protobuf.LayerDirectory value = 2;
300 : {PROTOBUF_FIELD_OFFSET(StepDirectory_LayersByNameEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
301 : }},
302 : {{
303 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::LayerDirectory>()},
304 : }},
305 : {{
306 : "\60\3\0\0\0\0\0\0"
307 : "Odb.Lib.Protobuf.StepDirectory.LayersByNameEntry"
308 : "key"
309 : }},
310 : };
311 : // ===================================================================
312 :
313 : #if defined(PROTOBUF_CUSTOM_VTABLE)
314 : StepDirectory_NetlistsByNameEntry_DoNotUse::StepDirectory_NetlistsByNameEntry_DoNotUse()
315 : : SuperType(StepDirectory_NetlistsByNameEntry_DoNotUse_class_data_.base()) {}
316 : StepDirectory_NetlistsByNameEntry_DoNotUse::StepDirectory_NetlistsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
317 : : SuperType(arena, StepDirectory_NetlistsByNameEntry_DoNotUse_class_data_.base()) {}
318 : #else // PROTOBUF_CUSTOM_VTABLE
319 0 : StepDirectory_NetlistsByNameEntry_DoNotUse::StepDirectory_NetlistsByNameEntry_DoNotUse() : SuperType() {}
320 151 : StepDirectory_NetlistsByNameEntry_DoNotUse::StepDirectory_NetlistsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
321 : #endif // PROTOBUF_CUSTOM_VTABLE
322 151 : inline void* PROTOBUF_NONNULL StepDirectory_NetlistsByNameEntry_DoNotUse::PlacementNew_(
323 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
324 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
325 151 : return ::new (mem) StepDirectory_NetlistsByNameEntry_DoNotUse(arena);
326 : }
327 : constexpr auto StepDirectory_NetlistsByNameEntry_DoNotUse::InternalNewImpl_() {
328 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StepDirectory_NetlistsByNameEntry_DoNotUse),
329 : alignof(StepDirectory_NetlistsByNameEntry_DoNotUse));
330 : }
331 : constexpr auto StepDirectory_NetlistsByNameEntry_DoNotUse::InternalGenerateClassData_() {
332 : return ::google::protobuf::internal::ClassDataFull{
333 : ::google::protobuf::internal::ClassData{
334 : &_StepDirectory_NetlistsByNameEntry_DoNotUse_default_instance_._instance,
335 : &_table_.header,
336 : nullptr, // OnDemandRegisterArenaDtor
337 : nullptr, // IsInitialized
338 : &StepDirectory_NetlistsByNameEntry_DoNotUse::MergeImpl,
339 : ::google::protobuf::Message::GetNewImpl<StepDirectory_NetlistsByNameEntry_DoNotUse>(),
340 : #if defined(PROTOBUF_CUSTOM_VTABLE)
341 : &StepDirectory_NetlistsByNameEntry_DoNotUse::SharedDtor,
342 : static_cast<void (::google::protobuf::MessageLite::*)()>(&StepDirectory_NetlistsByNameEntry_DoNotUse::ClearImpl),
343 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
344 : ,
345 : #endif // PROTOBUF_CUSTOM_VTABLE
346 : PROTOBUF_FIELD_OFFSET(StepDirectory_NetlistsByNameEntry_DoNotUse, _impl_._cached_size_),
347 : false,
348 : },
349 : &StepDirectory_NetlistsByNameEntry_DoNotUse::kDescriptorMethods,
350 : &descriptor_table_stepdirectory_2eproto,
351 : nullptr, // tracker
352 : };
353 : }
354 :
355 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
356 : ::google::protobuf::internal::ClassDataFull StepDirectory_NetlistsByNameEntry_DoNotUse_class_data_ =
357 : StepDirectory_NetlistsByNameEntry_DoNotUse::InternalGenerateClassData_();
358 :
359 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
360 1554 : StepDirectory_NetlistsByNameEntry_DoNotUse::GetClassData() const {
361 1554 : ::google::protobuf::internal::PrefetchToLocalCache(&StepDirectory_NetlistsByNameEntry_DoNotUse_class_data_);
362 1554 : ::google::protobuf::internal::PrefetchToLocalCache(StepDirectory_NetlistsByNameEntry_DoNotUse_class_data_.tc_table);
363 1554 : return StepDirectory_NetlistsByNameEntry_DoNotUse_class_data_.base();
364 : }
365 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
366 : const ::_pbi::TcParseTable<1, 2, 1, 62, 2>
367 : StepDirectory_NetlistsByNameEntry_DoNotUse::_table_ = {
368 : {
369 : PROTOBUF_FIELD_OFFSET(StepDirectory_NetlistsByNameEntry_DoNotUse, _impl_._has_bits_),
370 : 0, // no _extensions_
371 : 2, 8, // max_field_number, fast_idx_mask
372 : offsetof(decltype(_table_), field_lookup_table),
373 : 4294967292, // skipmap
374 : offsetof(decltype(_table_), field_entries),
375 : 2, // num_field_entries
376 : 1, // num_aux_entries
377 : offsetof(decltype(_table_), aux_entries),
378 : StepDirectory_NetlistsByNameEntry_DoNotUse_class_data_.base(),
379 : nullptr, // post_loop_handler
380 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
381 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
382 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StepDirectory_NetlistsByNameEntry_DoNotUse>(), // to_prefetch
383 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
384 : }, {{
385 : // .Odb.Lib.Protobuf.NetlistFile value = 2;
386 : {::_pbi::TcParser::FastMtS1,
387 : {18, 1, 0,
388 : PROTOBUF_FIELD_OFFSET(StepDirectory_NetlistsByNameEntry_DoNotUse, _impl_.value_)}},
389 : // string key = 1;
390 : {::_pbi::TcParser::FastUS1,
391 : {10, 0, 0,
392 : PROTOBUF_FIELD_OFFSET(StepDirectory_NetlistsByNameEntry_DoNotUse, _impl_.key_)}},
393 : }}, {{
394 : 65535, 65535
395 : }}, {{
396 : // string key = 1;
397 : {PROTOBUF_FIELD_OFFSET(StepDirectory_NetlistsByNameEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
398 : // .Odb.Lib.Protobuf.NetlistFile value = 2;
399 : {PROTOBUF_FIELD_OFFSET(StepDirectory_NetlistsByNameEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
400 : }},
401 : {{
402 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::NetlistFile>()},
403 : }},
404 : {{
405 : "\62\3\0\0\0\0\0\0"
406 : "Odb.Lib.Protobuf.StepDirectory.NetlistsByNameEntry"
407 : "key"
408 : }},
409 : };
410 : // ===================================================================
411 :
412 : class StepDirectory::_Internal {
413 : public:
414 : using HasBits =
415 : decltype(::std::declval<StepDirectory>()._impl_._has_bits_);
416 : static constexpr ::int32_t kHasBitsOffset =
417 : 8 * PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_._has_bits_);
418 : };
419 :
420 0 : void StepDirectory::clear_layersbyname() {
421 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
422 0 : _impl_.layersbyname_.Clear();
423 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
424 : 0x00000040U);
425 0 : }
426 0 : void StepDirectory::clear_netlistsbyname() {
427 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
428 0 : _impl_.netlistsbyname_.Clear();
429 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
430 : 0x00000080U);
431 0 : }
432 0 : void StepDirectory::clear_edadatafile() {
433 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
434 0 : if (_impl_.edadatafile_ != nullptr) _impl_.edadatafile_->Clear();
435 0 : ClearHasBit(_impl_._has_bits_[0],
436 : 0x00000004U);
437 0 : }
438 0 : void StepDirectory::clear_attrlistfile() {
439 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
440 0 : if (_impl_.attrlistfile_ != nullptr) _impl_.attrlistfile_->Clear();
441 0 : ClearHasBit(_impl_._has_bits_[0],
442 : 0x00000008U);
443 0 : }
444 0 : void StepDirectory::clear_profilefile() {
445 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
446 0 : if (_impl_.profilefile_ != nullptr) _impl_.profilefile_->Clear();
447 0 : ClearHasBit(_impl_._has_bits_[0],
448 : 0x00000010U);
449 0 : }
450 0 : void StepDirectory::clear_stephdrfile() {
451 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
452 0 : if (_impl_.stephdrfile_ != nullptr) _impl_.stephdrfile_->Clear();
453 0 : ClearHasBit(_impl_._has_bits_[0],
454 : 0x00000020U);
455 0 : }
456 469 : StepDirectory::StepDirectory(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
457 : #if defined(PROTOBUF_CUSTOM_VTABLE)
458 : : ::google::protobuf::Message(arena, StepDirectory_class_data_.base()) {
459 : #else // PROTOBUF_CUSTOM_VTABLE
460 469 : : ::google::protobuf::Message(arena) {
461 : #endif // PROTOBUF_CUSTOM_VTABLE
462 469 : SharedCtor(arena);
463 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.StepDirectory)
464 469 : }
465 12 : PROTOBUF_NDEBUG_INLINE StepDirectory::Impl_::Impl_(
466 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
467 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
468 12 : [[maybe_unused]] const ::Odb::Lib::Protobuf::StepDirectory& from_msg)
469 12 : : _has_bits_{from._has_bits_},
470 12 : _cached_size_{0},
471 12 : name_(arena, from.name_),
472 12 : path_(arena, from.path_),
473 12 : layersbyname_{visibility, arena, from.layersbyname_},
474 12 : netlistsbyname_{visibility, arena, from.netlistsbyname_} {}
475 :
476 12 : StepDirectory::StepDirectory(
477 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
478 12 : const StepDirectory& from)
479 : #if defined(PROTOBUF_CUSTOM_VTABLE)
480 : : ::google::protobuf::Message(arena, StepDirectory_class_data_.base()) {
481 : #else // PROTOBUF_CUSTOM_VTABLE
482 12 : : ::google::protobuf::Message(arena) {
483 : #endif // PROTOBUF_CUSTOM_VTABLE
484 12 : StepDirectory* const _this = this;
485 : (void)_this;
486 12 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
487 12 : from._internal_metadata_);
488 12 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
489 12 : ::uint32_t cached_has_bits = _impl_._has_bits_[0];
490 12 : _impl_.edadatafile_ = (CheckHasBit(cached_has_bits, 0x00000004U))
491 24 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.edadatafile_)
492 : : nullptr;
493 12 : _impl_.attrlistfile_ = (CheckHasBit(cached_has_bits, 0x00000008U))
494 24 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.attrlistfile_)
495 : : nullptr;
496 12 : _impl_.profilefile_ = (CheckHasBit(cached_has_bits, 0x00000010U))
497 24 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.profilefile_)
498 : : nullptr;
499 24 : _impl_.stephdrfile_ = (CheckHasBit(cached_has_bits, 0x00000020U))
500 24 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.stephdrfile_)
501 : : nullptr;
502 :
503 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.StepDirectory)
504 12 : }
505 469 : PROTOBUF_NDEBUG_INLINE StepDirectory::Impl_::Impl_(
506 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
507 469 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
508 469 : : _cached_size_{0},
509 469 : name_(arena),
510 469 : path_(arena),
511 469 : layersbyname_{visibility, arena},
512 938 : netlistsbyname_{visibility, arena} {}
513 :
514 469 : inline void StepDirectory::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
515 469 : new (&_impl_) Impl_(internal_visibility(), arena);
516 469 : ::memset(reinterpret_cast<char*>(&_impl_) +
517 : offsetof(Impl_, edadatafile_),
518 : 0,
519 : offsetof(Impl_, stephdrfile_) -
520 : offsetof(Impl_, edadatafile_) +
521 : sizeof(Impl_::stephdrfile_));
522 469 : }
523 768 : StepDirectory::~StepDirectory() {
524 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.StepDirectory)
525 481 : SharedDtor(*this);
526 768 : }
527 481 : inline void StepDirectory::SharedDtor(MessageLite& self) {
528 481 : StepDirectory& this_ = static_cast<StepDirectory&>(self);
529 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
530 481 : this_.CheckHasBitConsistency();
531 : }
532 481 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
533 481 : ABSL_DCHECK(this_.GetArena() == nullptr);
534 481 : this_._impl_.name_.Destroy();
535 481 : this_._impl_.path_.Destroy();
536 481 : delete this_._impl_.edadatafile_;
537 481 : delete this_._impl_.attrlistfile_;
538 481 : delete this_._impl_.profilefile_;
539 481 : delete this_._impl_.stephdrfile_;
540 481 : this_._impl_.~Impl_();
541 481 : }
542 :
543 178 : inline void* PROTOBUF_NONNULL StepDirectory::PlacementNew_(
544 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
545 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
546 178 : return ::new (mem) StepDirectory(arena);
547 : }
548 : constexpr auto StepDirectory::InternalNewImpl_() {
549 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
550 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.layersbyname_) +
551 : decltype(StepDirectory::_impl_.layersbyname_)::
552 : InternalGetArenaOffset(
553 : ::google::protobuf::Message::internal_visibility()),
554 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.netlistsbyname_) +
555 : decltype(StepDirectory::_impl_.netlistsbyname_)::
556 : InternalGetArenaOffset(
557 : ::google::protobuf::Message::internal_visibility()),
558 : });
559 : if (arena_bits.has_value()) {
560 : return ::google::protobuf::internal::MessageCreator::CopyInit(
561 : sizeof(StepDirectory), alignof(StepDirectory), *arena_bits);
562 : } else {
563 : return ::google::protobuf::internal::MessageCreator(&StepDirectory::PlacementNew_,
564 : sizeof(StepDirectory),
565 : alignof(StepDirectory));
566 : }
567 : }
568 : constexpr auto StepDirectory::InternalGenerateClassData_() {
569 : return ::google::protobuf::internal::ClassDataFull{
570 : ::google::protobuf::internal::ClassData{
571 : &_StepDirectory_default_instance_._instance,
572 : &_table_.header,
573 : nullptr, // OnDemandRegisterArenaDtor
574 : nullptr, // IsInitialized
575 : &StepDirectory::MergeImpl,
576 : ::google::protobuf::Message::GetNewImpl<StepDirectory>(),
577 : #if defined(PROTOBUF_CUSTOM_VTABLE)
578 : &StepDirectory::SharedDtor,
579 : ::google::protobuf::Message::GetClearImpl<StepDirectory>(), &StepDirectory::ByteSizeLong,
580 : &StepDirectory::_InternalSerialize,
581 : #endif // PROTOBUF_CUSTOM_VTABLE
582 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_._cached_size_),
583 : false,
584 : },
585 : &StepDirectory::kDescriptorMethods,
586 : &descriptor_table_stepdirectory_2eproto,
587 : nullptr, // tracker
588 : };
589 : }
590 :
591 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
592 : ::google::protobuf::internal::ClassDataFull StepDirectory_class_data_ =
593 : StepDirectory::InternalGenerateClassData_();
594 :
595 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
596 8732 : StepDirectory::GetClassData() const {
597 8732 : ::google::protobuf::internal::PrefetchToLocalCache(&StepDirectory_class_data_);
598 8732 : ::google::protobuf::internal::PrefetchToLocalCache(StepDirectory_class_data_.tc_table);
599 8732 : return StepDirectory_class_data_.base();
600 : }
601 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
602 : const ::_pbi::TcParseTable<3, 8, 8, 81, 2>
603 : StepDirectory::_table_ = {
604 : {
605 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_._has_bits_),
606 : 0, // no _extensions_
607 : 8, 56, // max_field_number, fast_idx_mask
608 : offsetof(decltype(_table_), field_lookup_table),
609 : 4294967040, // skipmap
610 : offsetof(decltype(_table_), field_entries),
611 : 8, // num_field_entries
612 : 8, // num_aux_entries
613 : offsetof(decltype(_table_), aux_entries),
614 : StepDirectory_class_data_.base(),
615 : nullptr, // post_loop_handler
616 : ::_pbi::TcParser::GenericFallback, // fallback
617 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
618 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StepDirectory>(), // to_prefetch
619 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
620 : }, {{
621 : // optional .Odb.Lib.Protobuf.StepHdrFile stephdrfile = 8;
622 : {::_pbi::TcParser::FastMtS1,
623 : {66, 5, 3,
624 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.stephdrfile_)}},
625 : // optional string name = 1;
626 : {::_pbi::TcParser::FastUS1,
627 : {10, 0, 0,
628 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.name_)}},
629 : // optional string path = 2;
630 : {::_pbi::TcParser::FastUS1,
631 : {18, 1, 0,
632 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.path_)}},
633 : {::_pbi::TcParser::MiniParse, {}},
634 : {::_pbi::TcParser::MiniParse, {}},
635 : // optional .Odb.Lib.Protobuf.EdaDataFile edadatafile = 5;
636 : {::_pbi::TcParser::FastMtS1,
637 : {42, 2, 0,
638 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.edadatafile_)}},
639 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistfile = 6;
640 : {::_pbi::TcParser::FastMtS1,
641 : {50, 3, 1,
642 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.attrlistfile_)}},
643 : // optional .Odb.Lib.Protobuf.FeaturesFile profilefile = 7;
644 : {::_pbi::TcParser::FastMtS1,
645 : {58, 4, 2,
646 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.profilefile_)}},
647 : }}, {{
648 : 65535, 65535
649 : }}, {{
650 : // optional string name = 1;
651 : {PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
652 : // optional string path = 2;
653 : {PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.path_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
654 : // map<string, .Odb.Lib.Protobuf.LayerDirectory> layersByName = 3;
655 : {PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.layersbyname_), _Internal::kHasBitsOffset + 6, 4, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
656 : // map<string, .Odb.Lib.Protobuf.NetlistFile> netlistsByName = 4;
657 : {PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.netlistsbyname_), _Internal::kHasBitsOffset + 7, 6, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
658 : // optional .Odb.Lib.Protobuf.EdaDataFile edadatafile = 5;
659 : {PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.edadatafile_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
660 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistfile = 6;
661 : {PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.attrlistfile_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
662 : // optional .Odb.Lib.Protobuf.FeaturesFile profilefile = 7;
663 : {PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.profilefile_), _Internal::kHasBitsOffset + 4, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
664 : // optional .Odb.Lib.Protobuf.StepHdrFile stephdrfile = 8;
665 : {PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.stephdrfile_), _Internal::kHasBitsOffset + 5, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
666 : }},
667 : {{
668 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::EdaDataFile>()},
669 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::AttrListFile>()},
670 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FeaturesFile>()},
671 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StepHdrFile>()},
672 : {::_pbi::TcParser::GetMapAuxInfo(
673 : 1, 0, 9, 11, 0)},
674 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::LayerDirectory>()},
675 : {::_pbi::TcParser::GetMapAuxInfo(
676 : 1, 0, 9, 11, 0)},
677 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::NetlistFile>()},
678 : }},
679 : {{
680 : "\36\4\4\14\16\0\0\0\0\0\0\0\0\0\0\0"
681 : "Odb.Lib.Protobuf.StepDirectory"
682 : "name"
683 : "path"
684 : "layersByName"
685 : "netlistsByName"
686 : }},
687 : };
688 331 : PROTOBUF_NOINLINE void StepDirectory::Clear() {
689 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.StepDirectory)
690 331 : ::google::protobuf::internal::TSanWrite(&_impl_);
691 331 : ::uint32_t cached_has_bits = 0;
692 : // Prevent compiler warnings about cached_has_bits being unused
693 : (void) cached_has_bits;
694 :
695 331 : cached_has_bits = _impl_._has_bits_[0];
696 331 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
697 2 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
698 2 : _impl_.name_.ClearNonDefaultToEmpty();
699 : }
700 2 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
701 2 : _impl_.path_.ClearNonDefaultToEmpty();
702 : }
703 2 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
704 2 : ABSL_DCHECK(_impl_.edadatafile_ != nullptr);
705 2 : _impl_.edadatafile_->Clear();
706 : }
707 2 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
708 2 : ABSL_DCHECK(_impl_.attrlistfile_ != nullptr);
709 2 : _impl_.attrlistfile_->Clear();
710 : }
711 2 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
712 2 : ABSL_DCHECK(_impl_.profilefile_ != nullptr);
713 2 : _impl_.profilefile_->Clear();
714 : }
715 2 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
716 2 : ABSL_DCHECK(_impl_.stephdrfile_ != nullptr);
717 2 : _impl_.stephdrfile_->Clear();
718 : }
719 2 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
720 2 : _impl_.layersbyname_.Clear();
721 : }
722 2 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
723 0 : _impl_.netlistsbyname_.Clear();
724 : }
725 : }
726 331 : _impl_._has_bits_.Clear();
727 331 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
728 331 : }
729 :
730 : #if defined(PROTOBUF_CUSTOM_VTABLE)
731 : ::uint8_t* PROTOBUF_NONNULL StepDirectory::_InternalSerialize(
732 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
733 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
734 : const StepDirectory& this_ = static_cast<const StepDirectory&>(base);
735 : #else // PROTOBUF_CUSTOM_VTABLE
736 100 : ::uint8_t* PROTOBUF_NONNULL StepDirectory::_InternalSerialize(
737 : ::uint8_t* PROTOBUF_NONNULL target,
738 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
739 100 : const StepDirectory& this_ = *this;
740 : #endif // PROTOBUF_CUSTOM_VTABLE
741 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
742 100 : this_.CheckHasBitConsistency();
743 : }
744 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.StepDirectory)
745 100 : ::uint32_t cached_has_bits = 0;
746 : (void)cached_has_bits;
747 :
748 100 : cached_has_bits = this_._impl_._has_bits_[0];
749 : // optional string name = 1;
750 100 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
751 100 : const ::std::string& _s = this_._internal_name();
752 200 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
753 100 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepDirectory.name");
754 100 : target = stream->WriteStringMaybeAliased(1, _s, target);
755 : }
756 :
757 : // optional string path = 2;
758 100 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
759 100 : const ::std::string& _s = this_._internal_path();
760 200 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
761 100 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepDirectory.path");
762 100 : target = stream->WriteStringMaybeAliased(2, _s, target);
763 : }
764 :
765 : // map<string, .Odb.Lib.Protobuf.LayerDirectory> layersByName = 3;
766 100 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
767 100 : if (!this_._internal_layersbyname().empty()) {
768 : using MapType = ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::LayerDirectory>;
769 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::LayerDirectory,
770 : _pbi::WireFormatLite::TYPE_STRING,
771 : _pbi::WireFormatLite::TYPE_MESSAGE>;
772 100 : const auto& field = this_._internal_layersbyname();
773 :
774 100 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
775 594 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
776 1144 : target = WireHelper::InternalSerialize(
777 572 : 3, entry.first, entry.second, target, stream);
778 1144 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
779 572 : entry.first.data(), static_cast<int>(entry.first.length()),
780 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepDirectory.layersByName");
781 22 : }
782 : } else {
783 2244 : for (const auto& entry : field) {
784 4332 : target = WireHelper::InternalSerialize(
785 2166 : 3, entry.first, entry.second, target, stream);
786 4332 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
787 2166 : entry.first.data(), static_cast<int>(entry.first.length()),
788 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepDirectory.layersByName");
789 : }
790 : }
791 : }
792 : }
793 :
794 : // map<string, .Odb.Lib.Protobuf.NetlistFile> netlistsByName = 4;
795 100 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
796 96 : if (!this_._internal_netlistsbyname().empty()) {
797 : using MapType = ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::NetlistFile>;
798 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::NetlistFile,
799 : _pbi::WireFormatLite::TYPE_STRING,
800 : _pbi::WireFormatLite::TYPE_MESSAGE>;
801 96 : const auto& field = this_._internal_netlistsbyname();
802 :
803 96 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
804 0 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
805 0 : target = WireHelper::InternalSerialize(
806 0 : 4, entry.first, entry.second, target, stream);
807 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
808 0 : entry.first.data(), static_cast<int>(entry.first.length()),
809 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepDirectory.netlistsByName");
810 0 : }
811 : } else {
812 192 : for (const auto& entry : field) {
813 192 : target = WireHelper::InternalSerialize(
814 96 : 4, entry.first, entry.second, target, stream);
815 192 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
816 96 : entry.first.data(), static_cast<int>(entry.first.length()),
817 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StepDirectory.netlistsByName");
818 : }
819 : }
820 : }
821 : }
822 :
823 : // optional .Odb.Lib.Protobuf.EdaDataFile edadatafile = 5;
824 100 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
825 100 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
826 100 : 5, *this_._impl_.edadatafile_, this_._impl_.edadatafile_->GetCachedSize(), target,
827 : stream);
828 : }
829 :
830 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistfile = 6;
831 100 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
832 100 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
833 100 : 6, *this_._impl_.attrlistfile_, this_._impl_.attrlistfile_->GetCachedSize(), target,
834 : stream);
835 : }
836 :
837 : // optional .Odb.Lib.Protobuf.FeaturesFile profilefile = 7;
838 100 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
839 100 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
840 100 : 7, *this_._impl_.profilefile_, this_._impl_.profilefile_->GetCachedSize(), target,
841 : stream);
842 : }
843 :
844 : // optional .Odb.Lib.Protobuf.StepHdrFile stephdrfile = 8;
845 100 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
846 100 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
847 100 : 8, *this_._impl_.stephdrfile_, this_._impl_.stephdrfile_->GetCachedSize(), target,
848 : stream);
849 : }
850 :
851 100 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
852 : target =
853 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
854 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
855 : }
856 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.StepDirectory)
857 100 : return target;
858 : }
859 :
860 : #if defined(PROTOBUF_CUSTOM_VTABLE)
861 : ::size_t StepDirectory::ByteSizeLong(const MessageLite& base) {
862 : const StepDirectory& this_ = static_cast<const StepDirectory&>(base);
863 : #else // PROTOBUF_CUSTOM_VTABLE
864 135 : ::size_t StepDirectory::ByteSizeLong() const {
865 135 : const StepDirectory& this_ = *this;
866 : #endif // PROTOBUF_CUSTOM_VTABLE
867 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.StepDirectory)
868 135 : ::size_t total_size = 0;
869 :
870 135 : ::uint32_t cached_has_bits = 0;
871 : // Prevent compiler warnings about cached_has_bits being unused
872 : (void)cached_has_bits;
873 :
874 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
875 135 : cached_has_bits = this_._impl_._has_bits_[0];
876 135 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
877 : // optional string name = 1;
878 135 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
879 135 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
880 : this_._internal_name());
881 : }
882 : // optional string path = 2;
883 135 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
884 135 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
885 : this_._internal_path());
886 : }
887 : // optional .Odb.Lib.Protobuf.EdaDataFile edadatafile = 5;
888 135 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
889 135 : total_size += 1 +
890 135 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.edadatafile_);
891 : }
892 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistfile = 6;
893 135 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
894 135 : total_size += 1 +
895 135 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.attrlistfile_);
896 : }
897 : // optional .Odb.Lib.Protobuf.FeaturesFile profilefile = 7;
898 135 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
899 135 : total_size += 1 +
900 135 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.profilefile_);
901 : }
902 : // optional .Odb.Lib.Protobuf.StepHdrFile stephdrfile = 8;
903 135 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
904 135 : total_size += 1 +
905 135 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.stephdrfile_);
906 : }
907 : // map<string, .Odb.Lib.Protobuf.LayerDirectory> layersByName = 3;
908 135 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
909 135 : total_size +=
910 135 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_layersbyname_size());
911 3742 : for (const auto& entry : this_._internal_layersbyname()) {
912 3607 : total_size += _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::LayerDirectory,
913 : _pbi::WireFormatLite::TYPE_STRING,
914 3607 : _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
915 : }
916 : }
917 : // map<string, .Odb.Lib.Protobuf.NetlistFile> netlistsByName = 4;
918 135 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
919 128 : total_size +=
920 128 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_netlistsbyname_size());
921 256 : for (const auto& entry : this_._internal_netlistsbyname()) {
922 128 : total_size += _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::NetlistFile,
923 : _pbi::WireFormatLite::TYPE_STRING,
924 128 : _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
925 : }
926 : }
927 : }
928 135 : return this_.MaybeComputeUnknownFieldsSize(total_size,
929 135 : &this_._impl_._cached_size_);
930 : }
931 :
932 331 : void StepDirectory::MergeImpl(::google::protobuf::MessageLite& to_msg,
933 : const ::google::protobuf::MessageLite& from_msg) {
934 331 : auto* const _this =
935 : static_cast<StepDirectory*>(&to_msg);
936 331 : auto& from = static_cast<const StepDirectory&>(from_msg);
937 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
938 331 : from.CheckHasBitConsistency();
939 : }
940 331 : ::google::protobuf::Arena* arena = _this->GetArena();
941 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.StepDirectory)
942 331 : ABSL_DCHECK_NE(&from, _this);
943 331 : ::uint32_t cached_has_bits = 0;
944 : (void)cached_has_bits;
945 :
946 331 : cached_has_bits = from._impl_._has_bits_[0];
947 331 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
948 330 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
949 330 : _this->_internal_set_name(from._internal_name());
950 : }
951 330 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
952 330 : _this->_internal_set_path(from._internal_path());
953 : }
954 330 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
955 330 : ABSL_DCHECK(from._impl_.edadatafile_ != nullptr);
956 330 : if (_this->_impl_.edadatafile_ == nullptr) {
957 656 : _this->_impl_.edadatafile_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.edadatafile_);
958 : } else {
959 2 : _this->_impl_.edadatafile_->MergeFrom(*from._impl_.edadatafile_);
960 : }
961 : }
962 330 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
963 330 : ABSL_DCHECK(from._impl_.attrlistfile_ != nullptr);
964 330 : if (_this->_impl_.attrlistfile_ == nullptr) {
965 656 : _this->_impl_.attrlistfile_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.attrlistfile_);
966 : } else {
967 2 : _this->_impl_.attrlistfile_->MergeFrom(*from._impl_.attrlistfile_);
968 : }
969 : }
970 330 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
971 330 : ABSL_DCHECK(from._impl_.profilefile_ != nullptr);
972 330 : if (_this->_impl_.profilefile_ == nullptr) {
973 656 : _this->_impl_.profilefile_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.profilefile_);
974 : } else {
975 2 : _this->_impl_.profilefile_->MergeFrom(*from._impl_.profilefile_);
976 : }
977 : }
978 330 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
979 330 : ABSL_DCHECK(from._impl_.stephdrfile_ != nullptr);
980 330 : if (_this->_impl_.stephdrfile_ == nullptr) {
981 656 : _this->_impl_.stephdrfile_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.stephdrfile_);
982 : } else {
983 2 : _this->_impl_.stephdrfile_->MergeFrom(*from._impl_.stephdrfile_);
984 : }
985 : }
986 330 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
987 330 : _this->_impl_.layersbyname_.MergeFrom(from._impl_.layersbyname_);
988 : }
989 330 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
990 318 : _this->_impl_.netlistsbyname_.MergeFrom(from._impl_.netlistsbyname_);
991 : }
992 : }
993 331 : _this->_impl_._has_bits_[0] |= cached_has_bits;
994 331 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
995 331 : from._internal_metadata_);
996 331 : }
997 :
998 176 : void StepDirectory::CopyFrom(const StepDirectory& from) {
999 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.StepDirectory)
1000 176 : if (&from == this) return;
1001 176 : Clear();
1002 176 : MergeFrom(from);
1003 : }
1004 :
1005 :
1006 17 : void StepDirectory::InternalSwap(StepDirectory* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1007 : using ::std::swap;
1008 17 : auto* arena = GetArena();
1009 17 : ABSL_DCHECK_EQ(arena, other->GetArena());
1010 17 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1011 17 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1012 17 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
1013 17 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena);
1014 : ::google::protobuf::internal::memswap<
1015 : PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.stephdrfile_)
1016 : + sizeof(StepDirectory::_impl_.stephdrfile_)
1017 17 : - PROTOBUF_FIELD_OFFSET(StepDirectory, _impl_.edadatafile_)>(
1018 17 : reinterpret_cast<char*>(&_impl_.edadatafile_),
1019 17 : reinterpret_cast<char*>(&other->_impl_.edadatafile_));
1020 17 : _impl_.layersbyname_.InternalSwap(&other->_impl_.layersbyname_);
1021 17 : _impl_.netlistsbyname_.InternalSwap(&other->_impl_.netlistsbyname_);
1022 17 : }
1023 :
1024 0 : ::google::protobuf::Metadata StepDirectory::GetMetadata() const {
1025 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1026 : }
1027 : // @@protoc_insertion_point(namespace_scope)
1028 : } // namespace Protobuf
1029 : } // namespace Lib
1030 : } // namespace Odb
1031 : namespace google {
1032 : namespace protobuf {
1033 : } // namespace protobuf
1034 : } // namespace google
1035 : // @@protoc_insertion_point(global_scope)
1036 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1037 : _static_init2_ [[maybe_unused]] =
1038 : (::_pbi::AddDescriptors(&descriptor_table_stepdirectory_2eproto),
1039 : ::std::false_type{});
1040 : #include "google/protobuf/port_undef.inc"
|