DCCL v4
Loading...
Searching...
No Matches
arithmetic.pb.h
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dccl/arithmetic/protobuf/arithmetic.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_dccl_2farithmetic_2fprotobuf_2farithmetic_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_dccl_2farithmetic_2fprotobuf_2farithmetic_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/unknown_field_set.h>
33#include "dccl/option_extensions.pb.h"
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
38// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_dccl_2farithmetic_2fprotobuf_2farithmetic_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
49 static const uint32_t offsets[];
50};
51extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_dccl_2farithmetic_2fprotobuf_2farithmetic_2eproto;
52namespace dccl {
53namespace arith {
54namespace protobuf {
55class ArithmeticModel;
56struct ArithmeticModelDefaultTypeInternal;
57extern ArithmeticModelDefaultTypeInternal _ArithmeticModel_default_instance_;
58} // namespace protobuf
59} // namespace arith
60} // namespace dccl
61PROTOBUF_NAMESPACE_OPEN
62template<> ::dccl::arith::protobuf::ArithmeticModel* Arena::CreateMaybeMessage<::dccl::arith::protobuf::ArithmeticModel>(Arena*);
63PROTOBUF_NAMESPACE_CLOSE
64namespace dccl {
65namespace arith {
66namespace protobuf {
67
68// ===================================================================
69
70class ArithmeticModel final :
71 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:dccl.arith.protobuf.ArithmeticModel) */ {
72 public:
73 inline ArithmeticModel() : ArithmeticModel(nullptr) {}
74 ~ArithmeticModel() override;
75 explicit PROTOBUF_CONSTEXPR ArithmeticModel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
76
78 ArithmeticModel(ArithmeticModel&& from) noexcept
79 : ArithmeticModel() {
80 *this = ::std::move(from);
81 }
82
83 inline ArithmeticModel& operator=(const ArithmeticModel& from) {
84 CopyFrom(from);
85 return *this;
86 }
87 inline ArithmeticModel& operator=(ArithmeticModel&& from) noexcept {
88 if (this == &from) return *this;
89 if (GetOwningArena() == from.GetOwningArena()
90 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
91 && GetOwningArena() != nullptr
92 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
93 ) {
94 InternalSwap(&from);
95 } else {
96 CopyFrom(from);
97 }
98 return *this;
99 }
100
101 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
102 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
103 }
104 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
105 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
106 }
107
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
109 return GetDescriptor();
110 }
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
112 return default_instance().GetMetadata().descriptor;
113 }
114 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
115 return default_instance().GetMetadata().reflection;
116 }
117 static const ArithmeticModel& default_instance() {
118 return *internal_default_instance();
119 }
120 static inline const ArithmeticModel* internal_default_instance() {
121 return reinterpret_cast<const ArithmeticModel*>(
122 &_ArithmeticModel_default_instance_);
123 }
124 static constexpr int kIndexInFileMessages =
125 0;
126
127 friend void swap(ArithmeticModel& a, ArithmeticModel& b) {
128 a.Swap(&b);
129 }
130 inline void Swap(ArithmeticModel* other) {
131 if (other == this) return;
132 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
133 if (GetOwningArena() != nullptr &&
134 GetOwningArena() == other->GetOwningArena()) {
135 #else // PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() == other->GetOwningArena()) {
137 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
138 InternalSwap(other);
139 } else {
140 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
141 }
142 }
143 void UnsafeArenaSwap(ArithmeticModel* other) {
144 if (other == this) return;
145 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
146 InternalSwap(other);
147 }
148
149 // implements Message ----------------------------------------------
150
151 ArithmeticModel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
152 return CreateMaybeMessage<ArithmeticModel>(arena);
153 }
154 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
155 void CopyFrom(const ArithmeticModel& from);
156 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
157 void MergeFrom( const ArithmeticModel& from) {
158 ArithmeticModel::MergeImpl(*this, from);
159 }
160 private:
161 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
162 public:
163 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
164 bool IsInitialized() const final;
165
166 size_t ByteSizeLong() const final;
167 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
168 uint8_t* _InternalSerialize(
169 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
170 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
171
172 private:
173 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
174 void SharedDtor();
175 void SetCachedSize(int size) const final;
176 void InternalSwap(ArithmeticModel* other);
177
178 private:
179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181 return "dccl.arith.protobuf.ArithmeticModel";
182 }
183 protected:
184 explicit ArithmeticModel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
185 bool is_message_owned = false);
186 public:
187
188 static const ClassData _class_data_;
189 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
190
191 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
192
193 // nested types ----------------------------------------------------
194
195 // accessors -------------------------------------------------------
196
197 enum : int {
198 kFrequencyFieldNumber = 10,
199 kValueBoundFieldNumber = 20,
200 kNameFieldNumber = 1,
201 kOutOfRangeFrequencyFieldNumber = 12,
202 kIsAdaptiveFieldNumber = 30,
203 kEofFrequencyFieldNumber = 11,
204 };
205 // repeated uint32 frequency = 10;
206 int frequency_size() const;
207 private:
208 int _internal_frequency_size() const;
209 public:
210 void clear_frequency();
211 private:
212 uint32_t _internal_frequency(int index) const;
213 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
214 _internal_frequency() const;
215 void _internal_add_frequency(uint32_t value);
216 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
217 _internal_mutable_frequency();
218 public:
219 uint32_t frequency(int index) const;
220 void set_frequency(int index, uint32_t value);
221 void add_frequency(uint32_t value);
222 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
223 frequency() const;
224 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
225 mutable_frequency();
226
227 // repeated double value_bound = 20;
228 int value_bound_size() const;
229 private:
230 int _internal_value_bound_size() const;
231 public:
232 void clear_value_bound();
233 private:
234 double _internal_value_bound(int index) const;
235 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
236 _internal_value_bound() const;
237 void _internal_add_value_bound(double value);
238 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
239 _internal_mutable_value_bound();
240 public:
241 double value_bound(int index) const;
242 void set_value_bound(int index, double value);
243 void add_value_bound(double value);
244 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
245 value_bound() const;
246 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
247 mutable_value_bound();
248
249 // required string name = 1;
250 bool has_name() const;
251 private:
252 bool _internal_has_name() const;
253 public:
254 void clear_name();
255 const std::string& name() const;
256 template <typename ArgT0 = const std::string&, typename... ArgT>
257 void set_name(ArgT0&& arg0, ArgT... args);
258 std::string* mutable_name();
259 PROTOBUF_NODISCARD std::string* release_name();
260 void set_allocated_name(std::string* name);
261 private:
262 const std::string& _internal_name() const;
263 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
264 std::string* _internal_mutable_name();
265 public:
266
267 // optional uint32 out_of_range_frequency = 12 [default = 0];
268 bool has_out_of_range_frequency() const;
269 private:
270 bool _internal_has_out_of_range_frequency() const;
271 public:
272 void clear_out_of_range_frequency();
273 uint32_t out_of_range_frequency() const;
274 void set_out_of_range_frequency(uint32_t value);
275 private:
276 uint32_t _internal_out_of_range_frequency() const;
277 void _internal_set_out_of_range_frequency(uint32_t value);
278 public:
279
280 // optional bool is_adaptive = 30 [default = false];
281 bool has_is_adaptive() const;
282 private:
283 bool _internal_has_is_adaptive() const;
284 public:
285 void clear_is_adaptive();
286 bool is_adaptive() const;
287 void set_is_adaptive(bool value);
288 private:
289 bool _internal_is_adaptive() const;
290 void _internal_set_is_adaptive(bool value);
291 public:
292
293 // optional uint32 eof_frequency = 11 [default = 1];
294 bool has_eof_frequency() const;
295 private:
296 bool _internal_has_eof_frequency() const;
297 public:
298 void clear_eof_frequency();
299 uint32_t eof_frequency() const;
300 void set_eof_frequency(uint32_t value);
301 private:
302 uint32_t _internal_eof_frequency() const;
303 void _internal_set_eof_frequency(uint32_t value);
304 public:
305
306 // @@protoc_insertion_point(class_scope:dccl.arith.protobuf.ArithmeticModel)
307 private:
308 class _Internal;
309
310 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
311 typedef void InternalArenaConstructable_;
312 typedef void DestructorSkippable_;
313 struct Impl_ {
314 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
315 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
316 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > frequency_;
317 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > value_bound_;
318 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
319 uint32_t out_of_range_frequency_;
320 bool is_adaptive_;
321 uint32_t eof_frequency_;
322 };
323 union { Impl_ _impl_; };
324 friend struct ::TableStruct_dccl_2farithmetic_2fprotobuf_2farithmetic_2eproto;
325};
326// ===================================================================
327
328
329// ===================================================================
330
331#ifdef __GNUC__
332 #pragma GCC diagnostic push
333 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
334#endif // __GNUC__
335// ArithmeticModel
336
337// required string name = 1;
338inline bool ArithmeticModel::_internal_has_name() const {
339 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
340 return value;
341}
342inline bool ArithmeticModel::has_name() const {
343 return _internal_has_name();
344}
345inline void ArithmeticModel::clear_name() {
346 _impl_.name_.ClearToEmpty();
347 _impl_._has_bits_[0] &= ~0x00000001u;
348}
349inline const std::string& ArithmeticModel::name() const {
350 // @@protoc_insertion_point(field_get:dccl.arith.protobuf.ArithmeticModel.name)
351 return _internal_name();
352}
353template <typename ArgT0, typename... ArgT>
354inline PROTOBUF_ALWAYS_INLINE
355void ArithmeticModel::set_name(ArgT0&& arg0, ArgT... args) {
356 _impl_._has_bits_[0] |= 0x00000001u;
357 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
358 // @@protoc_insertion_point(field_set:dccl.arith.protobuf.ArithmeticModel.name)
359}
360inline std::string* ArithmeticModel::mutable_name() {
361 std::string* _s = _internal_mutable_name();
362 // @@protoc_insertion_point(field_mutable:dccl.arith.protobuf.ArithmeticModel.name)
363 return _s;
364}
365inline const std::string& ArithmeticModel::_internal_name() const {
366 return _impl_.name_.Get();
367}
368inline void ArithmeticModel::_internal_set_name(const std::string& value) {
369 _impl_._has_bits_[0] |= 0x00000001u;
370 _impl_.name_.Set(value, GetArenaForAllocation());
371}
372inline std::string* ArithmeticModel::_internal_mutable_name() {
373 _impl_._has_bits_[0] |= 0x00000001u;
374 return _impl_.name_.Mutable(GetArenaForAllocation());
375}
376inline std::string* ArithmeticModel::release_name() {
377 // @@protoc_insertion_point(field_release:dccl.arith.protobuf.ArithmeticModel.name)
378 if (!_internal_has_name()) {
379 return nullptr;
380 }
381 _impl_._has_bits_[0] &= ~0x00000001u;
382 auto* p = _impl_.name_.Release();
383#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
384 if (_impl_.name_.IsDefault()) {
385 _impl_.name_.Set("", GetArenaForAllocation());
386 }
387#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
388 return p;
389}
390inline void ArithmeticModel::set_allocated_name(std::string* name) {
391 if (name != nullptr) {
392 _impl_._has_bits_[0] |= 0x00000001u;
393 } else {
394 _impl_._has_bits_[0] &= ~0x00000001u;
395 }
396 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
397#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
398 if (_impl_.name_.IsDefault()) {
399 _impl_.name_.Set("", GetArenaForAllocation());
400 }
401#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
402 // @@protoc_insertion_point(field_set_allocated:dccl.arith.protobuf.ArithmeticModel.name)
403}
404
405// repeated uint32 frequency = 10;
406inline int ArithmeticModel::_internal_frequency_size() const {
407 return _impl_.frequency_.size();
408}
409inline int ArithmeticModel::frequency_size() const {
410 return _internal_frequency_size();
411}
412inline void ArithmeticModel::clear_frequency() {
413 _impl_.frequency_.Clear();
414}
415inline uint32_t ArithmeticModel::_internal_frequency(int index) const {
416 return _impl_.frequency_.Get(index);
417}
418inline uint32_t ArithmeticModel::frequency(int index) const {
419 // @@protoc_insertion_point(field_get:dccl.arith.protobuf.ArithmeticModel.frequency)
420 return _internal_frequency(index);
421}
422inline void ArithmeticModel::set_frequency(int index, uint32_t value) {
423 _impl_.frequency_.Set(index, value);
424 // @@protoc_insertion_point(field_set:dccl.arith.protobuf.ArithmeticModel.frequency)
425}
426inline void ArithmeticModel::_internal_add_frequency(uint32_t value) {
427 _impl_.frequency_.Add(value);
428}
429inline void ArithmeticModel::add_frequency(uint32_t value) {
430 _internal_add_frequency(value);
431 // @@protoc_insertion_point(field_add:dccl.arith.protobuf.ArithmeticModel.frequency)
432}
433inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
434ArithmeticModel::_internal_frequency() const {
435 return _impl_.frequency_;
436}
437inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
438ArithmeticModel::frequency() const {
439 // @@protoc_insertion_point(field_list:dccl.arith.protobuf.ArithmeticModel.frequency)
440 return _internal_frequency();
441}
442inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
443ArithmeticModel::_internal_mutable_frequency() {
444 return &_impl_.frequency_;
445}
446inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
447ArithmeticModel::mutable_frequency() {
448 // @@protoc_insertion_point(field_mutable_list:dccl.arith.protobuf.ArithmeticModel.frequency)
449 return _internal_mutable_frequency();
450}
451
452// optional uint32 eof_frequency = 11 [default = 1];
453inline bool ArithmeticModel::_internal_has_eof_frequency() const {
454 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
455 return value;
456}
457inline bool ArithmeticModel::has_eof_frequency() const {
458 return _internal_has_eof_frequency();
459}
460inline void ArithmeticModel::clear_eof_frequency() {
461 _impl_.eof_frequency_ = 1u;
462 _impl_._has_bits_[0] &= ~0x00000008u;
463}
464inline uint32_t ArithmeticModel::_internal_eof_frequency() const {
465 return _impl_.eof_frequency_;
466}
467inline uint32_t ArithmeticModel::eof_frequency() const {
468 // @@protoc_insertion_point(field_get:dccl.arith.protobuf.ArithmeticModel.eof_frequency)
469 return _internal_eof_frequency();
470}
471inline void ArithmeticModel::_internal_set_eof_frequency(uint32_t value) {
472 _impl_._has_bits_[0] |= 0x00000008u;
473 _impl_.eof_frequency_ = value;
474}
475inline void ArithmeticModel::set_eof_frequency(uint32_t value) {
476 _internal_set_eof_frequency(value);
477 // @@protoc_insertion_point(field_set:dccl.arith.protobuf.ArithmeticModel.eof_frequency)
478}
479
480// optional uint32 out_of_range_frequency = 12 [default = 0];
481inline bool ArithmeticModel::_internal_has_out_of_range_frequency() const {
482 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
483 return value;
484}
485inline bool ArithmeticModel::has_out_of_range_frequency() const {
486 return _internal_has_out_of_range_frequency();
487}
488inline void ArithmeticModel::clear_out_of_range_frequency() {
489 _impl_.out_of_range_frequency_ = 0u;
490 _impl_._has_bits_[0] &= ~0x00000002u;
491}
492inline uint32_t ArithmeticModel::_internal_out_of_range_frequency() const {
493 return _impl_.out_of_range_frequency_;
494}
495inline uint32_t ArithmeticModel::out_of_range_frequency() const {
496 // @@protoc_insertion_point(field_get:dccl.arith.protobuf.ArithmeticModel.out_of_range_frequency)
497 return _internal_out_of_range_frequency();
498}
499inline void ArithmeticModel::_internal_set_out_of_range_frequency(uint32_t value) {
500 _impl_._has_bits_[0] |= 0x00000002u;
501 _impl_.out_of_range_frequency_ = value;
502}
503inline void ArithmeticModel::set_out_of_range_frequency(uint32_t value) {
504 _internal_set_out_of_range_frequency(value);
505 // @@protoc_insertion_point(field_set:dccl.arith.protobuf.ArithmeticModel.out_of_range_frequency)
506}
507
508// repeated double value_bound = 20;
509inline int ArithmeticModel::_internal_value_bound_size() const {
510 return _impl_.value_bound_.size();
511}
512inline int ArithmeticModel::value_bound_size() const {
513 return _internal_value_bound_size();
514}
515inline void ArithmeticModel::clear_value_bound() {
516 _impl_.value_bound_.Clear();
517}
518inline double ArithmeticModel::_internal_value_bound(int index) const {
519 return _impl_.value_bound_.Get(index);
520}
521inline double ArithmeticModel::value_bound(int index) const {
522 // @@protoc_insertion_point(field_get:dccl.arith.protobuf.ArithmeticModel.value_bound)
523 return _internal_value_bound(index);
524}
525inline void ArithmeticModel::set_value_bound(int index, double value) {
526 _impl_.value_bound_.Set(index, value);
527 // @@protoc_insertion_point(field_set:dccl.arith.protobuf.ArithmeticModel.value_bound)
528}
529inline void ArithmeticModel::_internal_add_value_bound(double value) {
530 _impl_.value_bound_.Add(value);
531}
532inline void ArithmeticModel::add_value_bound(double value) {
533 _internal_add_value_bound(value);
534 // @@protoc_insertion_point(field_add:dccl.arith.protobuf.ArithmeticModel.value_bound)
535}
536inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
537ArithmeticModel::_internal_value_bound() const {
538 return _impl_.value_bound_;
539}
540inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
541ArithmeticModel::value_bound() const {
542 // @@protoc_insertion_point(field_list:dccl.arith.protobuf.ArithmeticModel.value_bound)
543 return _internal_value_bound();
544}
545inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
546ArithmeticModel::_internal_mutable_value_bound() {
547 return &_impl_.value_bound_;
548}
549inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
550ArithmeticModel::mutable_value_bound() {
551 // @@protoc_insertion_point(field_mutable_list:dccl.arith.protobuf.ArithmeticModel.value_bound)
552 return _internal_mutable_value_bound();
553}
554
555// optional bool is_adaptive = 30 [default = false];
556inline bool ArithmeticModel::_internal_has_is_adaptive() const {
557 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
558 return value;
559}
560inline bool ArithmeticModel::has_is_adaptive() const {
561 return _internal_has_is_adaptive();
562}
563inline void ArithmeticModel::clear_is_adaptive() {
564 _impl_.is_adaptive_ = false;
565 _impl_._has_bits_[0] &= ~0x00000004u;
566}
567inline bool ArithmeticModel::_internal_is_adaptive() const {
568 return _impl_.is_adaptive_;
569}
570inline bool ArithmeticModel::is_adaptive() const {
571 // @@protoc_insertion_point(field_get:dccl.arith.protobuf.ArithmeticModel.is_adaptive)
572 return _internal_is_adaptive();
573}
574inline void ArithmeticModel::_internal_set_is_adaptive(bool value) {
575 _impl_._has_bits_[0] |= 0x00000004u;
576 _impl_.is_adaptive_ = value;
577}
578inline void ArithmeticModel::set_is_adaptive(bool value) {
579 _internal_set_is_adaptive(value);
580 // @@protoc_insertion_point(field_set:dccl.arith.protobuf.ArithmeticModel.is_adaptive)
581}
582
583#ifdef __GNUC__
584 #pragma GCC diagnostic pop
585#endif // __GNUC__
586
587// @@protoc_insertion_point(namespace_scope)
588
589} // namespace protobuf
590} // namespace arith
591} // namespace dccl
592
593// @@protoc_insertion_point(global_scope)
594
595#include <google/protobuf/port_undef.inc>
596#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_dccl_2farithmetic_2fprotobuf_2farithmetic_2eproto
Dynamic Compact Control Language namespace.
Definition any.h:47