Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: filearchive.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #ifndef filearchive_2eproto_2epb_2eh
7 : #define filearchive_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 "stepdirectory.pb.h"
37 : #include "miscinfofile.pb.h"
38 : #include "matrixfile.pb.h"
39 : #include "standardfontsfile.pb.h"
40 : #include "symbolsdirectory.pb.h"
41 : #include "attrlistfile.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_filearchive_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_filearchive_2eproto {
60 : static const ::uint32_t offsets[];
61 : };
62 : extern "C" {
63 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_filearchive_2eproto;
64 : } // extern "C"
65 : namespace Odb {
66 : namespace Lib {
67 : namespace Protobuf {
68 : class FileArchive;
69 : struct FileArchiveDefaultTypeInternal;
70 : ODBDESIGN_EXPORT extern FileArchiveDefaultTypeInternal _FileArchive_default_instance_;
71 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileArchive_class_data_;
72 : class FileArchive_StepsByNameEntry_DoNotUse;
73 : struct FileArchive_StepsByNameEntry_DoNotUseDefaultTypeInternal;
74 : ODBDESIGN_EXPORT extern FileArchive_StepsByNameEntry_DoNotUseDefaultTypeInternal _FileArchive_StepsByNameEntry_DoNotUse_default_instance_;
75 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileArchive_StepsByNameEntry_DoNotUse_class_data_;
76 : class FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse;
77 : struct FileArchive_SymbolsDirectoriesByNameEntry_DoNotUseDefaultTypeInternal;
78 : ODBDESIGN_EXPORT extern FileArchive_SymbolsDirectoriesByNameEntry_DoNotUseDefaultTypeInternal _FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_default_instance_;
79 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileArchive_SymbolsDirectoriesByNameEntry_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 FileArchive_SymbolsDirectoriesByNameEntry_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 : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse();
107 : template <typename = void>
108 : explicit PROTOBUF_CONSTEXPR FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
109 : explicit FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
110 247 : static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
111 247 : return &_FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_default_instance_;
112 : }
113 :
114 :
115 : static constexpr auto InternalGenerateClassData_();
116 :
117 : private:
118 : friend class ::google::protobuf::MessageLite;
119 : friend struct ::TableStruct_filearchive_2eproto;
120 :
121 : friend class ::google::protobuf::internal::TcParser;
122 : static const ::google::protobuf::internal::TcParseTable<1, 2,
123 : 1, 70,
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 FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_class_data_;
134 : // -------------------------------------------------------------------
135 :
136 : class FileArchive_StepsByNameEntry_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 : FileArchive_StepsByNameEntry_DoNotUse();
146 : template <typename = void>
147 : explicit PROTOBUF_CONSTEXPR FileArchive_StepsByNameEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
148 : explicit FileArchive_StepsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
149 247 : static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
150 247 : return &_FileArchive_StepsByNameEntry_DoNotUse_default_instance_;
151 : }
152 :
153 :
154 : static constexpr auto InternalGenerateClassData_();
155 :
156 : private:
157 : friend class ::google::protobuf::MessageLite;
158 : friend struct ::TableStruct_filearchive_2eproto;
159 :
160 : friend class ::google::protobuf::internal::TcParser;
161 : static const ::google::protobuf::internal::TcParseTable<1, 2,
162 : 1, 57,
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 FileArchive_StepsByNameEntry_DoNotUse_class_data_;
173 : // -------------------------------------------------------------------
174 :
175 : class ODBDESIGN_EXPORT FileArchive final : public ::google::protobuf::Message
176 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.FileArchive) */ {
177 : public:
178 96 : inline FileArchive() : FileArchive(nullptr) {}
179 : ~FileArchive() PROTOBUF_FINAL;
180 :
181 : #if defined(PROTOBUF_CUSTOM_VTABLE)
182 : void operator delete(FileArchive* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
183 : SharedDtor(*msg);
184 : ::google::protobuf::internal::SizedDelete(msg, sizeof(FileArchive));
185 : }
186 : #endif
187 :
188 : template <typename = void>
189 : explicit PROTOBUF_CONSTEXPR FileArchive(::google::protobuf::internal::ConstantInitialized);
190 :
191 0 : inline FileArchive(const FileArchive& from) : FileArchive(nullptr, from) {}
192 : inline FileArchive(FileArchive&& from) noexcept
193 : : FileArchive(nullptr, ::std::move(from)) {}
194 : inline FileArchive& operator=(const FileArchive& from) {
195 : CopyFrom(from);
196 : return *this;
197 : }
198 : inline FileArchive& operator=(FileArchive&& 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 FileArchive& default_instance() {
227 : return *reinterpret_cast<const FileArchive*>(
228 : &_FileArchive_default_instance_);
229 : }
230 : static constexpr int kIndexInFileMessages = 2;
231 : friend void swap(FileArchive& a, FileArchive& b) { a.Swap(&b); }
232 16 : inline void Swap(FileArchive* PROTOBUF_NONNULL other) {
233 16 : if (other == this) return;
234 16 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
235 16 : InternalSwap(other);
236 : } else {
237 0 : ::google::protobuf::internal::GenericSwap(this, other);
238 : }
239 : }
240 : void UnsafeArenaSwap(FileArchive* PROTOBUF_NONNULL other) {
241 : if (other == this) return;
242 : ABSL_DCHECK(GetArena() == other->GetArena());
243 : InternalSwap(other);
244 : }
245 :
246 : // implements Message ----------------------------------------------
247 :
248 : FileArchive* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
249 : return ::google::protobuf::Message::DefaultConstruct<FileArchive>(arena);
250 : }
251 : using ::google::protobuf::Message::CopyFrom;
252 : void CopyFrom(const FileArchive& from);
253 : using ::google::protobuf::Message::MergeFrom;
254 96 : void MergeFrom(const FileArchive& from) { FileArchive::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 100 : 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(FileArchive* 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.FileArchive"; }
295 :
296 : explicit FileArchive(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
297 : FileArchive(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FileArchive& from);
298 : FileArchive(
299 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FileArchive&& from) noexcept
300 : : FileArchive(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 : kProductNameFieldNumber = 7,
318 : kFileNameFieldNumber = 8,
319 : kMiscInfoFileFieldNumber = 2,
320 : kMatrixFileFieldNumber = 3,
321 : kStandardFontsFileFieldNumber = 4,
322 : kMiscAttrListFileFieldNumber = 6,
323 : kStepsByNameFieldNumber = 1,
324 : kSymbolsDirectoriesByNameFieldNumber = 5,
325 : };
326 : // optional string productName = 7;
327 : bool has_productname() const;
328 : void clear_productname() ;
329 : const ::std::string& productname() const;
330 : template <typename Arg_ = const ::std::string&, typename... Args_>
331 : void set_productname(Arg_&& arg, Args_... args);
332 : ::std::string* PROTOBUF_NONNULL mutable_productname();
333 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_productname();
334 : void set_allocated_productname(::std::string* PROTOBUF_NULLABLE value);
335 :
336 : private:
337 : const ::std::string& _internal_productname() const;
338 : PROTOBUF_ALWAYS_INLINE void _internal_set_productname(const ::std::string& value);
339 : ::std::string* PROTOBUF_NONNULL _internal_mutable_productname();
340 :
341 : public:
342 : // optional string fileName = 8;
343 : bool has_filename() const;
344 : void clear_filename() ;
345 : const ::std::string& filename() const;
346 : template <typename Arg_ = const ::std::string&, typename... Args_>
347 : void set_filename(Arg_&& arg, Args_... args);
348 : ::std::string* PROTOBUF_NONNULL mutable_filename();
349 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_filename();
350 : void set_allocated_filename(::std::string* PROTOBUF_NULLABLE value);
351 :
352 : private:
353 : const ::std::string& _internal_filename() const;
354 : PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const ::std::string& value);
355 : ::std::string* PROTOBUF_NONNULL _internal_mutable_filename();
356 :
357 : public:
358 : // optional .Odb.Lib.Protobuf.MiscInfoFile miscInfoFile = 2;
359 : bool has_miscinfofile() const;
360 : void clear_miscinfofile() ;
361 : const ::Odb::Lib::Protobuf::MiscInfoFile& miscinfofile() const;
362 : [[nodiscard]] ::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NULLABLE release_miscinfofile();
363 : ::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NONNULL mutable_miscinfofile();
364 : void set_allocated_miscinfofile(::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NULLABLE value);
365 : void unsafe_arena_set_allocated_miscinfofile(::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NULLABLE value);
366 : ::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NULLABLE unsafe_arena_release_miscinfofile();
367 :
368 : private:
369 : const ::Odb::Lib::Protobuf::MiscInfoFile& _internal_miscinfofile() const;
370 : ::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NONNULL _internal_mutable_miscinfofile();
371 :
372 : public:
373 : // optional .Odb.Lib.Protobuf.MatrixFile matrixFile = 3;
374 : bool has_matrixfile() const;
375 : void clear_matrixfile() ;
376 : const ::Odb::Lib::Protobuf::MatrixFile& matrixfile() const;
377 : [[nodiscard]] ::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NULLABLE release_matrixfile();
378 : ::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NONNULL mutable_matrixfile();
379 : void set_allocated_matrixfile(::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NULLABLE value);
380 : void unsafe_arena_set_allocated_matrixfile(::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NULLABLE value);
381 : ::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NULLABLE unsafe_arena_release_matrixfile();
382 :
383 : private:
384 : const ::Odb::Lib::Protobuf::MatrixFile& _internal_matrixfile() const;
385 : ::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NONNULL _internal_mutable_matrixfile();
386 :
387 : public:
388 : // optional .Odb.Lib.Protobuf.StandardFontsFile standardFontsFile = 4;
389 : bool has_standardfontsfile() const;
390 : void clear_standardfontsfile() ;
391 : const ::Odb::Lib::Protobuf::StandardFontsFile& standardfontsfile() const;
392 : [[nodiscard]] ::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NULLABLE release_standardfontsfile();
393 : ::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NONNULL mutable_standardfontsfile();
394 : void set_allocated_standardfontsfile(::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NULLABLE value);
395 : void unsafe_arena_set_allocated_standardfontsfile(::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NULLABLE value);
396 : ::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NULLABLE unsafe_arena_release_standardfontsfile();
397 :
398 : private:
399 : const ::Odb::Lib::Protobuf::StandardFontsFile& _internal_standardfontsfile() const;
400 : ::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NONNULL _internal_mutable_standardfontsfile();
401 :
402 : public:
403 : // optional .Odb.Lib.Protobuf.AttrListFile miscAttrListFile = 6;
404 : bool has_miscattrlistfile() const;
405 : void clear_miscattrlistfile() ;
406 : const ::Odb::Lib::Protobuf::AttrListFile& miscattrlistfile() const;
407 : [[nodiscard]] ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE release_miscattrlistfile();
408 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL mutable_miscattrlistfile();
409 : void set_allocated_miscattrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value);
410 : void unsafe_arena_set_allocated_miscattrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value);
411 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE unsafe_arena_release_miscattrlistfile();
412 :
413 : private:
414 : const ::Odb::Lib::Protobuf::AttrListFile& _internal_miscattrlistfile() const;
415 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL _internal_mutable_miscattrlistfile();
416 :
417 : public:
418 : // map<string, .Odb.Lib.Protobuf.StepDirectory> stepsByName = 1;
419 : int stepsbyname_size() const;
420 : private:
421 : int _internal_stepsbyname_size() const;
422 :
423 : public:
424 : void clear_stepsbyname() ;
425 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::StepDirectory>& stepsbyname() const;
426 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::StepDirectory>* PROTOBUF_NONNULL mutable_stepsbyname();
427 :
428 : private:
429 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::StepDirectory>& _internal_stepsbyname() const;
430 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::StepDirectory>* PROTOBUF_NONNULL _internal_mutable_stepsbyname();
431 :
432 : public:
433 : // map<string, .Odb.Lib.Protobuf.SymbolsDirectory> symbolsDirectoriesByName = 5;
434 : int symbolsdirectoriesbyname_size() const;
435 : private:
436 : int _internal_symbolsdirectoriesbyname_size() const;
437 :
438 : public:
439 : void clear_symbolsdirectoriesbyname() ;
440 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory>& symbolsdirectoriesbyname() const;
441 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory>* PROTOBUF_NONNULL mutable_symbolsdirectoriesbyname();
442 :
443 : private:
444 : const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory>& _internal_symbolsdirectoriesbyname() const;
445 : ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory>* PROTOBUF_NONNULL _internal_mutable_symbolsdirectoriesbyname();
446 :
447 : public:
448 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.FileArchive)
449 : private:
450 : class _Internal;
451 : friend class ::google::protobuf::internal::TcParser;
452 : static const ::google::protobuf::internal::TcParseTable<3, 8,
453 : 8, 99,
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 FileArchive& from_msg);
472 : ::google::protobuf::internal::HasBits<1> _has_bits_;
473 : ::google::protobuf::internal::CachedSize _cached_size_;
474 : ::google::protobuf::internal::ArenaStringPtr productname_;
475 : ::google::protobuf::internal::ArenaStringPtr filename_;
476 : ::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NULLABLE miscinfofile_;
477 : ::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NULLABLE matrixfile_;
478 : ::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NULLABLE standardfontsfile_;
479 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE miscattrlistfile_;
480 : ::google::protobuf::internal::MapField<FileArchive_StepsByNameEntry_DoNotUse, ::std::string, ::Odb::Lib::Protobuf::StepDirectory,
481 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
482 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
483 : stepsbyname_;
484 : ::google::protobuf::internal::MapField<FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse, ::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory,
485 : ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
486 : ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
487 : symbolsdirectoriesbyname_;
488 : PROTOBUF_TSAN_DECLARE_MEMBER
489 : };
490 : union { Impl_ _impl_; };
491 : friend struct ::TableStruct_filearchive_2eproto;
492 : };
493 :
494 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileArchive_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 : // FileArchive
515 :
516 : // map<string, .Odb.Lib.Protobuf.StepDirectory> stepsByName = 1;
517 94 : inline int FileArchive::_internal_stepsbyname_size() const {
518 94 : return _internal_stepsbyname().size();
519 : }
520 : inline int FileArchive::stepsbyname_size() const {
521 : return _internal_stepsbyname_size();
522 : }
523 361 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::StepDirectory>& FileArchive::_internal_stepsbyname() const {
524 361 : ::google::protobuf::internal::TSanRead(&_impl_);
525 361 : return _impl_.stepsbyname_.GetMap();
526 : }
527 21 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::StepDirectory>& FileArchive::stepsbyname() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
528 : // @@protoc_insertion_point(field_map:Odb.Lib.Protobuf.FileArchive.stepsByName)
529 21 : return _internal_stepsbyname();
530 : }
531 12029 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::StepDirectory>* PROTOBUF_NONNULL FileArchive::_internal_mutable_stepsbyname() {
532 12029 : ::google::protobuf::internal::TSanWrite(&_impl_);
533 12029 : return _impl_.stepsbyname_.MutableMap();
534 : }
535 12029 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::StepDirectory>* PROTOBUF_NONNULL FileArchive::mutable_stepsbyname()
536 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
537 12029 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000040U);
538 : // @@protoc_insertion_point(field_mutable_map:Odb.Lib.Protobuf.FileArchive.stepsByName)
539 12029 : return _internal_mutable_stepsbyname();
540 : }
541 :
542 : // optional .Odb.Lib.Protobuf.MiscInfoFile miscInfoFile = 2;
543 : inline bool FileArchive::has_miscinfofile() const {
544 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
545 : PROTOBUF_ASSUME(!value || _impl_.miscinfofile_ != nullptr);
546 : return value;
547 : }
548 7 : inline const ::Odb::Lib::Protobuf::MiscInfoFile& FileArchive::_internal_miscinfofile() const {
549 7 : ::google::protobuf::internal::TSanRead(&_impl_);
550 7 : const ::Odb::Lib::Protobuf::MiscInfoFile* p = _impl_.miscinfofile_;
551 7 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::MiscInfoFile&>(::Odb::Lib::Protobuf::_MiscInfoFile_default_instance_);
552 : }
553 7 : inline const ::Odb::Lib::Protobuf::MiscInfoFile& FileArchive::miscinfofile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
554 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.FileArchive.miscInfoFile)
555 7 : return _internal_miscinfofile();
556 : }
557 : inline void FileArchive::unsafe_arena_set_allocated_miscinfofile(
558 : ::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NULLABLE value) {
559 : ::google::protobuf::internal::TSanWrite(&_impl_);
560 : if (GetArena() == nullptr) {
561 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.miscinfofile_);
562 : }
563 : _impl_.miscinfofile_ = reinterpret_cast<::Odb::Lib::Protobuf::MiscInfoFile*>(value);
564 : if (value != nullptr) {
565 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
566 : } else {
567 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
568 : }
569 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.FileArchive.miscInfoFile)
570 : }
571 : inline ::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NULLABLE FileArchive::release_miscinfofile() {
572 : ::google::protobuf::internal::TSanWrite(&_impl_);
573 :
574 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
575 : ::Odb::Lib::Protobuf::MiscInfoFile* released = _impl_.miscinfofile_;
576 : _impl_.miscinfofile_ = nullptr;
577 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
578 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
579 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
580 : if (GetArena() == nullptr) {
581 : delete old;
582 : }
583 : } else {
584 : if (GetArena() != nullptr) {
585 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
586 : }
587 : }
588 : return released;
589 : }
590 : inline ::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NULLABLE FileArchive::unsafe_arena_release_miscinfofile() {
591 : ::google::protobuf::internal::TSanWrite(&_impl_);
592 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.FileArchive.miscInfoFile)
593 :
594 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
595 : ::Odb::Lib::Protobuf::MiscInfoFile* temp = _impl_.miscinfofile_;
596 : _impl_.miscinfofile_ = nullptr;
597 : return temp;
598 : }
599 95 : inline ::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NONNULL FileArchive::_internal_mutable_miscinfofile() {
600 95 : ::google::protobuf::internal::TSanWrite(&_impl_);
601 95 : if (_impl_.miscinfofile_ == nullptr) {
602 95 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::MiscInfoFile>(GetArena());
603 95 : _impl_.miscinfofile_ = reinterpret_cast<::Odb::Lib::Protobuf::MiscInfoFile*>(p);
604 : }
605 95 : return _impl_.miscinfofile_;
606 : }
607 95 : inline ::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NONNULL FileArchive::mutable_miscinfofile()
608 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
609 95 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
610 95 : ::Odb::Lib::Protobuf::MiscInfoFile* _msg = _internal_mutable_miscinfofile();
611 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.FileArchive.miscInfoFile)
612 95 : return _msg;
613 : }
614 : inline void FileArchive::set_allocated_miscinfofile(::Odb::Lib::Protobuf::MiscInfoFile* PROTOBUF_NULLABLE value) {
615 : ::google::protobuf::Arena* message_arena = GetArena();
616 : ::google::protobuf::internal::TSanWrite(&_impl_);
617 : if (message_arena == nullptr) {
618 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.miscinfofile_);
619 : }
620 :
621 : if (value != nullptr) {
622 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
623 : if (message_arena != submessage_arena) {
624 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
625 : }
626 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
627 : } else {
628 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
629 : }
630 :
631 : _impl_.miscinfofile_ = reinterpret_cast<::Odb::Lib::Protobuf::MiscInfoFile*>(value);
632 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.FileArchive.miscInfoFile)
633 : }
634 :
635 : // optional .Odb.Lib.Protobuf.MatrixFile matrixFile = 3;
636 : inline bool FileArchive::has_matrixfile() const {
637 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
638 : PROTOBUF_ASSUME(!value || _impl_.matrixfile_ != nullptr);
639 : return value;
640 : }
641 7 : inline const ::Odb::Lib::Protobuf::MatrixFile& FileArchive::_internal_matrixfile() const {
642 7 : ::google::protobuf::internal::TSanRead(&_impl_);
643 7 : const ::Odb::Lib::Protobuf::MatrixFile* p = _impl_.matrixfile_;
644 7 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::MatrixFile&>(::Odb::Lib::Protobuf::_MatrixFile_default_instance_);
645 : }
646 7 : inline const ::Odb::Lib::Protobuf::MatrixFile& FileArchive::matrixfile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
647 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.FileArchive.matrixFile)
648 7 : return _internal_matrixfile();
649 : }
650 : inline void FileArchive::unsafe_arena_set_allocated_matrixfile(
651 : ::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NULLABLE value) {
652 : ::google::protobuf::internal::TSanWrite(&_impl_);
653 : if (GetArena() == nullptr) {
654 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.matrixfile_);
655 : }
656 : _impl_.matrixfile_ = reinterpret_cast<::Odb::Lib::Protobuf::MatrixFile*>(value);
657 : if (value != nullptr) {
658 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
659 : } else {
660 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
661 : }
662 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.FileArchive.matrixFile)
663 : }
664 : inline ::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NULLABLE FileArchive::release_matrixfile() {
665 : ::google::protobuf::internal::TSanWrite(&_impl_);
666 :
667 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
668 : ::Odb::Lib::Protobuf::MatrixFile* released = _impl_.matrixfile_;
669 : _impl_.matrixfile_ = nullptr;
670 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
671 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
672 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
673 : if (GetArena() == nullptr) {
674 : delete old;
675 : }
676 : } else {
677 : if (GetArena() != nullptr) {
678 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
679 : }
680 : }
681 : return released;
682 : }
683 : inline ::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NULLABLE FileArchive::unsafe_arena_release_matrixfile() {
684 : ::google::protobuf::internal::TSanWrite(&_impl_);
685 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.FileArchive.matrixFile)
686 :
687 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
688 : ::Odb::Lib::Protobuf::MatrixFile* temp = _impl_.matrixfile_;
689 : _impl_.matrixfile_ = nullptr;
690 : return temp;
691 : }
692 95 : inline ::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NONNULL FileArchive::_internal_mutable_matrixfile() {
693 95 : ::google::protobuf::internal::TSanWrite(&_impl_);
694 95 : if (_impl_.matrixfile_ == nullptr) {
695 95 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::MatrixFile>(GetArena());
696 95 : _impl_.matrixfile_ = reinterpret_cast<::Odb::Lib::Protobuf::MatrixFile*>(p);
697 : }
698 95 : return _impl_.matrixfile_;
699 : }
700 95 : inline ::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NONNULL FileArchive::mutable_matrixfile()
701 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
702 95 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
703 95 : ::Odb::Lib::Protobuf::MatrixFile* _msg = _internal_mutable_matrixfile();
704 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.FileArchive.matrixFile)
705 95 : return _msg;
706 : }
707 : inline void FileArchive::set_allocated_matrixfile(::Odb::Lib::Protobuf::MatrixFile* PROTOBUF_NULLABLE value) {
708 : ::google::protobuf::Arena* message_arena = GetArena();
709 : ::google::protobuf::internal::TSanWrite(&_impl_);
710 : if (message_arena == nullptr) {
711 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.matrixfile_);
712 : }
713 :
714 : if (value != nullptr) {
715 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
716 : if (message_arena != submessage_arena) {
717 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
718 : }
719 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
720 : } else {
721 : ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
722 : }
723 :
724 : _impl_.matrixfile_ = reinterpret_cast<::Odb::Lib::Protobuf::MatrixFile*>(value);
725 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.FileArchive.matrixFile)
726 : }
727 :
728 : // optional .Odb.Lib.Protobuf.StandardFontsFile standardFontsFile = 4;
729 : inline bool FileArchive::has_standardfontsfile() const {
730 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
731 : PROTOBUF_ASSUME(!value || _impl_.standardfontsfile_ != nullptr);
732 : return value;
733 : }
734 7 : inline const ::Odb::Lib::Protobuf::StandardFontsFile& FileArchive::_internal_standardfontsfile() const {
735 7 : ::google::protobuf::internal::TSanRead(&_impl_);
736 7 : const ::Odb::Lib::Protobuf::StandardFontsFile* p = _impl_.standardfontsfile_;
737 7 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::StandardFontsFile&>(::Odb::Lib::Protobuf::_StandardFontsFile_default_instance_);
738 : }
739 7 : inline const ::Odb::Lib::Protobuf::StandardFontsFile& FileArchive::standardfontsfile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
740 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.FileArchive.standardFontsFile)
741 7 : return _internal_standardfontsfile();
742 : }
743 : inline void FileArchive::unsafe_arena_set_allocated_standardfontsfile(
744 : ::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NULLABLE value) {
745 : ::google::protobuf::internal::TSanWrite(&_impl_);
746 : if (GetArena() == nullptr) {
747 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.standardfontsfile_);
748 : }
749 : _impl_.standardfontsfile_ = reinterpret_cast<::Odb::Lib::Protobuf::StandardFontsFile*>(value);
750 : if (value != nullptr) {
751 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
752 : } else {
753 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
754 : }
755 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.FileArchive.standardFontsFile)
756 : }
757 : inline ::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NULLABLE FileArchive::release_standardfontsfile() {
758 : ::google::protobuf::internal::TSanWrite(&_impl_);
759 :
760 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
761 : ::Odb::Lib::Protobuf::StandardFontsFile* released = _impl_.standardfontsfile_;
762 : _impl_.standardfontsfile_ = nullptr;
763 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
764 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
765 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
766 : if (GetArena() == nullptr) {
767 : delete old;
768 : }
769 : } else {
770 : if (GetArena() != nullptr) {
771 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
772 : }
773 : }
774 : return released;
775 : }
776 : inline ::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NULLABLE FileArchive::unsafe_arena_release_standardfontsfile() {
777 : ::google::protobuf::internal::TSanWrite(&_impl_);
778 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.FileArchive.standardFontsFile)
779 :
780 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
781 : ::Odb::Lib::Protobuf::StandardFontsFile* temp = _impl_.standardfontsfile_;
782 : _impl_.standardfontsfile_ = nullptr;
783 : return temp;
784 : }
785 95 : inline ::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NONNULL FileArchive::_internal_mutable_standardfontsfile() {
786 95 : ::google::protobuf::internal::TSanWrite(&_impl_);
787 95 : if (_impl_.standardfontsfile_ == nullptr) {
788 95 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::StandardFontsFile>(GetArena());
789 95 : _impl_.standardfontsfile_ = reinterpret_cast<::Odb::Lib::Protobuf::StandardFontsFile*>(p);
790 : }
791 95 : return _impl_.standardfontsfile_;
792 : }
793 95 : inline ::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NONNULL FileArchive::mutable_standardfontsfile()
794 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
795 95 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
796 95 : ::Odb::Lib::Protobuf::StandardFontsFile* _msg = _internal_mutable_standardfontsfile();
797 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.FileArchive.standardFontsFile)
798 95 : return _msg;
799 : }
800 : inline void FileArchive::set_allocated_standardfontsfile(::Odb::Lib::Protobuf::StandardFontsFile* PROTOBUF_NULLABLE value) {
801 : ::google::protobuf::Arena* message_arena = GetArena();
802 : ::google::protobuf::internal::TSanWrite(&_impl_);
803 : if (message_arena == nullptr) {
804 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.standardfontsfile_);
805 : }
806 :
807 : if (value != nullptr) {
808 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
809 : if (message_arena != submessage_arena) {
810 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
811 : }
812 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
813 : } else {
814 : ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
815 : }
816 :
817 : _impl_.standardfontsfile_ = reinterpret_cast<::Odb::Lib::Protobuf::StandardFontsFile*>(value);
818 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.FileArchive.standardFontsFile)
819 : }
820 :
821 : // map<string, .Odb.Lib.Protobuf.SymbolsDirectory> symbolsDirectoriesByName = 5;
822 129 : inline int FileArchive::_internal_symbolsdirectoriesbyname_size() const {
823 129 : return _internal_symbolsdirectoriesbyname().size();
824 : }
825 : inline int FileArchive::symbolsdirectoriesbyname_size() const {
826 : return _internal_symbolsdirectoriesbyname_size();
827 : }
828 459 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory>& FileArchive::_internal_symbolsdirectoriesbyname() const {
829 459 : ::google::protobuf::internal::TSanRead(&_impl_);
830 459 : return _impl_.symbolsdirectoriesbyname_.GetMap();
831 : }
832 7 : inline const ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory>& FileArchive::symbolsdirectoriesbyname() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
833 : // @@protoc_insertion_point(field_map:Odb.Lib.Protobuf.FileArchive.symbolsDirectoriesByName)
834 7 : return _internal_symbolsdirectoriesbyname();
835 : }
836 4988 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory>* PROTOBUF_NONNULL FileArchive::_internal_mutable_symbolsdirectoriesbyname() {
837 4988 : ::google::protobuf::internal::TSanWrite(&_impl_);
838 4988 : return _impl_.symbolsdirectoriesbyname_.MutableMap();
839 : }
840 4988 : inline ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory>* PROTOBUF_NONNULL FileArchive::mutable_symbolsdirectoriesbyname()
841 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
842 4988 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000080U);
843 : // @@protoc_insertion_point(field_mutable_map:Odb.Lib.Protobuf.FileArchive.symbolsDirectoriesByName)
844 4988 : return _internal_mutable_symbolsdirectoriesbyname();
845 : }
846 :
847 : // optional .Odb.Lib.Protobuf.AttrListFile miscAttrListFile = 6;
848 : inline bool FileArchive::has_miscattrlistfile() const {
849 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
850 : PROTOBUF_ASSUME(!value || _impl_.miscattrlistfile_ != nullptr);
851 : return value;
852 : }
853 7 : inline const ::Odb::Lib::Protobuf::AttrListFile& FileArchive::_internal_miscattrlistfile() const {
854 7 : ::google::protobuf::internal::TSanRead(&_impl_);
855 7 : const ::Odb::Lib::Protobuf::AttrListFile* p = _impl_.miscattrlistfile_;
856 7 : return p != nullptr ? *p : reinterpret_cast<const ::Odb::Lib::Protobuf::AttrListFile&>(::Odb::Lib::Protobuf::_AttrListFile_default_instance_);
857 : }
858 7 : inline const ::Odb::Lib::Protobuf::AttrListFile& FileArchive::miscattrlistfile() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
859 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.FileArchive.miscAttrListFile)
860 7 : return _internal_miscattrlistfile();
861 : }
862 : inline void FileArchive::unsafe_arena_set_allocated_miscattrlistfile(
863 : ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value) {
864 : ::google::protobuf::internal::TSanWrite(&_impl_);
865 : if (GetArena() == nullptr) {
866 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.miscattrlistfile_);
867 : }
868 : _impl_.miscattrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(value);
869 : if (value != nullptr) {
870 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
871 : } else {
872 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
873 : }
874 : // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Odb.Lib.Protobuf.FileArchive.miscAttrListFile)
875 : }
876 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE FileArchive::release_miscattrlistfile() {
877 : ::google::protobuf::internal::TSanWrite(&_impl_);
878 :
879 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
880 : ::Odb::Lib::Protobuf::AttrListFile* released = _impl_.miscattrlistfile_;
881 : _impl_.miscattrlistfile_ = nullptr;
882 : if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
883 : auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
884 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
885 : if (GetArena() == nullptr) {
886 : delete old;
887 : }
888 : } else {
889 : if (GetArena() != nullptr) {
890 : released = ::google::protobuf::internal::DuplicateIfNonNull(released);
891 : }
892 : }
893 : return released;
894 : }
895 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE FileArchive::unsafe_arena_release_miscattrlistfile() {
896 : ::google::protobuf::internal::TSanWrite(&_impl_);
897 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.FileArchive.miscAttrListFile)
898 :
899 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
900 : ::Odb::Lib::Protobuf::AttrListFile* temp = _impl_.miscattrlistfile_;
901 : _impl_.miscattrlistfile_ = nullptr;
902 : return temp;
903 : }
904 95 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL FileArchive::_internal_mutable_miscattrlistfile() {
905 95 : ::google::protobuf::internal::TSanWrite(&_impl_);
906 95 : if (_impl_.miscattrlistfile_ == nullptr) {
907 95 : auto* p = ::google::protobuf::Message::DefaultConstruct<::Odb::Lib::Protobuf::AttrListFile>(GetArena());
908 95 : _impl_.miscattrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(p);
909 : }
910 95 : return _impl_.miscattrlistfile_;
911 : }
912 95 : inline ::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NONNULL FileArchive::mutable_miscattrlistfile()
913 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
914 95 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
915 95 : ::Odb::Lib::Protobuf::AttrListFile* _msg = _internal_mutable_miscattrlistfile();
916 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.FileArchive.miscAttrListFile)
917 95 : return _msg;
918 : }
919 : inline void FileArchive::set_allocated_miscattrlistfile(::Odb::Lib::Protobuf::AttrListFile* PROTOBUF_NULLABLE value) {
920 : ::google::protobuf::Arena* message_arena = GetArena();
921 : ::google::protobuf::internal::TSanWrite(&_impl_);
922 : if (message_arena == nullptr) {
923 : delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.miscattrlistfile_);
924 : }
925 :
926 : if (value != nullptr) {
927 : ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
928 : if (message_arena != submessage_arena) {
929 : value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
930 : }
931 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
932 : } else {
933 : ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
934 : }
935 :
936 : _impl_.miscattrlistfile_ = reinterpret_cast<::Odb::Lib::Protobuf::AttrListFile*>(value);
937 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.FileArchive.miscAttrListFile)
938 : }
939 :
940 : // optional string productName = 7;
941 : inline bool FileArchive::has_productname() const {
942 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
943 : return value;
944 : }
945 : inline void FileArchive::clear_productname() {
946 : ::google::protobuf::internal::TSanWrite(&_impl_);
947 : _impl_.productname_.ClearToEmpty();
948 : ClearHasBit(_impl_._has_bits_[0],
949 : 0x00000001U);
950 : }
951 7 : inline const ::std::string& FileArchive::productname() const
952 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
953 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.FileArchive.productName)
954 7 : return _internal_productname();
955 : }
956 : template <typename Arg_, typename... Args_>
957 : PROTOBUF_ALWAYS_INLINE void FileArchive::set_productname(Arg_&& arg, Args_... args) {
958 95 : ::google::protobuf::internal::TSanWrite(&_impl_);
959 95 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
960 95 : _impl_.productname_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
961 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.FileArchive.productName)
962 95 : }
963 : inline ::std::string* PROTOBUF_NONNULL FileArchive::mutable_productname()
964 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
965 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
966 : ::std::string* _s = _internal_mutable_productname();
967 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.FileArchive.productName)
968 : return _s;
969 : }
970 338 : inline const ::std::string& FileArchive::_internal_productname() const {
971 338 : ::google::protobuf::internal::TSanRead(&_impl_);
972 338 : return _impl_.productname_.Get();
973 : }
974 : inline void FileArchive::_internal_set_productname(const ::std::string& value) {
975 95 : ::google::protobuf::internal::TSanWrite(&_impl_);
976 95 : _impl_.productname_.Set(value, GetArena());
977 95 : }
978 : inline ::std::string* PROTOBUF_NONNULL FileArchive::_internal_mutable_productname() {
979 : ::google::protobuf::internal::TSanWrite(&_impl_);
980 : return _impl_.productname_.Mutable( GetArena());
981 : }
982 : inline ::std::string* PROTOBUF_NULLABLE FileArchive::release_productname() {
983 : ::google::protobuf::internal::TSanWrite(&_impl_);
984 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.FileArchive.productName)
985 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
986 : return nullptr;
987 : }
988 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
989 : auto* released = _impl_.productname_.Release();
990 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
991 : _impl_.productname_.Set("", GetArena());
992 : }
993 : return released;
994 : }
995 : inline void FileArchive::set_allocated_productname(::std::string* PROTOBUF_NULLABLE value) {
996 : ::google::protobuf::internal::TSanWrite(&_impl_);
997 : if (value != nullptr) {
998 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
999 : } else {
1000 : ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1001 : }
1002 : _impl_.productname_.SetAllocated(value, GetArena());
1003 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.productname_.IsDefault()) {
1004 : _impl_.productname_.Set("", GetArena());
1005 : }
1006 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.FileArchive.productName)
1007 : }
1008 :
1009 : // optional string fileName = 8;
1010 : inline bool FileArchive::has_filename() const {
1011 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
1012 : return value;
1013 : }
1014 : inline void FileArchive::clear_filename() {
1015 : ::google::protobuf::internal::TSanWrite(&_impl_);
1016 : _impl_.filename_.ClearToEmpty();
1017 : ClearHasBit(_impl_._has_bits_[0],
1018 : 0x00000002U);
1019 : }
1020 7 : inline const ::std::string& FileArchive::filename() const
1021 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1022 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.FileArchive.fileName)
1023 7 : return _internal_filename();
1024 : }
1025 : template <typename Arg_, typename... Args_>
1026 : PROTOBUF_ALWAYS_INLINE void FileArchive::set_filename(Arg_&& arg, Args_... args) {
1027 95 : ::google::protobuf::internal::TSanWrite(&_impl_);
1028 95 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1029 95 : _impl_.filename_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1030 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.FileArchive.fileName)
1031 95 : }
1032 : inline ::std::string* PROTOBUF_NONNULL FileArchive::mutable_filename()
1033 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1034 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1035 : ::std::string* _s = _internal_mutable_filename();
1036 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.FileArchive.fileName)
1037 : return _s;
1038 : }
1039 338 : inline const ::std::string& FileArchive::_internal_filename() const {
1040 338 : ::google::protobuf::internal::TSanRead(&_impl_);
1041 338 : return _impl_.filename_.Get();
1042 : }
1043 : inline void FileArchive::_internal_set_filename(const ::std::string& value) {
1044 95 : ::google::protobuf::internal::TSanWrite(&_impl_);
1045 95 : _impl_.filename_.Set(value, GetArena());
1046 95 : }
1047 : inline ::std::string* PROTOBUF_NONNULL FileArchive::_internal_mutable_filename() {
1048 : ::google::protobuf::internal::TSanWrite(&_impl_);
1049 : return _impl_.filename_.Mutable( GetArena());
1050 : }
1051 : inline ::std::string* PROTOBUF_NULLABLE FileArchive::release_filename() {
1052 : ::google::protobuf::internal::TSanWrite(&_impl_);
1053 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.FileArchive.fileName)
1054 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
1055 : return nullptr;
1056 : }
1057 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1058 : auto* released = _impl_.filename_.Release();
1059 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1060 : _impl_.filename_.Set("", GetArena());
1061 : }
1062 : return released;
1063 : }
1064 : inline void FileArchive::set_allocated_filename(::std::string* PROTOBUF_NULLABLE value) {
1065 : ::google::protobuf::internal::TSanWrite(&_impl_);
1066 : if (value != nullptr) {
1067 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1068 : } else {
1069 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1070 : }
1071 : _impl_.filename_.SetAllocated(value, GetArena());
1072 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.filename_.IsDefault()) {
1073 : _impl_.filename_.Set("", GetArena());
1074 : }
1075 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.FileArchive.fileName)
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 // filearchive_2eproto_2epb_2eh
|