Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: common.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #ifndef common_2eproto_2epb_2eh
7 : #define common_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/generated_enum_reflection.h"
32 : #include "google/protobuf/unknown_field_set.h"
33 : // @@protoc_insertion_point(includes)
34 :
35 : // Must be included last.
36 : #include "google/protobuf/port_def.inc"
37 :
38 : #define PROTOBUF_INTERNAL_EXPORT_common_2eproto ODBDESIGN_EXPORT
39 :
40 : namespace google {
41 : namespace protobuf {
42 : namespace internal {
43 : template <typename T>
44 : ::absl::string_view GetAnyMessageName();
45 : } // namespace internal
46 : } // namespace protobuf
47 : } // namespace google
48 :
49 : // Internal implementation detail -- do not use these members.
50 : struct ODBDESIGN_EXPORT TableStruct_common_2eproto {
51 : static const ::uint32_t offsets[];
52 : };
53 : extern "C" {
54 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_common_2eproto;
55 : } // extern "C"
56 : namespace Odb {
57 : namespace Lib {
58 : namespace Protobuf {
59 : enum ContourPolygon_PolygonPart_Type : int;
60 : ODBDESIGN_EXPORT extern const uint32_t ContourPolygon_PolygonPart_Type_internal_data_[];
61 : enum ContourPolygon_Type : int;
62 : ODBDESIGN_EXPORT extern const uint32_t ContourPolygon_Type_internal_data_[];
63 : class ContourPolygon;
64 : struct ContourPolygonDefaultTypeInternal;
65 : ODBDESIGN_EXPORT extern ContourPolygonDefaultTypeInternal _ContourPolygon_default_instance_;
66 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull ContourPolygon_class_data_;
67 : class ContourPolygon_PolygonPart;
68 : struct ContourPolygon_PolygonPartDefaultTypeInternal;
69 : ODBDESIGN_EXPORT extern ContourPolygon_PolygonPartDefaultTypeInternal _ContourPolygon_PolygonPart_default_instance_;
70 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull ContourPolygon_PolygonPart_class_data_;
71 : class PropertyRecord;
72 : struct PropertyRecordDefaultTypeInternal;
73 : ODBDESIGN_EXPORT extern PropertyRecordDefaultTypeInternal _PropertyRecord_default_instance_;
74 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull PropertyRecord_class_data_;
75 : } // namespace Protobuf
76 : } // namespace Lib
77 : } // namespace Odb
78 : namespace google {
79 : namespace protobuf {
80 : template <>
81 : internal::EnumTraitsT<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type_internal_data_>
82 : internal::EnumTraitsImpl::value<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type>;
83 : template <>
84 : internal::EnumTraitsT<::Odb::Lib::Protobuf::ContourPolygon_Type_internal_data_>
85 : internal::EnumTraitsImpl::value<::Odb::Lib::Protobuf::ContourPolygon_Type>;
86 : } // namespace protobuf
87 : } // namespace google
88 :
89 : namespace Odb {
90 : namespace Lib {
91 : namespace Protobuf {
92 : enum ContourPolygon_PolygonPart_Type : int {
93 : ContourPolygon_PolygonPart_Type_Segment = 0,
94 : ContourPolygon_PolygonPart_Type_Arc = 1,
95 : ContourPolygon_PolygonPart_Type_ContourPolygon_PolygonPart_Type_INT_MIN_SENTINEL_DO_NOT_USE_ =
96 : ::std::numeric_limits<::int32_t>::min(),
97 : ContourPolygon_PolygonPart_Type_ContourPolygon_PolygonPart_Type_INT_MAX_SENTINEL_DO_NOT_USE_ =
98 : ::std::numeric_limits<::int32_t>::max(),
99 : };
100 :
101 : ODBDESIGN_EXPORT extern const uint32_t ContourPolygon_PolygonPart_Type_internal_data_[];
102 : inline constexpr ContourPolygon_PolygonPart_Type ContourPolygon_PolygonPart_Type_Type_MIN =
103 : static_cast<ContourPolygon_PolygonPart_Type>(0);
104 : inline constexpr ContourPolygon_PolygonPart_Type ContourPolygon_PolygonPart_Type_Type_MAX =
105 : static_cast<ContourPolygon_PolygonPart_Type>(1);
106 : inline bool ContourPolygon_PolygonPart_Type_IsValid(int value) {
107 : return 0 <= value && value <= 1;
108 : }
109 : inline constexpr int ContourPolygon_PolygonPart_Type_Type_ARRAYSIZE = 1 + 1;
110 : ODBDESIGN_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ContourPolygon_PolygonPart_Type_descriptor();
111 : template <typename T>
112 : const ::std::string& ContourPolygon_PolygonPart_Type_Name(T value) {
113 : static_assert(::std::is_same<T, ContourPolygon_PolygonPart_Type>::value ||
114 : ::std::is_integral<T>::value,
115 : "Incorrect type passed to Type_Name().");
116 : return ContourPolygon_PolygonPart_Type_Name(static_cast<ContourPolygon_PolygonPart_Type>(value));
117 : }
118 : template <>
119 : inline const ::std::string& ContourPolygon_PolygonPart_Type_Name(ContourPolygon_PolygonPart_Type value) {
120 : return ::google::protobuf::internal::NameOfDenseEnum<ContourPolygon_PolygonPart_Type_descriptor, 0, 1>(
121 : static_cast<int>(value));
122 : }
123 : inline bool ContourPolygon_PolygonPart_Type_Parse(
124 : ::absl::string_view name, ContourPolygon_PolygonPart_Type* PROTOBUF_NONNULL value) {
125 : return ::google::protobuf::internal::ParseNamedEnum<ContourPolygon_PolygonPart_Type>(ContourPolygon_PolygonPart_Type_descriptor(), name,
126 : value);
127 : }
128 : enum ContourPolygon_Type : int {
129 : ContourPolygon_Type_Island = 0,
130 : ContourPolygon_Type_Hole = 1,
131 : ContourPolygon_Type_ContourPolygon_Type_INT_MIN_SENTINEL_DO_NOT_USE_ =
132 : ::std::numeric_limits<::int32_t>::min(),
133 : ContourPolygon_Type_ContourPolygon_Type_INT_MAX_SENTINEL_DO_NOT_USE_ =
134 : ::std::numeric_limits<::int32_t>::max(),
135 : };
136 :
137 : ODBDESIGN_EXPORT extern const uint32_t ContourPolygon_Type_internal_data_[];
138 : inline constexpr ContourPolygon_Type ContourPolygon_Type_Type_MIN =
139 : static_cast<ContourPolygon_Type>(0);
140 : inline constexpr ContourPolygon_Type ContourPolygon_Type_Type_MAX =
141 : static_cast<ContourPolygon_Type>(1);
142 : inline bool ContourPolygon_Type_IsValid(int value) {
143 : return 0 <= value && value <= 1;
144 : }
145 : inline constexpr int ContourPolygon_Type_Type_ARRAYSIZE = 1 + 1;
146 : ODBDESIGN_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL ContourPolygon_Type_descriptor();
147 : template <typename T>
148 : const ::std::string& ContourPolygon_Type_Name(T value) {
149 : static_assert(::std::is_same<T, ContourPolygon_Type>::value ||
150 : ::std::is_integral<T>::value,
151 : "Incorrect type passed to Type_Name().");
152 : return ContourPolygon_Type_Name(static_cast<ContourPolygon_Type>(value));
153 : }
154 : template <>
155 : inline const ::std::string& ContourPolygon_Type_Name(ContourPolygon_Type value) {
156 : return ::google::protobuf::internal::NameOfDenseEnum<ContourPolygon_Type_descriptor, 0, 1>(
157 : static_cast<int>(value));
158 : }
159 : inline bool ContourPolygon_Type_Parse(
160 : ::absl::string_view name, ContourPolygon_Type* PROTOBUF_NONNULL value) {
161 : return ::google::protobuf::internal::ParseNamedEnum<ContourPolygon_Type>(ContourPolygon_Type_descriptor(), name,
162 : value);
163 : }
164 :
165 : // ===================================================================
166 :
167 :
168 : // -------------------------------------------------------------------
169 :
170 : class ODBDESIGN_EXPORT PropertyRecord final : public ::google::protobuf::Message
171 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.PropertyRecord) */ {
172 : public:
173 2078718 : inline PropertyRecord() : PropertyRecord(nullptr) {}
174 : ~PropertyRecord() PROTOBUF_FINAL;
175 :
176 : #if defined(PROTOBUF_CUSTOM_VTABLE)
177 : void operator delete(PropertyRecord* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
178 : SharedDtor(*msg);
179 : ::google::protobuf::internal::SizedDelete(msg, sizeof(PropertyRecord));
180 : }
181 : #endif
182 :
183 : template <typename = void>
184 : explicit PROTOBUF_CONSTEXPR PropertyRecord(::google::protobuf::internal::ConstantInitialized);
185 :
186 0 : inline PropertyRecord(const PropertyRecord& from) : PropertyRecord(nullptr, from) {}
187 : inline PropertyRecord(PropertyRecord&& from) noexcept
188 : : PropertyRecord(nullptr, ::std::move(from)) {}
189 0 : inline PropertyRecord& operator=(const PropertyRecord& from) {
190 0 : CopyFrom(from);
191 0 : return *this;
192 : }
193 : inline PropertyRecord& operator=(PropertyRecord&& from) noexcept {
194 : if (this == &from) return *this;
195 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
196 : InternalSwap(&from);
197 : } else {
198 : CopyFrom(from);
199 : }
200 : return *this;
201 : }
202 :
203 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
204 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
205 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
206 : }
207 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
208 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
209 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
210 : }
211 :
212 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
213 : return GetDescriptor();
214 : }
215 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
216 : return default_instance().GetMetadata().descriptor;
217 : }
218 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
219 : return default_instance().GetMetadata().reflection;
220 : }
221 : static const PropertyRecord& default_instance() {
222 : return *reinterpret_cast<const PropertyRecord*>(
223 : &_PropertyRecord_default_instance_);
224 : }
225 : static constexpr int kIndexInFileMessages = 0;
226 : friend void swap(PropertyRecord& a, PropertyRecord& b) { a.Swap(&b); }
227 : inline void Swap(PropertyRecord* PROTOBUF_NONNULL other) {
228 : if (other == this) return;
229 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
230 : InternalSwap(other);
231 : } else {
232 : ::google::protobuf::internal::GenericSwap(this, other);
233 : }
234 : }
235 : void UnsafeArenaSwap(PropertyRecord* PROTOBUF_NONNULL other) {
236 : if (other == this) return;
237 : ABSL_DCHECK(GetArena() == other->GetArena());
238 : InternalSwap(other);
239 : }
240 :
241 : // implements Message ----------------------------------------------
242 :
243 : PropertyRecord* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
244 : return ::google::protobuf::Message::DefaultConstruct<PropertyRecord>(arena);
245 : }
246 : using ::google::protobuf::Message::CopyFrom;
247 : void CopyFrom(const PropertyRecord& from);
248 : using ::google::protobuf::Message::MergeFrom;
249 2078716 : void MergeFrom(const PropertyRecord& from) { PropertyRecord::MergeImpl(*this, from); }
250 :
251 : private:
252 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
253 : const ::google::protobuf::MessageLite& from_msg);
254 :
255 : public:
256 : bool IsInitialized() const {
257 : return true;
258 : }
259 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
260 : #if defined(PROTOBUF_CUSTOM_VTABLE)
261 : private:
262 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
263 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
264 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
265 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
266 :
267 : public:
268 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
269 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
270 : ::uint8_t* PROTOBUF_NONNULL target,
271 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
272 : return _InternalSerialize(*this, target, stream);
273 : }
274 : #else // PROTOBUF_CUSTOM_VTABLE
275 : ::size_t ByteSizeLong() const final;
276 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
277 : ::uint8_t* PROTOBUF_NONNULL target,
278 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
279 : #endif // PROTOBUF_CUSTOM_VTABLE
280 2224476 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
281 :
282 : private:
283 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
284 : static void SharedDtor(MessageLite& self);
285 : void InternalSwap(PropertyRecord* PROTOBUF_NONNULL other);
286 : private:
287 : template <typename T>
288 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
289 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.PropertyRecord"; }
290 :
291 : explicit PropertyRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
292 : PropertyRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PropertyRecord& from);
293 : PropertyRecord(
294 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PropertyRecord&& from) noexcept
295 : : PropertyRecord(arena) {
296 : *this = ::std::move(from);
297 : }
298 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
299 : static void* PROTOBUF_NONNULL PlacementNew_(
300 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
301 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
302 : static constexpr auto InternalNewImpl_();
303 :
304 : public:
305 : static constexpr auto InternalGenerateClassData_();
306 :
307 : ::google::protobuf::Metadata GetMetadata() const;
308 : // nested types ----------------------------------------------------
309 :
310 : // accessors -------------------------------------------------------
311 : enum : int {
312 : kFloatValuesFieldNumber = 3,
313 : kNameFieldNumber = 1,
314 : kValueFieldNumber = 2,
315 : };
316 : // repeated double floatValues = 3;
317 : int floatvalues_size() const;
318 : private:
319 : int _internal_floatvalues_size() const;
320 :
321 : public:
322 : void clear_floatvalues() ;
323 : double floatvalues(int index) const;
324 : void set_floatvalues(int index, double value);
325 : void add_floatvalues(double value);
326 : const ::google::protobuf::RepeatedField<double>& floatvalues() const;
327 : ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_floatvalues();
328 :
329 : private:
330 : const ::google::protobuf::RepeatedField<double>& _internal_floatvalues() const;
331 : ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_floatvalues();
332 :
333 : public:
334 : // optional string name = 1;
335 : bool has_name() const;
336 : void clear_name() ;
337 : const ::std::string& name() const;
338 : template <typename Arg_ = const ::std::string&, typename... Args_>
339 : void set_name(Arg_&& arg, Args_... args);
340 : ::std::string* PROTOBUF_NONNULL mutable_name();
341 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
342 : void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
343 :
344 : private:
345 : const ::std::string& _internal_name() const;
346 : PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
347 : ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
348 :
349 : public:
350 : // optional string value = 2;
351 : bool has_value() const;
352 : void clear_value() ;
353 : const ::std::string& value() const;
354 : template <typename Arg_ = const ::std::string&, typename... Args_>
355 : void set_value(Arg_&& arg, Args_... args);
356 : ::std::string* PROTOBUF_NONNULL mutable_value();
357 : [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_value();
358 : void set_allocated_value(::std::string* PROTOBUF_NULLABLE value);
359 :
360 : private:
361 : const ::std::string& _internal_value() const;
362 : PROTOBUF_ALWAYS_INLINE void _internal_set_value(const ::std::string& value);
363 : ::std::string* PROTOBUF_NONNULL _internal_mutable_value();
364 :
365 : public:
366 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.PropertyRecord)
367 : private:
368 : class _Internal;
369 : friend class ::google::protobuf::internal::TcParser;
370 : static const ::google::protobuf::internal::TcParseTable<2, 3,
371 : 0, 49,
372 : 2>
373 : _table_;
374 :
375 : friend class ::google::protobuf::MessageLite;
376 : friend class ::google::protobuf::Arena;
377 : template <typename T>
378 : friend class ::google::protobuf::Arena::InternalHelper;
379 : using InternalArenaConstructable_ = void;
380 : using DestructorSkippable_ = void;
381 : struct Impl_ {
382 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
383 : inline explicit Impl_(
384 : ::google::protobuf::internal::InternalVisibility visibility,
385 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
386 : inline explicit Impl_(
387 : ::google::protobuf::internal::InternalVisibility visibility,
388 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
389 : const PropertyRecord& from_msg);
390 : ::google::protobuf::internal::HasBits<1> _has_bits_;
391 : ::google::protobuf::internal::CachedSize _cached_size_;
392 : ::google::protobuf::RepeatedField<double> floatvalues_;
393 : ::google::protobuf::internal::ArenaStringPtr name_;
394 : ::google::protobuf::internal::ArenaStringPtr value_;
395 : PROTOBUF_TSAN_DECLARE_MEMBER
396 : };
397 : union { Impl_ _impl_; };
398 : friend struct ::TableStruct_common_2eproto;
399 : };
400 :
401 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull PropertyRecord_class_data_;
402 : // -------------------------------------------------------------------
403 :
404 : class ODBDESIGN_EXPORT ContourPolygon_PolygonPart final : public ::google::protobuf::Message
405 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.ContourPolygon.PolygonPart) */ {
406 : public:
407 5211921 : inline ContourPolygon_PolygonPart() : ContourPolygon_PolygonPart(nullptr) {}
408 : ~ContourPolygon_PolygonPart() PROTOBUF_FINAL;
409 :
410 : #if defined(PROTOBUF_CUSTOM_VTABLE)
411 : void operator delete(ContourPolygon_PolygonPart* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
412 : SharedDtor(*msg);
413 : ::google::protobuf::internal::SizedDelete(msg, sizeof(ContourPolygon_PolygonPart));
414 : }
415 : #endif
416 :
417 : template <typename = void>
418 : explicit PROTOBUF_CONSTEXPR ContourPolygon_PolygonPart(::google::protobuf::internal::ConstantInitialized);
419 :
420 : inline ContourPolygon_PolygonPart(const ContourPolygon_PolygonPart& from) : ContourPolygon_PolygonPart(nullptr, from) {}
421 : inline ContourPolygon_PolygonPart(ContourPolygon_PolygonPart&& from) noexcept
422 : : ContourPolygon_PolygonPart(nullptr, ::std::move(from)) {}
423 : inline ContourPolygon_PolygonPart& operator=(const ContourPolygon_PolygonPart& from) {
424 : CopyFrom(from);
425 : return *this;
426 : }
427 : inline ContourPolygon_PolygonPart& operator=(ContourPolygon_PolygonPart&& from) noexcept {
428 : if (this == &from) return *this;
429 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
430 : InternalSwap(&from);
431 : } else {
432 : CopyFrom(from);
433 : }
434 : return *this;
435 : }
436 :
437 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
438 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
439 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
440 : }
441 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
442 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
443 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
444 : }
445 :
446 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
447 : return GetDescriptor();
448 : }
449 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
450 : return default_instance().GetMetadata().descriptor;
451 : }
452 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
453 : return default_instance().GetMetadata().reflection;
454 : }
455 : static const ContourPolygon_PolygonPart& default_instance() {
456 : return *reinterpret_cast<const ContourPolygon_PolygonPart*>(
457 : &_ContourPolygon_PolygonPart_default_instance_);
458 : }
459 : static constexpr int kIndexInFileMessages = 1;
460 : friend void swap(ContourPolygon_PolygonPart& a, ContourPolygon_PolygonPart& b) { a.Swap(&b); }
461 : inline void Swap(ContourPolygon_PolygonPart* PROTOBUF_NONNULL other) {
462 : if (other == this) return;
463 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
464 : InternalSwap(other);
465 : } else {
466 : ::google::protobuf::internal::GenericSwap(this, other);
467 : }
468 : }
469 : void UnsafeArenaSwap(ContourPolygon_PolygonPart* PROTOBUF_NONNULL other) {
470 : if (other == this) return;
471 : ABSL_DCHECK(GetArena() == other->GetArena());
472 : InternalSwap(other);
473 : }
474 :
475 : // implements Message ----------------------------------------------
476 :
477 : ContourPolygon_PolygonPart* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
478 : return ::google::protobuf::Message::DefaultConstruct<ContourPolygon_PolygonPart>(arena);
479 : }
480 : using ::google::protobuf::Message::CopyFrom;
481 : void CopyFrom(const ContourPolygon_PolygonPart& from);
482 : using ::google::protobuf::Message::MergeFrom;
483 5211921 : void MergeFrom(const ContourPolygon_PolygonPart& from) { ContourPolygon_PolygonPart::MergeImpl(*this, from); }
484 :
485 : private:
486 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
487 : const ::google::protobuf::MessageLite& from_msg);
488 :
489 : public:
490 : bool IsInitialized() const {
491 : return true;
492 : }
493 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
494 : #if defined(PROTOBUF_CUSTOM_VTABLE)
495 : private:
496 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
497 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
498 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
499 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
500 :
501 : public:
502 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
503 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
504 : ::uint8_t* PROTOBUF_NONNULL target,
505 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
506 : return _InternalSerialize(*this, target, stream);
507 : }
508 : #else // PROTOBUF_CUSTOM_VTABLE
509 : ::size_t ByteSizeLong() const final;
510 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
511 : ::uint8_t* PROTOBUF_NONNULL target,
512 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
513 : #endif // PROTOBUF_CUSTOM_VTABLE
514 5352687 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
515 :
516 : private:
517 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
518 : static void SharedDtor(MessageLite& self);
519 : void InternalSwap(ContourPolygon_PolygonPart* PROTOBUF_NONNULL other);
520 : private:
521 : template <typename T>
522 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
523 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.ContourPolygon.PolygonPart"; }
524 :
525 : explicit ContourPolygon_PolygonPart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
526 : ContourPolygon_PolygonPart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ContourPolygon_PolygonPart& from);
527 : ContourPolygon_PolygonPart(
528 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ContourPolygon_PolygonPart&& from) noexcept
529 : : ContourPolygon_PolygonPart(arena) {
530 : *this = ::std::move(from);
531 : }
532 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
533 : static void* PROTOBUF_NONNULL PlacementNew_(
534 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
535 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
536 : static constexpr auto InternalNewImpl_();
537 :
538 : public:
539 : static constexpr auto InternalGenerateClassData_();
540 :
541 : ::google::protobuf::Metadata GetMetadata() const;
542 : // nested types ----------------------------------------------------
543 : using Type = ContourPolygon_PolygonPart_Type;
544 : static constexpr Type Segment = ContourPolygon_PolygonPart_Type_Segment;
545 : static constexpr Type Arc = ContourPolygon_PolygonPart_Type_Arc;
546 : static inline bool Type_IsValid(int value) {
547 : return ContourPolygon_PolygonPart_Type_IsValid(value);
548 : }
549 : static constexpr Type Type_MIN = ContourPolygon_PolygonPart_Type_Type_MIN;
550 : static constexpr Type Type_MAX = ContourPolygon_PolygonPart_Type_Type_MAX;
551 : static constexpr int Type_ARRAYSIZE = ContourPolygon_PolygonPart_Type_Type_ARRAYSIZE;
552 : static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Type_descriptor() {
553 : return ContourPolygon_PolygonPart_Type_descriptor();
554 : }
555 : template <typename T>
556 : static inline const ::std::string& Type_Name(T value) {
557 : return ContourPolygon_PolygonPart_Type_Name(value);
558 : }
559 : static inline bool Type_Parse(
560 : ::absl::string_view name, Type* PROTOBUF_NONNULL value) {
561 : return ContourPolygon_PolygonPart_Type_Parse(name, value);
562 : }
563 :
564 : // accessors -------------------------------------------------------
565 : enum : int {
566 : kEndXFieldNumber = 2,
567 : kEndYFieldNumber = 3,
568 : kTypeFieldNumber = 1,
569 : kIsClockwiseFieldNumber = 6,
570 : kXCenterFieldNumber = 4,
571 : kYCenterFieldNumber = 5,
572 : };
573 : // optional double endX = 2;
574 : bool has_endx() const;
575 : void clear_endx() ;
576 : double endx() const;
577 : void set_endx(double value);
578 :
579 : private:
580 : double _internal_endx() const;
581 : void _internal_set_endx(double value);
582 :
583 : public:
584 : // optional double endY = 3;
585 : bool has_endy() const;
586 : void clear_endy() ;
587 : double endy() const;
588 : void set_endy(double value);
589 :
590 : private:
591 : double _internal_endy() const;
592 : void _internal_set_endy(double value);
593 :
594 : public:
595 : // optional .Odb.Lib.Protobuf.ContourPolygon.PolygonPart.Type type = 1;
596 : bool has_type() const;
597 : void clear_type() ;
598 : ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type type() const;
599 : void set_type(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type value);
600 :
601 : private:
602 : ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type _internal_type() const;
603 : void _internal_set_type(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type value);
604 :
605 : public:
606 : // optional bool isClockwise = 6;
607 : bool has_isclockwise() const;
608 : void clear_isclockwise() ;
609 : bool isclockwise() const;
610 : void set_isclockwise(bool value);
611 :
612 : private:
613 : bool _internal_isclockwise() const;
614 : void _internal_set_isclockwise(bool value);
615 :
616 : public:
617 : // optional double xCenter = 4;
618 : bool has_xcenter() const;
619 : void clear_xcenter() ;
620 : double xcenter() const;
621 : void set_xcenter(double value);
622 :
623 : private:
624 : double _internal_xcenter() const;
625 : void _internal_set_xcenter(double value);
626 :
627 : public:
628 : // optional double yCenter = 5;
629 : bool has_ycenter() const;
630 : void clear_ycenter() ;
631 : double ycenter() const;
632 : void set_ycenter(double value);
633 :
634 : private:
635 : double _internal_ycenter() const;
636 : void _internal_set_ycenter(double value);
637 :
638 : public:
639 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.ContourPolygon.PolygonPart)
640 : private:
641 : class _Internal;
642 : friend class ::google::protobuf::internal::TcParser;
643 : static const ::google::protobuf::internal::TcParseTable<3, 6,
644 : 0, 0,
645 : 2>
646 : _table_;
647 :
648 : friend class ::google::protobuf::MessageLite;
649 : friend class ::google::protobuf::Arena;
650 : template <typename T>
651 : friend class ::google::protobuf::Arena::InternalHelper;
652 : using InternalArenaConstructable_ = void;
653 : using DestructorSkippable_ = void;
654 : struct Impl_ {
655 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
656 : inline explicit Impl_(
657 : ::google::protobuf::internal::InternalVisibility visibility,
658 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
659 : inline explicit Impl_(
660 : ::google::protobuf::internal::InternalVisibility visibility,
661 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
662 : const ContourPolygon_PolygonPart& from_msg);
663 : ::google::protobuf::internal::HasBits<1> _has_bits_;
664 : ::google::protobuf::internal::CachedSize _cached_size_;
665 : double endx_;
666 : double endy_;
667 : int type_;
668 : bool isclockwise_;
669 : double xcenter_;
670 : double ycenter_;
671 : PROTOBUF_TSAN_DECLARE_MEMBER
672 : };
673 : union { Impl_ _impl_; };
674 : friend struct ::TableStruct_common_2eproto;
675 : };
676 :
677 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull ContourPolygon_PolygonPart_class_data_;
678 : // -------------------------------------------------------------------
679 :
680 : class ODBDESIGN_EXPORT ContourPolygon final : public ::google::protobuf::Message
681 : /* @@protoc_insertion_point(class_definition:Odb.Lib.Protobuf.ContourPolygon) */ {
682 : public:
683 489359 : inline ContourPolygon() : ContourPolygon(nullptr) {}
684 : ~ContourPolygon() PROTOBUF_FINAL;
685 :
686 : #if defined(PROTOBUF_CUSTOM_VTABLE)
687 : void operator delete(ContourPolygon* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
688 : SharedDtor(*msg);
689 : ::google::protobuf::internal::SizedDelete(msg, sizeof(ContourPolygon));
690 : }
691 : #endif
692 :
693 : template <typename = void>
694 : explicit PROTOBUF_CONSTEXPR ContourPolygon(::google::protobuf::internal::ConstantInitialized);
695 :
696 : inline ContourPolygon(const ContourPolygon& from) : ContourPolygon(nullptr, from) {}
697 : inline ContourPolygon(ContourPolygon&& from) noexcept
698 : : ContourPolygon(nullptr, ::std::move(from)) {}
699 : inline ContourPolygon& operator=(const ContourPolygon& from) {
700 : CopyFrom(from);
701 : return *this;
702 : }
703 : inline ContourPolygon& operator=(ContourPolygon&& from) noexcept {
704 : if (this == &from) return *this;
705 : if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
706 : InternalSwap(&from);
707 : } else {
708 : CopyFrom(from);
709 : }
710 : return *this;
711 : }
712 :
713 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
714 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
715 : return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
716 : }
717 : inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
718 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
719 : return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
720 : }
721 :
722 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
723 : return GetDescriptor();
724 : }
725 : static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
726 : return default_instance().GetMetadata().descriptor;
727 : }
728 : static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
729 : return default_instance().GetMetadata().reflection;
730 : }
731 : static const ContourPolygon& default_instance() {
732 : return *reinterpret_cast<const ContourPolygon*>(
733 : &_ContourPolygon_default_instance_);
734 : }
735 : static constexpr int kIndexInFileMessages = 2;
736 : friend void swap(ContourPolygon& a, ContourPolygon& b) { a.Swap(&b); }
737 : inline void Swap(ContourPolygon* PROTOBUF_NONNULL other) {
738 : if (other == this) return;
739 : if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
740 : InternalSwap(other);
741 : } else {
742 : ::google::protobuf::internal::GenericSwap(this, other);
743 : }
744 : }
745 : void UnsafeArenaSwap(ContourPolygon* PROTOBUF_NONNULL other) {
746 : if (other == this) return;
747 : ABSL_DCHECK(GetArena() == other->GetArena());
748 : InternalSwap(other);
749 : }
750 :
751 : // implements Message ----------------------------------------------
752 :
753 : ContourPolygon* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
754 : return ::google::protobuf::Message::DefaultConstruct<ContourPolygon>(arena);
755 : }
756 : using ::google::protobuf::Message::CopyFrom;
757 : void CopyFrom(const ContourPolygon& from);
758 : using ::google::protobuf::Message::MergeFrom;
759 489359 : void MergeFrom(const ContourPolygon& from) { ContourPolygon::MergeImpl(*this, from); }
760 :
761 : private:
762 : static void MergeImpl(::google::protobuf::MessageLite& to_msg,
763 : const ::google::protobuf::MessageLite& from_msg);
764 :
765 : public:
766 : bool IsInitialized() const {
767 : return true;
768 : }
769 : ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
770 : #if defined(PROTOBUF_CUSTOM_VTABLE)
771 : private:
772 : static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
773 : static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
774 : const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
775 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
776 :
777 : public:
778 : ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
779 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
780 : ::uint8_t* PROTOBUF_NONNULL target,
781 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
782 : return _InternalSerialize(*this, target, stream);
783 : }
784 : #else // PROTOBUF_CUSTOM_VTABLE
785 : ::size_t ByteSizeLong() const final;
786 : ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
787 : ::uint8_t* PROTOBUF_NONNULL target,
788 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
789 : #endif // PROTOBUF_CUSTOM_VTABLE
790 505711 : int GetCachedSize() const { return _impl_._cached_size_.Get(); }
791 :
792 : private:
793 : void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
794 : static void SharedDtor(MessageLite& self);
795 : void InternalSwap(ContourPolygon* PROTOBUF_NONNULL other);
796 : private:
797 : template <typename T>
798 : friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
799 : static ::absl::string_view FullMessageName() { return "Odb.Lib.Protobuf.ContourPolygon"; }
800 :
801 : explicit ContourPolygon(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
802 : ContourPolygon(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ContourPolygon& from);
803 : ContourPolygon(
804 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ContourPolygon&& from) noexcept
805 : : ContourPolygon(arena) {
806 : *this = ::std::move(from);
807 : }
808 : const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
809 : static void* PROTOBUF_NONNULL PlacementNew_(
810 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
811 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
812 : static constexpr auto InternalNewImpl_();
813 :
814 : public:
815 : static constexpr auto InternalGenerateClassData_();
816 :
817 : ::google::protobuf::Metadata GetMetadata() const;
818 : // nested types ----------------------------------------------------
819 : using PolygonPart = ContourPolygon_PolygonPart;
820 : using Type = ContourPolygon_Type;
821 : static constexpr Type Island = ContourPolygon_Type_Island;
822 : static constexpr Type Hole = ContourPolygon_Type_Hole;
823 : static inline bool Type_IsValid(int value) {
824 : return ContourPolygon_Type_IsValid(value);
825 : }
826 : static constexpr Type Type_MIN = ContourPolygon_Type_Type_MIN;
827 : static constexpr Type Type_MAX = ContourPolygon_Type_Type_MAX;
828 : static constexpr int Type_ARRAYSIZE = ContourPolygon_Type_Type_ARRAYSIZE;
829 : static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Type_descriptor() {
830 : return ContourPolygon_Type_descriptor();
831 : }
832 : template <typename T>
833 : static inline const ::std::string& Type_Name(T value) {
834 : return ContourPolygon_Type_Name(value);
835 : }
836 : static inline bool Type_Parse(
837 : ::absl::string_view name, Type* PROTOBUF_NONNULL value) {
838 : return ContourPolygon_Type_Parse(name, value);
839 : }
840 :
841 : // accessors -------------------------------------------------------
842 : enum : int {
843 : kPolygonPartsFieldNumber = 4,
844 : kXStartFieldNumber = 2,
845 : kYStartFieldNumber = 3,
846 : kTypeFieldNumber = 1,
847 : };
848 : // repeated .Odb.Lib.Protobuf.ContourPolygon.PolygonPart polygonParts = 4;
849 : int polygonparts_size() const;
850 : private:
851 : int _internal_polygonparts_size() const;
852 :
853 : public:
854 : void clear_polygonparts() ;
855 : ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart* PROTOBUF_NONNULL mutable_polygonparts(int index);
856 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart>* PROTOBUF_NONNULL mutable_polygonparts();
857 :
858 : private:
859 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart>& _internal_polygonparts() const;
860 : ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart>* PROTOBUF_NONNULL _internal_mutable_polygonparts();
861 : public:
862 : const ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart& polygonparts(int index) const;
863 : ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart* PROTOBUF_NONNULL add_polygonparts();
864 : const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart>& polygonparts() const;
865 : // optional double xStart = 2;
866 : bool has_xstart() const;
867 : void clear_xstart() ;
868 : double xstart() const;
869 : void set_xstart(double value);
870 :
871 : private:
872 : double _internal_xstart() const;
873 : void _internal_set_xstart(double value);
874 :
875 : public:
876 : // optional double yStart = 3;
877 : bool has_ystart() const;
878 : void clear_ystart() ;
879 : double ystart() const;
880 : void set_ystart(double value);
881 :
882 : private:
883 : double _internal_ystart() const;
884 : void _internal_set_ystart(double value);
885 :
886 : public:
887 : // optional .Odb.Lib.Protobuf.ContourPolygon.Type type = 1;
888 : bool has_type() const;
889 : void clear_type() ;
890 : ::Odb::Lib::Protobuf::ContourPolygon_Type type() const;
891 : void set_type(::Odb::Lib::Protobuf::ContourPolygon_Type value);
892 :
893 : private:
894 : ::Odb::Lib::Protobuf::ContourPolygon_Type _internal_type() const;
895 : void _internal_set_type(::Odb::Lib::Protobuf::ContourPolygon_Type value);
896 :
897 : public:
898 : // @@protoc_insertion_point(class_scope:Odb.Lib.Protobuf.ContourPolygon)
899 : private:
900 : class _Internal;
901 : friend class ::google::protobuf::internal::TcParser;
902 : static const ::google::protobuf::internal::TcParseTable<2, 4,
903 : 1, 0,
904 : 2>
905 : _table_;
906 :
907 : friend class ::google::protobuf::MessageLite;
908 : friend class ::google::protobuf::Arena;
909 : template <typename T>
910 : friend class ::google::protobuf::Arena::InternalHelper;
911 : using InternalArenaConstructable_ = void;
912 : using DestructorSkippable_ = void;
913 : struct Impl_ {
914 : inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
915 : inline explicit Impl_(
916 : ::google::protobuf::internal::InternalVisibility visibility,
917 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
918 : inline explicit Impl_(
919 : ::google::protobuf::internal::InternalVisibility visibility,
920 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
921 : const ContourPolygon& from_msg);
922 : ::google::protobuf::internal::HasBits<1> _has_bits_;
923 : ::google::protobuf::internal::CachedSize _cached_size_;
924 : ::google::protobuf::RepeatedPtrField< ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart > polygonparts_;
925 : double xstart_;
926 : double ystart_;
927 : int type_;
928 : PROTOBUF_TSAN_DECLARE_MEMBER
929 : };
930 : union { Impl_ _impl_; };
931 : friend struct ::TableStruct_common_2eproto;
932 : };
933 :
934 : ODBDESIGN_EXPORT extern const ::google::protobuf::internal::ClassDataFull ContourPolygon_class_data_;
935 :
936 : // ===================================================================
937 :
938 :
939 :
940 :
941 : // ===================================================================
942 :
943 :
944 : #ifdef __GNUC__
945 : #pragma GCC diagnostic push
946 : #pragma GCC diagnostic ignored "-Wstrict-aliasing"
947 : #endif // __GNUC__
948 : // -------------------------------------------------------------------
949 :
950 : // PropertyRecord
951 :
952 : // optional string name = 1;
953 : inline bool PropertyRecord::has_name() const {
954 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
955 : return value;
956 : }
957 : inline void PropertyRecord::clear_name() {
958 : ::google::protobuf::internal::TSanWrite(&_impl_);
959 : _impl_.name_.ClearToEmpty();
960 : ClearHasBit(_impl_._has_bits_[0],
961 : 0x00000002U);
962 : }
963 102220 : inline const ::std::string& PropertyRecord::name() const
964 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
965 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.PropertyRecord.name)
966 102220 : return _internal_name();
967 : }
968 : template <typename Arg_, typename... Args_>
969 : PROTOBUF_ALWAYS_INLINE void PropertyRecord::set_name(Arg_&& arg, Args_... args) {
970 2078717 : ::google::protobuf::internal::TSanWrite(&_impl_);
971 2078717 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
972 2078717 : _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
973 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.PropertyRecord.name)
974 2078717 : }
975 : inline ::std::string* PROTOBUF_NONNULL PropertyRecord::mutable_name()
976 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
977 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
978 : ::std::string* _s = _internal_mutable_name();
979 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.PropertyRecord.name)
980 : return _s;
981 : }
982 7400006 : inline const ::std::string& PropertyRecord::_internal_name() const {
983 7400006 : ::google::protobuf::internal::TSanRead(&_impl_);
984 7400006 : return _impl_.name_.Get();
985 : }
986 : inline void PropertyRecord::_internal_set_name(const ::std::string& value) {
987 2078716 : ::google::protobuf::internal::TSanWrite(&_impl_);
988 2078716 : _impl_.name_.Set(value, GetArena());
989 2078716 : }
990 : inline ::std::string* PROTOBUF_NONNULL PropertyRecord::_internal_mutable_name() {
991 : ::google::protobuf::internal::TSanWrite(&_impl_);
992 : return _impl_.name_.Mutable( GetArena());
993 : }
994 : inline ::std::string* PROTOBUF_NULLABLE PropertyRecord::release_name() {
995 : ::google::protobuf::internal::TSanWrite(&_impl_);
996 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.PropertyRecord.name)
997 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
998 : return nullptr;
999 : }
1000 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1001 : auto* released = _impl_.name_.Release();
1002 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1003 : _impl_.name_.Set("", GetArena());
1004 : }
1005 : return released;
1006 : }
1007 : inline void PropertyRecord::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
1008 : ::google::protobuf::internal::TSanWrite(&_impl_);
1009 : if (value != nullptr) {
1010 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1011 : } else {
1012 : ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1013 : }
1014 : _impl_.name_.SetAllocated(value, GetArena());
1015 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
1016 : _impl_.name_.Set("", GetArena());
1017 : }
1018 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.PropertyRecord.name)
1019 : }
1020 :
1021 : // optional string value = 2;
1022 : inline bool PropertyRecord::has_value() const {
1023 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
1024 : return value;
1025 : }
1026 : inline void PropertyRecord::clear_value() {
1027 : ::google::protobuf::internal::TSanWrite(&_impl_);
1028 : _impl_.value_.ClearToEmpty();
1029 : ClearHasBit(_impl_._has_bits_[0],
1030 : 0x00000004U);
1031 : }
1032 102221 : inline const ::std::string& PropertyRecord::value() const
1033 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1034 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.PropertyRecord.value)
1035 102221 : return _internal_value();
1036 : }
1037 : template <typename Arg_, typename... Args_>
1038 : PROTOBUF_ALWAYS_INLINE void PropertyRecord::set_value(Arg_&& arg, Args_... args) {
1039 2078717 : ::google::protobuf::internal::TSanWrite(&_impl_);
1040 2078717 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1041 2078717 : _impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1042 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.PropertyRecord.value)
1043 2078717 : }
1044 : inline ::std::string* PROTOBUF_NONNULL PropertyRecord::mutable_value()
1045 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1046 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1047 : ::std::string* _s = _internal_mutable_value();
1048 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.PropertyRecord.value)
1049 : return _s;
1050 : }
1051 7400007 : inline const ::std::string& PropertyRecord::_internal_value() const {
1052 7400007 : ::google::protobuf::internal::TSanRead(&_impl_);
1053 7400007 : return _impl_.value_.Get();
1054 : }
1055 : inline void PropertyRecord::_internal_set_value(const ::std::string& value) {
1056 2078716 : ::google::protobuf::internal::TSanWrite(&_impl_);
1057 2078716 : _impl_.value_.Set(value, GetArena());
1058 2078716 : }
1059 : inline ::std::string* PROTOBUF_NONNULL PropertyRecord::_internal_mutable_value() {
1060 : ::google::protobuf::internal::TSanWrite(&_impl_);
1061 : return _impl_.value_.Mutable( GetArena());
1062 : }
1063 : inline ::std::string* PROTOBUF_NULLABLE PropertyRecord::release_value() {
1064 : ::google::protobuf::internal::TSanWrite(&_impl_);
1065 : // @@protoc_insertion_point(field_release:Odb.Lib.Protobuf.PropertyRecord.value)
1066 : if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
1067 : return nullptr;
1068 : }
1069 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1070 : auto* released = _impl_.value_.Release();
1071 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1072 : _impl_.value_.Set("", GetArena());
1073 : }
1074 : return released;
1075 : }
1076 : inline void PropertyRecord::set_allocated_value(::std::string* PROTOBUF_NULLABLE value) {
1077 : ::google::protobuf::internal::TSanWrite(&_impl_);
1078 : if (value != nullptr) {
1079 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1080 : } else {
1081 : ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1082 : }
1083 : _impl_.value_.SetAllocated(value, GetArena());
1084 : if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) {
1085 : _impl_.value_.Set("", GetArena());
1086 : }
1087 : // @@protoc_insertion_point(field_set_allocated:Odb.Lib.Protobuf.PropertyRecord.value)
1088 : }
1089 :
1090 : // repeated double floatValues = 3;
1091 149913 : inline int PropertyRecord::_internal_floatvalues_size() const {
1092 149913 : return _internal_floatvalues().size();
1093 : }
1094 103683 : inline int PropertyRecord::floatvalues_size() const {
1095 103683 : return _internal_floatvalues_size();
1096 : }
1097 : inline void PropertyRecord::clear_floatvalues() {
1098 : ::google::protobuf::internal::TSanWrite(&_impl_);
1099 : _impl_.floatvalues_.Clear();
1100 : ClearHasBitForRepeated(_impl_._has_bits_[0],
1101 : 0x00000001U);
1102 : }
1103 1465 : inline double PropertyRecord::floatvalues(int index) const {
1104 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.PropertyRecord.floatValues)
1105 1465 : return _internal_floatvalues().Get(index);
1106 : }
1107 : inline void PropertyRecord::set_floatvalues(int index, double value) {
1108 : _internal_mutable_floatvalues()->Set(index, value);
1109 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.PropertyRecord.floatValues)
1110 : }
1111 21221 : inline void PropertyRecord::add_floatvalues(double value) {
1112 21221 : ::google::protobuf::internal::TSanWrite(&_impl_);
1113 21221 : _internal_mutable_floatvalues()->Add(value);
1114 21221 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1115 : // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.PropertyRecord.floatValues)
1116 21221 : }
1117 : inline const ::google::protobuf::RepeatedField<double>& PropertyRecord::floatvalues() const
1118 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1119 : // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.PropertyRecord.floatValues)
1120 : return _internal_floatvalues();
1121 : }
1122 : inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL PropertyRecord::mutable_floatvalues()
1123 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1124 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1125 : // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.PropertyRecord.floatValues)
1126 : ::google::protobuf::internal::TSanWrite(&_impl_);
1127 : return _internal_mutable_floatvalues();
1128 : }
1129 : inline const ::google::protobuf::RepeatedField<double>&
1130 192289 : PropertyRecord::_internal_floatvalues() const {
1131 192289 : ::google::protobuf::internal::TSanRead(&_impl_);
1132 192289 : return _impl_.floatvalues_;
1133 : }
1134 : inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
1135 41966 : PropertyRecord::_internal_mutable_floatvalues() {
1136 41966 : ::google::protobuf::internal::TSanRead(&_impl_);
1137 41966 : return &_impl_.floatvalues_;
1138 : }
1139 :
1140 : // -------------------------------------------------------------------
1141 :
1142 : // ContourPolygon_PolygonPart
1143 :
1144 : // optional .Odb.Lib.Protobuf.ContourPolygon.PolygonPart.Type type = 1;
1145 : inline bool ContourPolygon_PolygonPart::has_type() const {
1146 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
1147 : return value;
1148 : }
1149 : inline void ContourPolygon_PolygonPart::clear_type() {
1150 : ::google::protobuf::internal::TSanWrite(&_impl_);
1151 : _impl_.type_ = 0;
1152 : ClearHasBit(_impl_._has_bits_[0],
1153 : 0x00000004U);
1154 : }
1155 306034 : inline ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type ContourPolygon_PolygonPart::type() const {
1156 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.type)
1157 306034 : return _internal_type();
1158 : }
1159 5211921 : inline void ContourPolygon_PolygonPart::set_type(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type value) {
1160 5211921 : _internal_set_type(value);
1161 5211921 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1162 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.type)
1163 5211921 : }
1164 12737538 : inline ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type ContourPolygon_PolygonPart::_internal_type() const {
1165 12737538 : ::google::protobuf::internal::TSanRead(&_impl_);
1166 12737538 : return static_cast<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type>(_impl_.type_);
1167 : }
1168 5211921 : inline void ContourPolygon_PolygonPart::_internal_set_type(::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type value) {
1169 5211921 : ::google::protobuf::internal::TSanWrite(&_impl_);
1170 5211921 : _impl_.type_ = value;
1171 5211921 : }
1172 :
1173 : // optional double endX = 2;
1174 : inline bool ContourPolygon_PolygonPart::has_endx() const {
1175 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
1176 : return value;
1177 : }
1178 : inline void ContourPolygon_PolygonPart::clear_endx() {
1179 : ::google::protobuf::internal::TSanWrite(&_impl_);
1180 : _impl_.endx_ = 0;
1181 : ClearHasBit(_impl_._has_bits_[0],
1182 : 0x00000001U);
1183 : }
1184 306035 : inline double ContourPolygon_PolygonPart::endx() const {
1185 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.endX)
1186 306035 : return _internal_endx();
1187 : }
1188 5211921 : inline void ContourPolygon_PolygonPart::set_endx(double value) {
1189 5211921 : _internal_set_endx(value);
1190 5211921 : SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1191 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.endX)
1192 5211921 : }
1193 5658722 : inline double ContourPolygon_PolygonPart::_internal_endx() const {
1194 5658722 : ::google::protobuf::internal::TSanRead(&_impl_);
1195 5658722 : return _impl_.endx_;
1196 : }
1197 5211921 : inline void ContourPolygon_PolygonPart::_internal_set_endx(double value) {
1198 5211921 : ::google::protobuf::internal::TSanWrite(&_impl_);
1199 5211921 : _impl_.endx_ = value;
1200 5211921 : }
1201 :
1202 : // optional double endY = 3;
1203 : inline bool ContourPolygon_PolygonPart::has_endy() const {
1204 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
1205 : return value;
1206 : }
1207 : inline void ContourPolygon_PolygonPart::clear_endy() {
1208 : ::google::protobuf::internal::TSanWrite(&_impl_);
1209 : _impl_.endy_ = 0;
1210 : ClearHasBit(_impl_._has_bits_[0],
1211 : 0x00000002U);
1212 : }
1213 306035 : inline double ContourPolygon_PolygonPart::endy() const {
1214 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.endY)
1215 306035 : return _internal_endy();
1216 : }
1217 5211921 : inline void ContourPolygon_PolygonPart::set_endy(double value) {
1218 5211921 : _internal_set_endy(value);
1219 5211921 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1220 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.endY)
1221 5211921 : }
1222 5658722 : inline double ContourPolygon_PolygonPart::_internal_endy() const {
1223 5658722 : ::google::protobuf::internal::TSanRead(&_impl_);
1224 5658722 : return _impl_.endy_;
1225 : }
1226 5211921 : inline void ContourPolygon_PolygonPart::_internal_set_endy(double value) {
1227 5211921 : ::google::protobuf::internal::TSanWrite(&_impl_);
1228 5211921 : _impl_.endy_ = value;
1229 5211921 : }
1230 :
1231 : // optional double xCenter = 4;
1232 : inline bool ContourPolygon_PolygonPart::has_xcenter() const {
1233 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
1234 : return value;
1235 : }
1236 : inline void ContourPolygon_PolygonPart::clear_xcenter() {
1237 : ::google::protobuf::internal::TSanWrite(&_impl_);
1238 : _impl_.xcenter_ = 0;
1239 : ClearHasBit(_impl_._has_bits_[0],
1240 : 0x00000010U);
1241 : }
1242 306034 : inline double ContourPolygon_PolygonPart::xcenter() const {
1243 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.xCenter)
1244 306034 : return _internal_xcenter();
1245 : }
1246 5211921 : inline void ContourPolygon_PolygonPart::set_xcenter(double value) {
1247 5211921 : _internal_set_xcenter(value);
1248 5211921 : SetHasBit(_impl_._has_bits_[0], 0x00000010U);
1249 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.xCenter)
1250 5211921 : }
1251 5658721 : inline double ContourPolygon_PolygonPart::_internal_xcenter() const {
1252 5658721 : ::google::protobuf::internal::TSanRead(&_impl_);
1253 5658721 : return _impl_.xcenter_;
1254 : }
1255 5211921 : inline void ContourPolygon_PolygonPart::_internal_set_xcenter(double value) {
1256 5211921 : ::google::protobuf::internal::TSanWrite(&_impl_);
1257 5211921 : _impl_.xcenter_ = value;
1258 5211921 : }
1259 :
1260 : // optional double yCenter = 5;
1261 : inline bool ContourPolygon_PolygonPart::has_ycenter() const {
1262 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
1263 : return value;
1264 : }
1265 : inline void ContourPolygon_PolygonPart::clear_ycenter() {
1266 : ::google::protobuf::internal::TSanWrite(&_impl_);
1267 : _impl_.ycenter_ = 0;
1268 : ClearHasBit(_impl_._has_bits_[0],
1269 : 0x00000020U);
1270 : }
1271 306034 : inline double ContourPolygon_PolygonPart::ycenter() const {
1272 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.yCenter)
1273 306034 : return _internal_ycenter();
1274 : }
1275 5211921 : inline void ContourPolygon_PolygonPart::set_ycenter(double value) {
1276 5211921 : _internal_set_ycenter(value);
1277 5211921 : SetHasBit(_impl_._has_bits_[0], 0x00000020U);
1278 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.yCenter)
1279 5211921 : }
1280 5658721 : inline double ContourPolygon_PolygonPart::_internal_ycenter() const {
1281 5658721 : ::google::protobuf::internal::TSanRead(&_impl_);
1282 5658721 : return _impl_.ycenter_;
1283 : }
1284 5211921 : inline void ContourPolygon_PolygonPart::_internal_set_ycenter(double value) {
1285 5211921 : ::google::protobuf::internal::TSanWrite(&_impl_);
1286 5211921 : _impl_.ycenter_ = value;
1287 5211921 : }
1288 :
1289 : // optional bool isClockwise = 6;
1290 : inline bool ContourPolygon_PolygonPart::has_isclockwise() const {
1291 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
1292 : return value;
1293 : }
1294 : inline void ContourPolygon_PolygonPart::clear_isclockwise() {
1295 : ::google::protobuf::internal::TSanWrite(&_impl_);
1296 : _impl_.isclockwise_ = false;
1297 : ClearHasBit(_impl_._has_bits_[0],
1298 : 0x00000008U);
1299 : }
1300 306035 : inline bool ContourPolygon_PolygonPart::isclockwise() const {
1301 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.isClockwise)
1302 306035 : return _internal_isclockwise();
1303 : }
1304 5211921 : inline void ContourPolygon_PolygonPart::set_isclockwise(bool value) {
1305 5211921 : _internal_set_isclockwise(value);
1306 5211921 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1307 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ContourPolygon.PolygonPart.isClockwise)
1308 5211921 : }
1309 5658722 : inline bool ContourPolygon_PolygonPart::_internal_isclockwise() const {
1310 5658722 : ::google::protobuf::internal::TSanRead(&_impl_);
1311 5658722 : return _impl_.isclockwise_;
1312 : }
1313 5211921 : inline void ContourPolygon_PolygonPart::_internal_set_isclockwise(bool value) {
1314 5211921 : ::google::protobuf::internal::TSanWrite(&_impl_);
1315 5211921 : _impl_.isclockwise_ = value;
1316 5211921 : }
1317 :
1318 : // -------------------------------------------------------------------
1319 :
1320 : // ContourPolygon
1321 :
1322 : // optional .Odb.Lib.Protobuf.ContourPolygon.Type type = 1;
1323 : inline bool ContourPolygon::has_type() const {
1324 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
1325 : return value;
1326 : }
1327 : inline void ContourPolygon::clear_type() {
1328 : ::google::protobuf::internal::TSanWrite(&_impl_);
1329 : _impl_.type_ = 0;
1330 : ClearHasBit(_impl_._has_bits_[0],
1331 : 0x00000008U);
1332 : }
1333 28225 : inline ::Odb::Lib::Protobuf::ContourPolygon_Type ContourPolygon::type() const {
1334 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ContourPolygon.type)
1335 28225 : return _internal_type();
1336 : }
1337 489359 : inline void ContourPolygon::set_type(::Odb::Lib::Protobuf::ContourPolygon_Type value) {
1338 489359 : _internal_set_type(value);
1339 489359 : SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1340 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ContourPolygon.type)
1341 489359 : }
1342 1203882 : inline ::Odb::Lib::Protobuf::ContourPolygon_Type ContourPolygon::_internal_type() const {
1343 1203882 : ::google::protobuf::internal::TSanRead(&_impl_);
1344 1203882 : return static_cast<::Odb::Lib::Protobuf::ContourPolygon_Type>(_impl_.type_);
1345 : }
1346 489359 : inline void ContourPolygon::_internal_set_type(::Odb::Lib::Protobuf::ContourPolygon_Type value) {
1347 489359 : ::google::protobuf::internal::TSanWrite(&_impl_);
1348 489359 : _impl_.type_ = value;
1349 489359 : }
1350 :
1351 : // optional double xStart = 2;
1352 : inline bool ContourPolygon::has_xstart() const {
1353 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
1354 : return value;
1355 : }
1356 : inline void ContourPolygon::clear_xstart() {
1357 : ::google::protobuf::internal::TSanWrite(&_impl_);
1358 : _impl_.xstart_ = 0;
1359 : ClearHasBit(_impl_._has_bits_[0],
1360 : 0x00000002U);
1361 : }
1362 28223 : inline double ContourPolygon::xstart() const {
1363 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ContourPolygon.xStart)
1364 28223 : return _internal_xstart();
1365 : }
1366 489359 : inline void ContourPolygon::set_xstart(double value) {
1367 489359 : _internal_set_xstart(value);
1368 489359 : SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1369 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ContourPolygon.xStart)
1370 489359 : }
1371 533934 : inline double ContourPolygon::_internal_xstart() const {
1372 533934 : ::google::protobuf::internal::TSanRead(&_impl_);
1373 533934 : return _impl_.xstart_;
1374 : }
1375 489359 : inline void ContourPolygon::_internal_set_xstart(double value) {
1376 489359 : ::google::protobuf::internal::TSanWrite(&_impl_);
1377 489359 : _impl_.xstart_ = value;
1378 489359 : }
1379 :
1380 : // optional double yStart = 3;
1381 : inline bool ContourPolygon::has_ystart() const {
1382 : bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
1383 : return value;
1384 : }
1385 : inline void ContourPolygon::clear_ystart() {
1386 : ::google::protobuf::internal::TSanWrite(&_impl_);
1387 : _impl_.ystart_ = 0;
1388 : ClearHasBit(_impl_._has_bits_[0],
1389 : 0x00000004U);
1390 : }
1391 28223 : inline double ContourPolygon::ystart() const {
1392 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ContourPolygon.yStart)
1393 28223 : return _internal_ystart();
1394 : }
1395 489359 : inline void ContourPolygon::set_ystart(double value) {
1396 489359 : _internal_set_ystart(value);
1397 489359 : SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1398 : // @@protoc_insertion_point(field_set:Odb.Lib.Protobuf.ContourPolygon.yStart)
1399 489359 : }
1400 533934 : inline double ContourPolygon::_internal_ystart() const {
1401 533934 : ::google::protobuf::internal::TSanRead(&_impl_);
1402 533934 : return _impl_.ystart_;
1403 : }
1404 489359 : inline void ContourPolygon::_internal_set_ystart(double value) {
1405 489359 : ::google::protobuf::internal::TSanWrite(&_impl_);
1406 489359 : _impl_.ystart_ = value;
1407 489359 : }
1408 :
1409 : // repeated .Odb.Lib.Protobuf.ContourPolygon.PolygonPart polygonParts = 4;
1410 1175658 : inline int ContourPolygon::_internal_polygonparts_size() const {
1411 1175658 : return _internal_polygonparts().size();
1412 : }
1413 1 : inline int ContourPolygon::polygonparts_size() const {
1414 1 : return _internal_polygonparts_size();
1415 : }
1416 : inline void ContourPolygon::clear_polygonparts() {
1417 : ::google::protobuf::internal::TSanWrite(&_impl_);
1418 : _impl_.polygonparts_.Clear();
1419 : ClearHasBitForRepeated(_impl_._has_bits_[0],
1420 : 0x00000001U);
1421 : }
1422 : inline ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart* PROTOBUF_NONNULL ContourPolygon::mutable_polygonparts(int index)
1423 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1424 : // @@protoc_insertion_point(field_mutable:Odb.Lib.Protobuf.ContourPolygon.polygonParts)
1425 : return _internal_mutable_polygonparts()->Mutable(index);
1426 : }
1427 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart>* PROTOBUF_NONNULL ContourPolygon::mutable_polygonparts()
1428 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1429 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1430 : // @@protoc_insertion_point(field_mutable_list:Odb.Lib.Protobuf.ContourPolygon.polygonParts)
1431 : ::google::protobuf::internal::TSanWrite(&_impl_);
1432 : return _internal_mutable_polygonparts();
1433 : }
1434 1 : inline const ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart& ContourPolygon::polygonparts(int index) const
1435 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1436 : // @@protoc_insertion_point(field_get:Odb.Lib.Protobuf.ContourPolygon.polygonParts)
1437 1 : return _internal_polygonparts().Get(index);
1438 : }
1439 5211921 : inline ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart* PROTOBUF_NONNULL ContourPolygon::add_polygonparts()
1440 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1441 5211921 : ::google::protobuf::internal::TSanWrite(&_impl_);
1442 : ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart* _add =
1443 10423842 : _internal_mutable_polygonparts()->InternalAddWithArena(
1444 5211921 : ::google::protobuf::MessageLite::internal_visibility(), GetArena());
1445 5211921 : SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1446 : // @@protoc_insertion_point(field_add:Odb.Lib.Protobuf.ContourPolygon.polygonParts)
1447 5211921 : return _add;
1448 : }
1449 28221 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart>& ContourPolygon::polygonparts() const
1450 : ABSL_ATTRIBUTE_LIFETIME_BOUND {
1451 : // @@protoc_insertion_point(field_list:Odb.Lib.Protobuf.ContourPolygon.polygonParts)
1452 28221 : return _internal_polygonparts();
1453 : }
1454 : inline const ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart>&
1455 7715872 : ContourPolygon::_internal_polygonparts() const {
1456 7715872 : ::google::protobuf::internal::TSanRead(&_impl_);
1457 7715872 : return _impl_.polygonparts_;
1458 : }
1459 : inline ::google::protobuf::RepeatedPtrField<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart>* PROTOBUF_NONNULL
1460 5701280 : ContourPolygon::_internal_mutable_polygonparts() {
1461 5701280 : ::google::protobuf::internal::TSanRead(&_impl_);
1462 5701280 : return &_impl_.polygonparts_;
1463 : }
1464 :
1465 : #ifdef __GNUC__
1466 : #pragma GCC diagnostic pop
1467 : #endif // __GNUC__
1468 :
1469 : // @@protoc_insertion_point(namespace_scope)
1470 : } // namespace Protobuf
1471 : } // namespace Lib
1472 : } // namespace Odb
1473 :
1474 :
1475 : namespace google {
1476 : namespace protobuf {
1477 :
1478 : template <>
1479 : struct is_proto_enum<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type> : std::true_type {};
1480 : template <>
1481 : inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type>() {
1482 : return ::Odb::Lib::Protobuf::ContourPolygon_PolygonPart_Type_descriptor();
1483 : }
1484 : template <>
1485 : struct is_proto_enum<::Odb::Lib::Protobuf::ContourPolygon_Type> : std::true_type {};
1486 : template <>
1487 : inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::Odb::Lib::Protobuf::ContourPolygon_Type>() {
1488 : return ::Odb::Lib::Protobuf::ContourPolygon_Type_descriptor();
1489 : }
1490 :
1491 : } // namespace protobuf
1492 : } // namespace google
1493 :
1494 : // @@protoc_insertion_point(global_scope)
1495 :
1496 : #include "google/protobuf/port_undef.inc"
1497 :
1498 : #endif // common_2eproto_2epb_2eh
|