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 : #ifndef stepdirectory_2eproto_2epb_2eh
7 : #define stepdirectory_2eproto_2epb_2eh
8 :
9 : #include <limits>
10 : #include <string>
11 : #include <type_traits>
12 : #include <utility>
13 :
14 : #include "google/protobuf/runtime_version.h"
15 : #if PROTOBUF_VERSION != 6033004
16 : #error "Protobuf C++ gencode is built with an incompatible version of"
17 : #error "Protobuf C++ headers/runtime. See"
18 : #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19 : #endif
20 : #include "google/protobuf/io/coded_stream.h"
21 : #include "google/protobuf/arena.h"
22 : #include "google/protobuf/arenastring.h"
23 : #include "google/protobuf/generated_message_tctable_decl.h"
24 : #include "google/protobuf/generated_message_util.h"
25 : #include "google/protobuf/metadata_lite.h"
26 : #include "google/protobuf/generated_message_reflection.h"
27 : #include "google/protobuf/message.h"
28 : #include "google/protobuf/message_lite.h"
29 : #include "google/protobuf/repeated_field.h" // IWYU pragma: export
30 : #include "google/protobuf/extension_set.h" // IWYU pragma: export
31 : #include "google/protobuf/map.h" // IWYU pragma: export
32 : #include "google/protobuf/map_type_handler.h" // IWYU pragma: export
33 : #include "google/protobuf/map_entry.h"
34 : #include "google/protobuf/map_field.h"
35 : #include "google/protobuf/unknown_field_set.h"
36 : #include "edadatafile.pb.h"
37 : #include "netlistfile.pb.h"
38 : #include "layerdirectory.pb.h"
39 : #include "attrlistfile.pb.h"
40 : #include "featuresfile.pb.h"
41 : #include "stephdrfile.pb.h"
42 : // @@protoc_insertion_point(includes)
43 :
44 : // Must be included last.
45 : #include "google/protobuf/port_def.inc"
46 :
47 : #define PROTOBUF_INTERNAL_EXPORT_stepdirectory_2eproto ODBDESIGN_EXPORT
48 :
49 : namespace google {
50 : namespace protobuf {
51 : namespace internal {
52 : template <typename T>
53 : ::absl::string_view GetAnyMessageName();
54 : } // namespace internal
55 : } // namespace protobuf
56 : } // namespace google
57 :
58 : // Internal implementation detail -- do not use these members.
59 : struct ODBDESIGN_EXPORT TableStruct_stepdirectory_2eproto {
60 : static const ::uint32_t offsets[];
61 : };
62 : extern "C" {
63 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_stepdirectory_2eproto;
64 : } // extern "C"
65 : namespace Odb {
66 : namespace Lib {
67 : namespace Protobuf {
68 : class StepDirectory;
69 : struct StepDirectoryDefaultTypeInternal;
70 : ODBDESIGN_EXPORT extern StepDirectoryDefaultTypeInternal _StepDirectory_default_instance_;
71 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull StepDirectory_class_data_;
72 : class StepDirectory_LayersByNameEntry_DoNotUse;
73 : struct StepDirectory_LayersByNameEntry_DoNotUseDefaultTypeInternal;
74 : ODBDESIGN_EXPORT extern StepDirectory_LayersByNameEntry_DoNotUseDefaultTypeInternal _StepDirectory_LayersByNameEntry_DoNotUse_default_instance_;
75 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull StepDirectory_LayersByNameEntry_DoNotUse_class_data_;
76 : class StepDirectory_NetlistsByNameEntry_DoNotUse;
77 : struct StepDirectory_NetlistsByNameEntry_DoNotUseDefaultTypeInternal;
78 : ODBDESIGN_EXPORT extern StepDirectory_NetlistsByNameEntry_DoNotUseDefaultTypeInternal _StepDirectory_NetlistsByNameEntry_DoNotUse_default_instance_;
79 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull StepDirectory_NetlistsByNameEntry_DoNotUse_class_data_;
80 : } // namespace Protobuf
81 : } // namespace Lib
82 : } // namespace Odb
83 : namespace google {
84 : namespace protobuf {
85 : } // namespace protobuf
86 : } // namespace google
87 :
88 : namespace Odb {
89 : namespace Lib {
90 : namespace Protobuf {
91 :
92 : // ===================================================================
93 :
94 :
95 : // -------------------------------------------------------------------
96 :
97 : class StepDirectory_NetlistsByNameEntry_DoNotUse final
98 : : public ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
99 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
100 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
101 : public:
102 : using SuperType =
103 : ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
104 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
105 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
106 : StepDirectory_NetlistsByNameEntry_DoNotUse();
107 : template <typename = void>
108 : explicit PROTOBUF_CONSTEXPR StepDirectory_NetlistsByNameEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
109 : explicit StepDirectory_NetlistsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
110 481 : static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
111 481 : return &_StepDirectory_NetlistsByNameEntry_DoNotUse_default_instance_;
112 : }
113 :
114 :
115 : static constexpr auto InternalGenerateClassData_();
116 :
117 : private:
118 : friend class ::google::protobuf::MessageLite;
119 : friend struct ::TableStruct_stepdirectory_2eproto;
120 :
121 : friend class ::google::protobuf::internal::TcParser;
122 : static const ::google::protobuf::internal::TcParseTable<1, 2,
123 : 1, 62,
124 : 2>
125 : _table_;
126 :
127 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
128 : static void* PROTOBUF_NONNULL PlacementNew_(
129 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
130 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
131 : static constexpr auto InternalNewImpl_();
132 : };
133 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull StepDirectory_NetlistsByNameEntry_DoNotUse_class_data_;
134 : // -------------------------------------------------------------------
135 :
136 : class StepDirectory_LayersByNameEntry_DoNotUse final
137 : : public ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
138 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
139 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
140 : public:
141 : using SuperType =
142 : ::google::protobuf::internal::MapEntry<::std::string, ::google::protobuf::Message,
143 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
144 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
145 : StepDirectory_LayersByNameEntry_DoNotUse();
146 : template <typename = void>
147 : explicit PROTOBUF_CONSTEXPR StepDirectory_LayersByNameEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
148 : explicit StepDirectory_LayersByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
149 481 : static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
150 481 : return &_StepDirectory_LayersByNameEntry_DoNotUse_default_instance_;
151 : }
152 :
153 :
154 : static constexpr auto InternalGenerateClassData_();
155 :
156 : private:
157 : friend class ::google::protobuf::MessageLite;
158 : friend struct ::TableStruct_stepdirectory_2eproto;
159 :
160 : friend class ::google::protobuf::internal::TcParser;
161 : static const ::google::protobuf::internal::TcParseTable<1, 2,
162 : 1, 60,
163 : 2>
164 : _table_;
165 :
166 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
167 : static void* PROTOBUF_NONNULL PlacementNew_(
168 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
169 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
170 : static constexpr auto InternalNewImpl_();
171 : };
172 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull StepDirectory_LayersByNameEntry_DoNotUse_class_data_;
173 : // -------------------------------------------------------------------
174 :
175 : class ODBDESIGN_EXPORT StepDirectory final : public ::google::protobuf::Message
176 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.StepDirectory) */ {
177 : public:
178 274 : inline StepDirectory() : StepDirectory(nullptr) {}
179 : ~StepDirectory() PROTOBUF_FINAL;
180 :
181 : #if defined(PROTOBUF_CUSTOM_VTABLE)
182 : void operator delete(StepDirectory* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
183 : SharedDtor(*msg);
184 : ::google::protobuf::internal::SizedDelete(msg, sizeof(StepDirectory));
185 : }
186 : #endif
187 :
188 : template <typename = void>
189 : explicit PROTOBUF_CONSTEXPR StepDirectory(::google::protobuf::internal::ConstantInitialized);
190 :
191 12 : inline StepDirectory(const StepDirectory& from) : StepDirectory(nullptr, from) {}
192 : inline StepDirectory(StepDirectory&& from) noexcept
193 : : StepDirectory(nullptr, ::std::move(from)) {}
194 156 : inline StepDirectory& operator=(const StepDirectory& from) {
195 156 : CopyFrom(from);
196 156 : return *this;
197 : }
198 : inline StepDirectory& operator=(StepDirectory&& from) noexcept {
199 : if (this == &from) return *this;
200 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
201 : InternalSwap(&from);
202 : } else {
203 : CopyFrom(from);
204 : }
205 : return *this;
206 : }
207 :
208 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
209 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
210 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
211 : }
212 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
213 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
214 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
215 : }
216 :
217 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
218 : return GetDescriptor();
219 : }
220 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
221 : return default_instance().GetMetadata().descriptor;
222 : }
223 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
224 : return default_instance().GetMetadata().reflection;
225 : }
226 : static const StepDirectory& default_instance() {
227 : return *reinterpret_cast<const StepDirectory*>(
228 : &_StepDirectory_default_instance_);
229 : }
230 : static constexpr int kIndexInFileMessages = 2;
231 : friend void swap(StepDirectory& a, StepDirectory& b) { a.Swap(&b); }
232 17 : inline void Swap(StepDirectory* PROTOBUF_NONNULL other) {
233 17 : if (other == this) return;
234 17 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
235 17 : InternalSwap(other);
236 : } else {
237 0 : ::google::protobuf::internal::GenericSwap(this, other);
238 : }
239 : }
240 : void UnsafeArenaSwap(StepDirectory* PROTOBUF_NONNULL other) {
241 : if (other == this) return;
242 : ABSL_DCHECK(GetArena() == other->GetArena());
243 : InternalSwap(other);
244 : }
245 :
246 : // implements Message ----------------------------------------------
247 :
248 : StepDirectory* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
249 : return ::google::protobuf::Message::DefaultConstruct<StepDirectory>(arena);
250 : }
251 : using ::google::protobuf::Message::CopyFrom;
252 : void CopyFrom(const StepDirectory& from);
253 : using ::google::protobuf::Message::MergeFrom;
254 176 : void MergeFrom(const StepDirectory& from) { StepDirectory::MergeImpl(*this, from); }
255 :
256 : private:
257 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
258 : const ::google::protobuf::MessageLite& from_msg);
259 :
260 : public:
261 : bool IsInitialized() const {
262 : return true;
263 : }
264 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
265 : #if defined(PROTOBUF_CUSTOM_VTABLE)
266 : private:
267 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
268 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
269 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
270 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
271 :
272 : public:
273 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
274 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
275 : ::uint8_t* PROTOBUF_NONNULL target,
276 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
277 : return _InternalSerialize(*this, target, stream);
278 : }
279 : #else // PROTOBUF_CUSTOM_VTABLE
280 : ::size_t ByteSizeLong() const final;
281 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
282 : ::uint8_t* PROTOBUF_NONNULL target,
283 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
284 : #endif // PROTOBUF_CUSTOM_VTABLE
285 176 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
286 :
287 : private:
288 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
289 : static void SharedDtor(MessageLite& self);
290 : void InternalSwap(StepDirectory* PROTOBUF_NONNULL other);
291 : private:
292 : template <typename T>
293 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
294 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.StepDirectory"; }
295 :
296 : explicit StepDirectory(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
297 : StepDirectory(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StepDirectory& from);
298 : StepDirectory(
299 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, StepDirectory&& from) noexcept
300 : : StepDirectory(arena) {
301 : *this = ::std::move(from);
302 : }
303 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
304 : static void* PROTOBUF_NONNULL PlacementNew_(
305 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
306 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
307 : static constexpr auto InternalNewImpl_();
308 :
309 : public:
310 : static constexpr auto InternalGenerateClassData_();
311 :
312 : ::google::protobuf::Metadata GetMetadata() const;
313 : // nested types ----------------------------------------------------
314 :
315 : // accessors -------------------------------------------------------
316 : enum : int {
317 : kNameFieldNumber = 1,
318 : kPathFieldNumber = 2,
319 : kEdadatafileFieldNumber = 5,
320 : kAttrlistfileFieldNumber = 6,
321 : kProfilefileFieldNumber = 7,
322 : kStephdrfileFieldNumber = 8,
323 : kLayersByNameFieldNumber = 3,
324 : kNetlistsByNameFieldNumber = 4,
325 : };
326 : // optional string name = 1;
327 : bool has_name() const;
328 : void clear_name() ;
329 : const ::std::string& name() const;
330 : template <typename Arg_ = const ::std::string&, typename... Args_>
331 : void set_name(Arg_&& arg, Args_... args);
332 : ::std::string* PROTOBUF_NONNULL mutable_name();
333 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
334 : void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
335 :
336 : private:
337 : const ::std::string& _internal_name() const;
338 : PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
339 : ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
340 :
341 : public:
342 : // optional string path = 2;
343 : bool has_path() const;
344 : void clear_path() ;
345 : const ::std::string& path() const;
346 : template <typename Arg_ = const ::std::string&, typename... Args_>
347 : void set_path(Arg_&& arg, Args_... args);
348 : ::std::string* PROTOBUF_NONNULL mutable_path();
349 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_path();
350 : void set_allocated_path(::std::string* PROTOBUF_NULLABLE value);
351 :
352 : private:
353 : const ::std::string& _internal_path() const;
354 : PROTOBUF_ALWAYS_INLINE void _internal_set_path(const ::std::string& value);
355 : ::std::string* PROTOBUF_NONNULL _internal_mutable_path();
356 :
357 : public:
358 : // optional .Odb.Lib.Protobuf.EdaDataFile edadatafile = 5;
359 : bool has_edadatafile() const;
360 : void clear_edadatafile() ;
361 : const ::Odb::Lib::Protobuf::EdaDataFile& edadatafile() const;
362 : [[nodiscard]] ::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NULLABLE release_edadatafile();
363 : ::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NONNULL mutable_edadatafile();
364 : void set_allocated_edadatafile(::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NULLABLE value);
365 : void unsafe_arena_set_allocated_edadatafile(::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NULLABLE value);
366 : ::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NULLABLE unsafe_arena_release_edadatafile();
367 :
368 : private:
369 : const ::Odb::Lib::Protobuf::EdaDataFile& _internal_edadatafile() const;
370 : ::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NONNULL _internal_mutable_edadatafile();
371 :
372 : public:
373 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistfile = 6;
374 : bool has_attrlistfile() const;
375 : void clear_attrlistfile() ;
376 : const ::Odb::Lib::Protobuf::AttrListFile& attrlistfile() const;
377 : [[nodiscard]] ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE release_attrlistfile();
378 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL mutable_attrlistfile();
379 : void set_allocated_attrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value);
380 : void unsafe_arena_set_allocated_attrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value);
381 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE unsafe_arena_release_attrlistfile();
382 :
383 : private:
384 : const ::Odb::Lib::Protobuf::AttrListFile& _internal_attrlistfile() const;
385 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL _internal_mutable_attrlistfile();
386 :
387 : public:
388 : // optional .Odb.Lib.Protobuf.FeaturesFile profilefile = 7;
389 : bool has_profilefile() const;
390 : void clear_profilefile() ;
391 : const ::Odb::Lib::Protobuf::FeaturesFile& profilefile() const;
392 : [[nodiscard]] ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE release_profilefile();
393 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL mutable_profilefile();
394 : void set_allocated_profilefile(::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value);
395 : void unsafe_arena_set_allocated_profilefile(::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value);
396 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE unsafe_arena_release_profilefile();
397 :
398 : private:
399 : const ::Odb::Lib::Protobuf::FeaturesFile& _internal_profilefile() const;
400 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL _internal_mutable_profilefile();
401 :
402 : public:
403 : // optional .Odb.Lib.Protobuf.StepHdrFile stephdrfile = 8;
404 : bool has_stephdrfile() const;
405 : void clear_stephdrfile() ;
406 : const ::Odb::Lib::Protobuf::StepHdrFile& stephdrfile() const;
407 : [[nodiscard]] ::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NULLABLE release_stephdrfile();
408 : ::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NONNULL mutable_stephdrfile();
409 : void set_allocated_stephdrfile(::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NULLABLE value);
410 : void unsafe_arena_set_allocated_stephdrfile(::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NULLABLE value);
411 : ::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NULLABLE unsafe_arena_release_stephdrfile();
412 :
413 : private:
414 : const ::Odb::Lib::Protobuf::StepHdrFile& _internal_stephdrfile() const;
415 : ::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NONNULL _internal_mutable_stephdrfile();
416 :
417 : public:
418 : // map<string, .Odb.Lib.Protobuf.LayerDirectory> layersByName = 3;
419 : int layersbyname_size() const;
420 : private:
421 : int _internal_layersbyname_size() const;
422 :
423 : public:
424 : void clear_layersbyname() ;
425 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::LayerDirectory>& layersbyname() const;
426 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::LayerDirectory>* PROTOBUF_NONNULL mutable_layersbyname();
427 :
428 : private:
429 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::LayerDirectory>& _internal_layersbyname() const;
430 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::LayerDirectory>* PROTOBUF_NONNULL _internal_mutable_layersbyname();
431 :
432 : public:
433 : // map<string, .Odb.Lib.Protobuf.NetlistFile> netlistsByName = 4;
434 : int netlistsbyname_size() const;
435 : private:
436 : int _internal_netlistsbyname_size() const;
437 :
438 : public:
439 : void clear_netlistsbyname() ;
440 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::NetlistFile>& netlistsbyname() const;
441 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::NetlistFile>* PROTOBUF_NONNULL mutable_netlistsbyname();
442 :
443 : private:
444 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::NetlistFile>& _internal_netlistsbyname() const;
445 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::NetlistFile>* PROTOBUF_NONNULL _internal_mutable_netlistsbyname();
446 :
447 : public:
448 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.StepDirectory)
449 : private:
450 : class _Internal;
451 : friend class ::google::protobuf::internal::TcParser;
452 : static const ::google::protobuf::internal::TcParseTable<3, 8,
453 : 8, 81,
454 : 2>
455 : _table_;
456 :
457 : friend class ::google::protobuf::MessageLite;
458 : friend class ::google::protobuf::Arena;
459 : template <typename T>
460 : friend class ::google::protobuf::Arena::InternalHelper;
461 : using InternalArenaConstructable_ = void;
462 : using DestructorSkippable_ = void;
463 : struct Impl_ {
464 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
465 : inline explicit Impl_(
466 : ::google::protobuf::internal::InternalVisibility visibility,
467 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
468 : inline explicit Impl_(
469 : ::google::protobuf::internal::InternalVisibility visibility,
470 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
471 : const StepDirectory& from_msg);
472 : ::google::protobuf::internal::HasBits<1> _has_bits_;
473 : ::google::protobuf::internal::CachedSize _cached_size_;
474 : ::google::protobuf::internal::ArenaStringPtr name_;
475 : ::google::protobuf::internal::ArenaStringPtr path_;
476 : ::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NULLABLE edadatafile_;
477 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE attrlistfile_;
478 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE profilefile_;
479 : ::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NULLABLE stephdrfile_;
480 : ::google::protobuf::internal::MapField<StepDirectory_LayersByNameEntry_DoNotUse, ::std::string, ::Odb::Lib::Protobuf::LayerDirectory,
481 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
482 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
483 : layersbyname_;
484 : ::google::protobuf::internal::MapField<StepDirectory_NetlistsByNameEntry_DoNotUse, ::std::string, ::Odb::Lib::Protobuf::NetlistFile,
485 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
486 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
487 : netlistsbyname_;
488 : PROTOBUF_TSAN_DECLARE_MEMBER
489 : };
490 : union { Impl_ _impl_; };
491 : friend struct ::TableStruct_stepdirectory_2eproto;
492 : };
493 :
494 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull StepDirectory_class_data_;
495 :
496 : // ===================================================================
497 :
498 :
499 :
500 :
501 : // ===================================================================
502 :
503 :
504 : #ifdef __GNUC__
505 : #pragma GCC diagnostic push
506 : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
507 : #endif // __GNUC__
508 : // -------------------------------------------------------------------
509 :
510 : // -------------------------------------------------------------------
511 :
512 : // -------------------------------------------------------------------
513 :
514 : // StepDirectory
515 :
516 : // optional string name = 1;
517 : inline bool StepDirectory::has_name() const {
518 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
519 : return value;
520 : }
521 : inline void StepDirectory::clear_name() {
522 : ::google::protobuf::internal::TSanWrite(&_impl_);
523 : _impl_.name_.ClearToEmpty();
524 : ClearHasBit(_impl_._has_bits_[0],
525 : 0x00000001U);
526 : }
527 8 : inline const ::std::string& StepDirectory::name() const
528 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
529 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.StepDirectory.name)
530 8 : return _internal_name();
531 : }
532 : template <typename Arg_, typename... Args_>
533 : PROTOBUF_ALWAYS_INLINE void StepDirectory::set_name(Arg_&& arg, Args_... args) {
534 97 : ::google::protobuf::internal::TSanWrite(&_impl_);
535 97 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
536 97 : _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
537 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.StepDirectory.name)
538 97 : }
539 : inline ::std::string* PROTOBUF_NONNULL StepDirectory::mutable_name()
540 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
541 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
542 : ::std::string* _s = _internal_mutable_name();
543 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.StepDirectory.name)
544 : return _s;
545 : }
546 573 : inline const ::std::string& StepDirectory::_internal_name() const {
547 573 : ::google::protobuf::internal::TSanRead(&_impl_);
548 573 : return _impl_.name_.Get();
549 : }
550 : inline void StepDirectory::_internal_set_name(const ::std::string& value) {
551 330 : ::google::protobuf::internal::TSanWrite(&_impl_);
552 330 : _impl_.name_.Set(value, GetArena());
553 330 : }
554 : inline ::std::string* PROTOBUF_NONNULL StepDirectory::_internal_mutable_name() {
555 : ::google::protobuf::internal::TSanWrite(&_impl_);
556 : return _impl_.name_.Mutable( GetArena());
557 : }
558 : inline ::std::string* PROTOBUF_NULLABLE StepDirectory::release_name() {
559 : ::google::protobuf::internal::TSanWrite(&_impl_);
560 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.StepDirectory.name)
561 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
562 : return nullptr;
563 : }
564 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
565 : auto* released = _impl_.name_.Release();
566 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
567 : _impl_.name_.Set("", GetArena());
568 : }
569 : return released;
570 : }
571 : inline void StepDirectory::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
572 : ::google::protobuf::internal::TSanWrite(&_impl_);
573 : if (value != nullptr) {
574 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
575 : } else {
576 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
577 : }
578 : _impl_.name_.SetAllocated(value, GetArena());
579 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
580 : _impl_.name_.Set("", GetArena());
581 : }
582 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.StepDirectory.name)
583 : }
584 :
585 : // optional string path = 2;
586 : inline bool StepDirectory::has_path() const {
587 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
588 : return value;
589 : }
590 : inline void StepDirectory::clear_path() {
591 : ::google::protobuf::internal::TSanWrite(&_impl_);
592 : _impl_.path_.ClearToEmpty();
593 : ClearHasBit(_impl_._has_bits_[0],
594 : 0x00000002U);
595 : }
596 8 : inline const ::std::string& StepDirectory::path() const
597 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
598 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.StepDirectory.path)
599 8 : return _internal_path();
600 : }
601 : template <typename Arg_, typename... Args_>
602 : PROTOBUF_ALWAYS_INLINE void StepDirectory::set_path(Arg_&& arg, Args_... args) {
603 97 : ::google::protobuf::internal::TSanWrite(&_impl_);
604 97 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
605 97 : _impl_.path_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
606 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.StepDirectory.path)
607 97 : }
608 : inline ::std::string* PROTOBUF_NONNULL StepDirectory::mutable_path()
609 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
610 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
611 : ::std::string* _s = _internal_mutable_path();
612 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.StepDirectory.path)
613 : return _s;
614 : }
615 573 : inline const ::std::string& StepDirectory::_internal_path() const {
616 573 : ::google::protobuf::internal::TSanRead(&_impl_);
617 573 : return _impl_.path_.Get();
618 : }
619 : inline void StepDirectory::_internal_set_path(const ::std::string& value) {
620 330 : ::google::protobuf::internal::TSanWrite(&_impl_);
621 330 : _impl_.path_.Set(value, GetArena());
622 330 : }
623 : inline ::std::string* PROTOBUF_NONNULL StepDirectory::_internal_mutable_path() {
624 : ::google::protobuf::internal::TSanWrite(&_impl_);
625 : return _impl_.path_.Mutable( GetArena());
626 : }
627 : inline ::std::string* PROTOBUF_NULLABLE StepDirectory::release_path() {
628 : ::google::protobuf::internal::TSanWrite(&_impl_);
629 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.StepDirectory.path)
630 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
631 : return nullptr;
632 : }
633 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
634 : auto* released = _impl_.path_.Release();
635 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
636 : _impl_.path_.Set("", GetArena());
637 : }
638 : return released;
639 : }
640 : inline void StepDirectory::set_allocated_path(::std::string* PROTOBUF_NULLABLE value) {
641 : ::google::protobuf::internal::TSanWrite(&_impl_);
642 : if (value != nullptr) {
643 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
644 : } else {
645 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
646 : }
647 : _impl_.path_.SetAllocated(value, GetArena());
648 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) {
649 : _impl_.path_.Set("", GetArena());
650 : }
651 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.StepDirectory.path)
652 : }
653 :
654 : // map<string, .Odb.Lib.Protobuf.LayerDirectory> layersByName = 3;
655 135 : inline int StepDirectory::_internal_layersbyname_size() const {
656 135 : return _internal_layersbyname().size();
657 : }
658 : inline int StepDirectory::layersbyname_size() const {
659 : return _internal_layersbyname_size();
660 : }
661 492 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::LayerDirectory>& StepDirectory::_internal_layersbyname() const {
662 492 : ::google::protobuf::internal::TSanRead(&_impl_);
663 492 : return _impl_.layersbyname_.GetMap();
664 : }
665 22 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::LayerDirectory>& StepDirectory::layersbyname() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
666 : // @@protoc_insertion_point(field_map:Odb.Lib.Protobuf.StepDirectory.layersByName)
667 22 : return _internal_layersbyname();
668 : }
669 14610 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::LayerDirectory>* PROTOBUF_NONNULL StepDirectory::_internal_mutable_layersbyname() {
670 14610 : ::google::protobuf::internal::TSanWrite(&_impl_);
671 14610 : return _impl_.layersbyname_.MutableMap();
672 : }
673 14610 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::LayerDirectory>* PROTOBUF_NONNULL StepDirectory::mutable_layersbyname()
674 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
675 14610 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000040U);
676 : // @@protoc_insertion_point(field_mutable_map:Odb.Lib.Protobuf.StepDirectory.layersByName)
677 14610 : return _internal_mutable_layersbyname();
678 : }
679 :
680 : // map<string, .Odb.Lib.Protobuf.NetlistFile> netlistsByName = 4;
681 128 : inline int StepDirectory::_internal_netlistsbyname_size() const {
682 128 : return _internal_netlistsbyname().size();
683 : }
684 : inline int StepDirectory::netlistsbyname_size() const {
685 : return _internal_netlistsbyname_size();
686 : }
687 456 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::NetlistFile>& StepDirectory::_internal_netlistsbyname() const {
688 456 : ::google::protobuf::internal::TSanRead(&_impl_);
689 456 : return _impl_.netlistsbyname_.GetMap();
690 : }
691 8 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::NetlistFile>& StepDirectory::netlistsbyname() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
692 : // @@protoc_insertion_point(field_map:Odb.Lib.Protobuf.StepDirectory.netlistsByName)
693 8 : return _internal_netlistsbyname();
694 : }
695 91 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::NetlistFile>* PROTOBUF_NONNULL StepDirectory::_internal_mutable_netlistsbyname() {
696 91 : ::google::protobuf::internal::TSanWrite(&_impl_);
697 91 : return _impl_.netlistsbyname_.MutableMap();
698 : }
699 91 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::NetlistFile>* PROTOBUF_NONNULL StepDirectory::mutable_netlistsbyname()
700 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
701 91 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000080U);
702 : // @@protoc_insertion_point(field_mutable_map:Odb.Lib.Protobuf.StepDirectory.netlistsByName)
703 91 : return _internal_mutable_netlistsbyname();
704 : }
705 :
706 : // optional .Odb.Lib.Protobuf.EdaDataFile edadatafile = 5;
707 : inline bool StepDirectory::has_edadatafile() const {
708 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
709 : PROTOBUF_ASSUME(!value || _impl_.edadatafile_ != nullptr);
710 : return value;
711 : }
712 8 : inline const ::Odb::Lib::Protobuf::EdaDataFile& StepDirectory::_internal_edadatafile() const {
713 8 : ::google::protobuf::internal::TSanRead(&_impl_);
714 8 : const ::Odb::Lib::Protobuf::EdaDataFile* p = _impl_.edadatafile_;
715 8 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::EdaDataFile&>(::Odb::Lib::Protobuf::_EdaDataFile_default_instance_);
716 : }
717 8 : inline const ::Odb::Lib::Protobuf::EdaDataFile& StepDirectory::edadatafile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
718 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.StepDirectory.edadatafile)
719 8 : return _internal_edadatafile();
720 : }
721 : inline void StepDirectory::unsafe_arena_set_allocated_edadatafile(
722 : ::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NULLABLE value) {
723 : ::google::protobuf::internal::TSanWrite(&_impl_);
724 : if (GetArena() == nullptr) {
725 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.edadatafile_);
726 : }
727 : _impl_.edadatafile_ = reinterpret_cast<::Odb::Lib::Protobuf::EdaDataFile*>(value);
728 : if (value != nullptr) {
729 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
730 : } else {
731 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
732 : }
733 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.StepDirectory.edadatafile)
734 : }
735 : inline ::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NULLABLE StepDirectory::release_edadatafile() {
736 : ::google::protobuf::internal::TSanWrite(&_impl_);
737 :
738 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
739 : ::Odb::Lib::Protobuf::EdaDataFile* released = _impl_.edadatafile_;
740 : _impl_.edadatafile_ = nullptr;
741 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
742 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
743 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
744 : if (GetArena() == nullptr) {
745 : delete old;
746 : }
747 : } else {
748 : if (GetArena() != nullptr) {
749 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
750 : }
751 : }
752 : return released;
753 : }
754 : inline ::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NULLABLE StepDirectory::unsafe_arena_release_edadatafile() {
755 : ::google::protobuf::internal::TSanWrite(&_impl_);
756 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.StepDirectory.edadatafile)
757 :
758 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
759 : ::Odb::Lib::Protobuf::EdaDataFile* temp = _impl_.edadatafile_;
760 : _impl_.edadatafile_ = nullptr;
761 : return temp;
762 : }
763 97 : inline ::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NONNULL StepDirectory::_internal_mutable_edadatafile() {
764 97 : ::google::protobuf::internal::TSanWrite(&_impl_);
765 97 : if (_impl_.edadatafile_ == nullptr) {
766 97 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::EdaDataFile>(GetArena());
767 97 : _impl_.edadatafile_ = reinterpret_cast<::Odb::Lib::Protobuf::EdaDataFile*>(p);
768 : }
769 97 : return _impl_.edadatafile_;
770 : }
771 97 : inline ::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NONNULL StepDirectory::mutable_edadatafile()
772 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
773 97 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
774 97 : ::Odb::Lib::Protobuf::EdaDataFile* _msg = _internal_mutable_edadatafile();
775 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.StepDirectory.edadatafile)
776 97 : return _msg;
777 : }
778 : inline void StepDirectory::set_allocated_edadatafile(::Odb::Lib::Protobuf::EdaDataFile* PROTOBUF_NULLABLE value) {
779 : ::google::protobuf::Arena* message_arena = GetArena();
780 : ::google::protobuf::internal::TSanWrite(&_impl_);
781 : if (message_arena == nullptr) {
782 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.edadatafile_);
783 : }
784 :
785 : if (value != nullptr) {
786 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
787 : if (message_arena != submessage_arena) {
788 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
789 : }
790 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
791 : } else {
792 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
793 : }
794 :
795 : _impl_.edadatafile_ = reinterpret_cast<::Odb::Lib::Protobuf::EdaDataFile*>(value);
796 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.StepDirectory.edadatafile)
797 : }
798 :
799 : // optional .Odb.Lib.Protobuf.AttrListFile attrlistfile = 6;
800 : inline bool StepDirectory::has_attrlistfile() const {
801 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
802 : PROTOBUF_ASSUME(!value || _impl_.attrlistfile_ != nullptr);
803 : return value;
804 : }
805 8 : inline const ::Odb::Lib::Protobuf::AttrListFile& StepDirectory::_internal_attrlistfile() const {
806 8 : ::google::protobuf::internal::TSanRead(&_impl_);
807 8 : const ::Odb::Lib::Protobuf::AttrListFile* p = _impl_.attrlistfile_;
808 8 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::AttrListFile&>(::Odb::Lib::Protobuf::_AttrListFile_default_instance_);
809 : }
810 8 : inline const ::Odb::Lib::Protobuf::AttrListFile& StepDirectory::attrlistfile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
811 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.StepDirectory.attrlistfile)
812 8 : return _internal_attrlistfile();
813 : }
814 : inline void StepDirectory::unsafe_arena_set_allocated_attrlistfile(
815 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value) {
816 : ::google::protobuf::internal::TSanWrite(&_impl_);
817 : if (GetArena() == nullptr) {
818 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attrlistfile_);
819 : }
820 : _impl_.attrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(value);
821 : if (value != nullptr) {
822 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
823 : } else {
824 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
825 : }
826 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.StepDirectory.attrlistfile)
827 : }
828 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE StepDirectory::release_attrlistfile() {
829 : ::google::protobuf::internal::TSanWrite(&_impl_);
830 :
831 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
832 : ::Odb::Lib::Protobuf::AttrListFile* released = _impl_.attrlistfile_;
833 : _impl_.attrlistfile_ = nullptr;
834 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
835 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
836 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
837 : if (GetArena() == nullptr) {
838 : delete old;
839 : }
840 : } else {
841 : if (GetArena() != nullptr) {
842 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
843 : }
844 : }
845 : return released;
846 : }
847 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE StepDirectory::unsafe_arena_release_attrlistfile() {
848 : ::google::protobuf::internal::TSanWrite(&_impl_);
849 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.StepDirectory.attrlistfile)
850 :
851 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
852 : ::Odb::Lib::Protobuf::AttrListFile* temp = _impl_.attrlistfile_;
853 : _impl_.attrlistfile_ = nullptr;
854 : return temp;
855 : }
856 97 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL StepDirectory::_internal_mutable_attrlistfile() {
857 97 : ::google::protobuf::internal::TSanWrite(&_impl_);
858 97 : if (_impl_.attrlistfile_ == nullptr) {
859 97 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::AttrListFile>(GetArena());
860 97 : _impl_.attrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(p);
861 : }
862 97 : return _impl_.attrlistfile_;
863 : }
864 97 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL StepDirectory::mutable_attrlistfile()
865 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
866 97 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
867 97 : ::Odb::Lib::Protobuf::AttrListFile* _msg = _internal_mutable_attrlistfile();
868 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.StepDirectory.attrlistfile)
869 97 : return _msg;
870 : }
871 : inline void StepDirectory::set_allocated_attrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value) {
872 : ::google::protobuf::Arena* message_arena = GetArena();
873 : ::google::protobuf::internal::TSanWrite(&_impl_);
874 : if (message_arena == nullptr) {
875 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attrlistfile_);
876 : }
877 :
878 : if (value != nullptr) {
879 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
880 : if (message_arena != submessage_arena) {
881 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
882 : }
883 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
884 : } else {
885 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
886 : }
887 :
888 : _impl_.attrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(value);
889 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.StepDirectory.attrlistfile)
890 : }
891 :
892 : // optional .Odb.Lib.Protobuf.FeaturesFile profilefile = 7;
893 0 : inline bool StepDirectory::has_profilefile() const {
894 0 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
895 0 : PROTOBUF_ASSUME(!value || _impl_.profilefile_ != nullptr);
896 0 : return value;
897 : }
898 8 : inline const ::Odb::Lib::Protobuf::FeaturesFile& StepDirectory::_internal_profilefile() const {
899 8 : ::google::protobuf::internal::TSanRead(&_impl_);
900 8 : const ::Odb::Lib::Protobuf::FeaturesFile* p = _impl_.profilefile_;
901 8 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::FeaturesFile&>(::Odb::Lib::Protobuf::_FeaturesFile_default_instance_);
902 : }
903 8 : inline const ::Odb::Lib::Protobuf::FeaturesFile& StepDirectory::profilefile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
904 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.StepDirectory.profilefile)
905 8 : return _internal_profilefile();
906 : }
907 : inline void StepDirectory::unsafe_arena_set_allocated_profilefile(
908 : ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value) {
909 : ::google::protobuf::internal::TSanWrite(&_impl_);
910 : if (GetArena() == nullptr) {
911 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.profilefile_);
912 : }
913 : _impl_.profilefile_ = reinterpret_cast<::Odb::Lib::Protobuf::FeaturesFile*>(value);
914 : if (value != nullptr) {
915 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
916 : } else {
917 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
918 : }
919 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.StepDirectory.profilefile)
920 : }
921 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE StepDirectory::release_profilefile() {
922 : ::google::protobuf::internal::TSanWrite(&_impl_);
923 :
924 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
925 : ::Odb::Lib::Protobuf::FeaturesFile* released = _impl_.profilefile_;
926 : _impl_.profilefile_ = nullptr;
927 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
928 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
929 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
930 : if (GetArena() == nullptr) {
931 : delete old;
932 : }
933 : } else {
934 : if (GetArena() != nullptr) {
935 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
936 : }
937 : }
938 : return released;
939 : }
940 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE StepDirectory::unsafe_arena_release_profilefile() {
941 : ::google::protobuf::internal::TSanWrite(&_impl_);
942 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.StepDirectory.profilefile)
943 :
944 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
945 : ::Odb::Lib::Protobuf::FeaturesFile* temp = _impl_.profilefile_;
946 : _impl_.profilefile_ = nullptr;
947 : return temp;
948 : }
949 97 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL StepDirectory::_internal_mutable_profilefile() {
950 97 : ::google::protobuf::internal::TSanWrite(&_impl_);
951 97 : if (_impl_.profilefile_ == nullptr) {
952 97 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::FeaturesFile>(GetArena());
953 97 : _impl_.profilefile_ = reinterpret_cast<::Odb::Lib::Protobuf::FeaturesFile*>(p);
954 : }
955 97 : return _impl_.profilefile_;
956 : }
957 97 : inline ::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NONNULL StepDirectory::mutable_profilefile()
958 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
959 97 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
960 97 : ::Odb::Lib::Protobuf::FeaturesFile* _msg = _internal_mutable_profilefile();
961 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.StepDirectory.profilefile)
962 97 : return _msg;
963 : }
964 : inline void StepDirectory::set_allocated_profilefile(::Odb::Lib::Protobuf::FeaturesFile* PROTOBUF_NULLABLE value) {
965 : ::google::protobuf::Arena* message_arena = GetArena();
966 : ::google::protobuf::internal::TSanWrite(&_impl_);
967 : if (message_arena == nullptr) {
968 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.profilefile_);
969 : }
970 :
971 : if (value != nullptr) {
972 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
973 : if (message_arena != submessage_arena) {
974 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
975 : }
976 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
977 : } else {
978 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
979 : }
980 :
981 : _impl_.profilefile_ = reinterpret_cast<::Odb::Lib::Protobuf::FeaturesFile*>(value);
982 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.StepDirectory.profilefile)
983 : }
984 :
985 : // optional .Odb.Lib.Protobuf.StepHdrFile stephdrfile = 8;
986 : inline bool StepDirectory::has_stephdrfile() const {
987 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
988 : PROTOBUF_ASSUME(!value || _impl_.stephdrfile_ != nullptr);
989 : return value;
990 : }
991 8 : inline const ::Odb::Lib::Protobuf::StepHdrFile& StepDirectory::_internal_stephdrfile() const {
992 8 : ::google::protobuf::internal::TSanRead(&_impl_);
993 8 : const ::Odb::Lib::Protobuf::StepHdrFile* p = _impl_.stephdrfile_;
994 8 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::StepHdrFile&>(::Odb::Lib::Protobuf::_StepHdrFile_default_instance_);
995 : }
996 8 : inline const ::Odb::Lib::Protobuf::StepHdrFile& StepDirectory::stephdrfile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
997 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.StepDirectory.stephdrfile)
998 8 : return _internal_stephdrfile();
999 : }
1000 : inline void StepDirectory::unsafe_arena_set_allocated_stephdrfile(
1001 : ::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NULLABLE value) {
1002 : ::google::protobuf::internal::TSanWrite(&_impl_);
1003 : if (GetArena() == nullptr) {
1004 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.stephdrfile_);
1005 : }
1006 : _impl_.stephdrfile_ = reinterpret_cast<::Odb::Lib::Protobuf::StepHdrFile*>(value);
1007 : if (value != nullptr) {
1008 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
1009 : } else {
1010 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
1011 : }
1012 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.StepDirectory.stephdrfile)
1013 : }
1014 : inline ::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NULLABLE StepDirectory::release_stephdrfile() {
1015 : ::google::protobuf::internal::TSanWrite(&_impl_);
1016 :
1017 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
1018 : ::Odb::Lib::Protobuf::StepHdrFile* released = _impl_.stephdrfile_;
1019 : _impl_.stephdrfile_ = nullptr;
1020 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1021 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1022 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1023 : if (GetArena() == nullptr) {
1024 : delete old;
1025 : }
1026 : } else {
1027 : if (GetArena() != nullptr) {
1028 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1029 : }
1030 : }
1031 : return released;
1032 : }
1033 : inline ::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NULLABLE StepDirectory::unsafe_arena_release_stephdrfile() {
1034 : ::google::protobuf::internal::TSanWrite(&_impl_);
1035 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.StepDirectory.stephdrfile)
1036 :
1037 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
1038 : ::Odb::Lib::Protobuf::StepHdrFile* temp = _impl_.stephdrfile_;
1039 : _impl_.stephdrfile_ = nullptr;
1040 : return temp;
1041 : }
1042 97 : inline ::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NONNULL StepDirectory::_internal_mutable_stephdrfile() {
1043 97 : ::google::protobuf::internal::TSanWrite(&_impl_);
1044 97 : if (_impl_.stephdrfile_ == nullptr) {
1045 97 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::StepHdrFile>(GetArena());
1046 97 : _impl_.stephdrfile_ = reinterpret_cast<::Odb::Lib::Protobuf::StepHdrFile*>(p);
1047 : }
1048 97 : return _impl_.stephdrfile_;
1049 : }
1050 97 : inline ::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NONNULL StepDirectory::mutable_stephdrfile()
1051 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1052 97 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
1053 97 : ::Odb::Lib::Protobuf::StepHdrFile* _msg = _internal_mutable_stephdrfile();
1054 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.StepDirectory.stephdrfile)
1055 97 : return _msg;
1056 : }
1057 : inline void StepDirectory::set_allocated_stephdrfile(::Odb::Lib::Protobuf::StepHdrFile* PROTOBUF_NULLABLE value) {
1058 : ::google::protobuf::Arena* message_arena = GetArena();
1059 : ::google::protobuf::internal::TSanWrite(&_impl_);
1060 : if (message_arena == nullptr) {
1061 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.stephdrfile_);
1062 : }
1063 :
1064 : if (value != nullptr) {
1065 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1066 : if (message_arena != submessage_arena) {
1067 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1068 : }
1069 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
1070 : } else {
1071 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
1072 : }
1073 :
1074 : _impl_.stephdrfile_ = reinterpret_cast<::Odb::Lib::Protobuf::StepHdrFile*>(value);
1075 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.StepDirectory.stephdrfile)
1076 : }
1077 :
1078 : #ifdef __GNUC__
1079 : #pragma GCC diagnostic pop
1080 : #endif // __GNUC__
1081 :
1082 : // @@protoc_insertion_point(namespace_scope)
1083 : } // namespace Protobuf
1084 : } // namespace Lib
1085 : } // namespace Odb
1086 :
1087 :
1088 : // @@protoc_insertion_point(global_scope)
1089 :
1090 : #include "google/protobuf/port_undef.inc"
1091 :
1092 : #endif // stepdirectory_2eproto_2epb_2eh
|