Goby v2
test.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/test/acomms/dccl10/test.proto
3 
4 #ifndef PROTOBUF_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto__INCLUDED
5 #define PROTOBUF_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
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 2006001 < GOOGLE_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/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/generated_enum_reflection.h>
27 #include <google/protobuf/unknown_field_set.h>
28 #include "dccl/option_extensions.pb.h"
29 #include "dccl/arithmetic/protobuf/arithmetic_extensions.pb.h"
30 #include <boost/units/quantity.hpp>
31 #include <boost/units/absolute.hpp>
32 #include <boost/units/dimensionless_type.hpp>
33 #include <boost/units/make_scaled_unit.hpp>
34 // @@protoc_insertion_point(includes)
35 
36 // Internal implementation detail -- do not call these.
37 void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
38 void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
39 void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
40 
47 
48 enum Enum1 {
49  ENUM_A = 1,
50  ENUM_B = 2,
51  ENUM_C = 3
52 };
53 bool Enum1_IsValid(int value);
54 const Enum1 Enum1_MIN = ENUM_A;
55 const Enum1 Enum1_MAX = ENUM_C;
56 const int Enum1_ARRAYSIZE = Enum1_MAX + 1;
57 
58 const ::google::protobuf::EnumDescriptor* Enum1_descriptor();
59 inline const ::std::string& Enum1_Name(Enum1 value) {
60  return ::google::protobuf::internal::NameOfEnum(
61  Enum1_descriptor(), value);
62 }
63 inline bool Enum1_Parse(
64  const ::std::string& name, Enum1* value) {
65  return ::google::protobuf::internal::ParseNamedEnum<Enum1>(
66  Enum1_descriptor(), name, value);
67 }
68 enum Enum2 {
69  ENUM2_A = 1,
70  ENUM2_B = 2,
71  ENUM2_C = 3,
72  ENUM2_D = 4,
73  ENUM2_E = 5
74 };
75 bool Enum2_IsValid(int value);
76 const Enum2 Enum2_MIN = ENUM2_A;
77 const Enum2 Enum2_MAX = ENUM2_E;
78 const int Enum2_ARRAYSIZE = Enum2_MAX + 1;
79 
80 const ::google::protobuf::EnumDescriptor* Enum2_descriptor();
81 inline const ::std::string& Enum2_Name(Enum2 value) {
82  return ::google::protobuf::internal::NameOfEnum(
83  Enum2_descriptor(), value);
84 }
85 inline bool Enum2_Parse(
86  const ::std::string& name, Enum2* value) {
87  return ::google::protobuf::internal::ParseNamedEnum<Enum2>(
88  Enum2_descriptor(), name, value);
89 }
90 // ===================================================================
91 
92 class ArithmeticDoubleTestMsg : public ::google::protobuf::Message {
93  public:
95  virtual ~ArithmeticDoubleTestMsg();
96 
98 
99  inline ArithmeticDoubleTestMsg& operator=(const ArithmeticDoubleTestMsg& from) {
100  CopyFrom(from);
101  return *this;
102  }
103 
104  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
105  return _unknown_fields_;
106  }
107 
108  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
109  return &_unknown_fields_;
110  }
111 
112  static const ::google::protobuf::Descriptor* descriptor();
113  static const ArithmeticDoubleTestMsg& default_instance();
114 
115  void Swap(ArithmeticDoubleTestMsg* other);
116 
117  // implements Message ----------------------------------------------
118 
119  ArithmeticDoubleTestMsg* New() const;
120  void CopyFrom(const ::google::protobuf::Message& from);
121  void MergeFrom(const ::google::protobuf::Message& from);
122  void CopyFrom(const ArithmeticDoubleTestMsg& from);
123  void MergeFrom(const ArithmeticDoubleTestMsg& from);
124  void Clear();
125  bool IsInitialized() const;
126 
127  int ByteSize() const;
128  bool MergePartialFromCodedStream(
129  ::google::protobuf::io::CodedInputStream* input);
130  void SerializeWithCachedSizes(
131  ::google::protobuf::io::CodedOutputStream* output) const;
132  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
133  int GetCachedSize() const { return _cached_size_; }
134  private:
135  void SharedCtor();
136  void SharedDtor();
137  void SetCachedSize(int size) const;
138  public:
139  ::google::protobuf::Metadata GetMetadata() const;
140 
141  // nested types ----------------------------------------------------
142 
143  // accessors -------------------------------------------------------
144 
145  // repeated double value = 101;
146  inline int value_size() const;
147  inline void clear_value();
148  static const int kValueFieldNumber = 101;
149  inline double value(int index) const;
150  inline void set_value(int index, double value);
151  inline void add_value(double value);
152  inline const ::google::protobuf::RepeatedField< double >&
153  value() const;
154  inline ::google::protobuf::RepeatedField< double >*
155  mutable_value();
156 
157  enum DCCLParameters { DCCL_ID = 1, DCCL_MAX_BYTES = 512 };
158  // @@protoc_insertion_point(class_scope:ArithmeticDoubleTestMsg)
159  private:
160 
161  ::google::protobuf::UnknownFieldSet _unknown_fields_;
162 
163  ::google::protobuf::uint32 _has_bits_[1];
164  mutable int _cached_size_;
165  ::google::protobuf::RepeatedField< double > value_;
166  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
167  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
168  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
169 
170  void InitAsDefaultInstance();
171  static ArithmeticDoubleTestMsg* default_instance_;
172 };
173 // -------------------------------------------------------------------
174 
175 class ArithmeticEnumTestMsg : public ::google::protobuf::Message {
176  public:
178  virtual ~ArithmeticEnumTestMsg();
179 
181 
182  inline ArithmeticEnumTestMsg& operator=(const ArithmeticEnumTestMsg& from) {
183  CopyFrom(from);
184  return *this;
185  }
186 
187  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
188  return _unknown_fields_;
189  }
190 
191  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
192  return &_unknown_fields_;
193  }
194 
195  static const ::google::protobuf::Descriptor* descriptor();
196  static const ArithmeticEnumTestMsg& default_instance();
197 
198  void Swap(ArithmeticEnumTestMsg* other);
199 
200  // implements Message ----------------------------------------------
201 
202  ArithmeticEnumTestMsg* New() const;
203  void CopyFrom(const ::google::protobuf::Message& from);
204  void MergeFrom(const ::google::protobuf::Message& from);
205  void CopyFrom(const ArithmeticEnumTestMsg& from);
206  void MergeFrom(const ArithmeticEnumTestMsg& from);
207  void Clear();
208  bool IsInitialized() const;
209 
210  int ByteSize() const;
211  bool MergePartialFromCodedStream(
212  ::google::protobuf::io::CodedInputStream* input);
213  void SerializeWithCachedSizes(
214  ::google::protobuf::io::CodedOutputStream* output) const;
215  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
216  int GetCachedSize() const { return _cached_size_; }
217  private:
218  void SharedCtor();
219  void SharedDtor();
220  void SetCachedSize(int size) const;
221  public:
222  ::google::protobuf::Metadata GetMetadata() const;
223 
224  // nested types ----------------------------------------------------
225 
226  // accessors -------------------------------------------------------
227 
228  // repeated .Enum1 value = 114;
229  inline int value_size() const;
230  inline void clear_value();
231  static const int kValueFieldNumber = 114;
232  inline ::Enum1 value(int index) const;
233  inline void set_value(int index, ::Enum1 value);
234  inline void add_value(::Enum1 value);
235  inline const ::google::protobuf::RepeatedField<int>& value() const;
236  inline ::google::protobuf::RepeatedField<int>* mutable_value();
237 
238  enum DCCLParameters { DCCL_ID = 2, DCCL_MAX_BYTES = 512 };
239  // @@protoc_insertion_point(class_scope:ArithmeticEnumTestMsg)
240  private:
241 
242  ::google::protobuf::UnknownFieldSet _unknown_fields_;
243 
244  ::google::protobuf::uint32 _has_bits_[1];
245  mutable int _cached_size_;
246  ::google::protobuf::RepeatedField<int> value_;
247  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
248  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
249  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
250 
251  void InitAsDefaultInstance();
252  static ArithmeticEnumTestMsg* default_instance_;
253 };
254 // -------------------------------------------------------------------
255 
256 class ArithmeticSingleEnumTestMsg : public ::google::protobuf::Message {
257  public:
259  virtual ~ArithmeticSingleEnumTestMsg();
260 
262 
263  inline ArithmeticSingleEnumTestMsg& operator=(const ArithmeticSingleEnumTestMsg& from) {
264  CopyFrom(from);
265  return *this;
266  }
267 
268  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
269  return _unknown_fields_;
270  }
271 
272  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
273  return &_unknown_fields_;
274  }
275 
276  static const ::google::protobuf::Descriptor* descriptor();
277  static const ArithmeticSingleEnumTestMsg& default_instance();
278 
279  void Swap(ArithmeticSingleEnumTestMsg* other);
280 
281  // implements Message ----------------------------------------------
282 
283  ArithmeticSingleEnumTestMsg* New() const;
284  void CopyFrom(const ::google::protobuf::Message& from);
285  void MergeFrom(const ::google::protobuf::Message& from);
286  void CopyFrom(const ArithmeticSingleEnumTestMsg& from);
287  void MergeFrom(const ArithmeticSingleEnumTestMsg& from);
288  void Clear();
289  bool IsInitialized() const;
290 
291  int ByteSize() const;
292  bool MergePartialFromCodedStream(
293  ::google::protobuf::io::CodedInputStream* input);
294  void SerializeWithCachedSizes(
295  ::google::protobuf::io::CodedOutputStream* output) const;
296  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
297  int GetCachedSize() const { return _cached_size_; }
298  private:
299  void SharedCtor();
300  void SharedDtor();
301  void SetCachedSize(int size) const;
302  public:
303  ::google::protobuf::Metadata GetMetadata() const;
304 
305  // nested types ----------------------------------------------------
306 
307  // accessors -------------------------------------------------------
308 
309  // required .Enum1 value = 114;
310  inline bool has_value() const;
311  inline void clear_value();
312  static const int kValueFieldNumber = 114;
313  inline ::Enum1 value() const;
314  inline void set_value(::Enum1 value);
315 
316  enum DCCLParameters { DCCL_ID = 3, DCCL_MAX_BYTES = 512 };
317  // @@protoc_insertion_point(class_scope:ArithmeticSingleEnumTestMsg)
318  private:
319  inline void set_has_value();
320  inline void clear_has_value();
321 
322  ::google::protobuf::UnknownFieldSet _unknown_fields_;
323 
324  ::google::protobuf::uint32 _has_bits_[1];
325  mutable int _cached_size_;
326  int value_;
327  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
328  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
329  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
330 
331  void InitAsDefaultInstance();
332  static ArithmeticSingleEnumTestMsg* default_instance_;
333 };
334 // -------------------------------------------------------------------
335 
336 class ArithmeticEnum2TestMsg : public ::google::protobuf::Message {
337  public:
339  virtual ~ArithmeticEnum2TestMsg();
340 
342 
343  inline ArithmeticEnum2TestMsg& operator=(const ArithmeticEnum2TestMsg& from) {
344  CopyFrom(from);
345  return *this;
346  }
347 
348  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
349  return _unknown_fields_;
350  }
351 
352  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
353  return &_unknown_fields_;
354  }
355 
356  static const ::google::protobuf::Descriptor* descriptor();
357  static const ArithmeticEnum2TestMsg& default_instance();
358 
359  void Swap(ArithmeticEnum2TestMsg* other);
360 
361  // implements Message ----------------------------------------------
362 
363  ArithmeticEnum2TestMsg* New() const;
364  void CopyFrom(const ::google::protobuf::Message& from);
365  void MergeFrom(const ::google::protobuf::Message& from);
366  void CopyFrom(const ArithmeticEnum2TestMsg& from);
367  void MergeFrom(const ArithmeticEnum2TestMsg& from);
368  void Clear();
369  bool IsInitialized() const;
370 
371  int ByteSize() const;
372  bool MergePartialFromCodedStream(
373  ::google::protobuf::io::CodedInputStream* input);
374  void SerializeWithCachedSizes(
375  ::google::protobuf::io::CodedOutputStream* output) const;
376  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
377  int GetCachedSize() const { return _cached_size_; }
378  private:
379  void SharedCtor();
380  void SharedDtor();
381  void SetCachedSize(int size) const;
382  public:
383  ::google::protobuf::Metadata GetMetadata() const;
384 
385  // nested types ----------------------------------------------------
386 
387  // accessors -------------------------------------------------------
388 
389  // repeated .Enum2 value = 114;
390  inline int value_size() const;
391  inline void clear_value();
392  static const int kValueFieldNumber = 114;
393  inline ::Enum2 value(int index) const;
394  inline void set_value(int index, ::Enum2 value);
395  inline void add_value(::Enum2 value);
396  inline const ::google::protobuf::RepeatedField<int>& value() const;
397  inline ::google::protobuf::RepeatedField<int>* mutable_value();
398 
399  enum DCCLParameters { DCCL_ID = 4, DCCL_MAX_BYTES = 512 };
400  // @@protoc_insertion_point(class_scope:ArithmeticEnum2TestMsg)
401  private:
402 
403  ::google::protobuf::UnknownFieldSet _unknown_fields_;
404 
405  ::google::protobuf::uint32 _has_bits_[1];
406  mutable int _cached_size_;
407  ::google::protobuf::RepeatedField<int> value_;
408  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
409  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
410  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
411 
412  void InitAsDefaultInstance();
413  static ArithmeticEnum2TestMsg* default_instance_;
414 };
415 // -------------------------------------------------------------------
416 
417 class ArithmeticDouble2TestMsg : public ::google::protobuf::Message {
418  public:
420  virtual ~ArithmeticDouble2TestMsg();
421 
423 
424  inline ArithmeticDouble2TestMsg& operator=(const ArithmeticDouble2TestMsg& from) {
425  CopyFrom(from);
426  return *this;
427  }
428 
429  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
430  return _unknown_fields_;
431  }
432 
433  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
434  return &_unknown_fields_;
435  }
436 
437  static const ::google::protobuf::Descriptor* descriptor();
438  static const ArithmeticDouble2TestMsg& default_instance();
439 
440  void Swap(ArithmeticDouble2TestMsg* other);
441 
442  // implements Message ----------------------------------------------
443 
444  ArithmeticDouble2TestMsg* New() const;
445  void CopyFrom(const ::google::protobuf::Message& from);
446  void MergeFrom(const ::google::protobuf::Message& from);
447  void CopyFrom(const ArithmeticDouble2TestMsg& from);
448  void MergeFrom(const ArithmeticDouble2TestMsg& from);
449  void Clear();
450  bool IsInitialized() const;
451 
452  int ByteSize() const;
453  bool MergePartialFromCodedStream(
454  ::google::protobuf::io::CodedInputStream* input);
455  void SerializeWithCachedSizes(
456  ::google::protobuf::io::CodedOutputStream* output) const;
457  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
458  int GetCachedSize() const { return _cached_size_; }
459  private:
460  void SharedCtor();
461  void SharedDtor();
462  void SetCachedSize(int size) const;
463  public:
464  ::google::protobuf::Metadata GetMetadata() const;
465 
466  // nested types ----------------------------------------------------
467 
468  // accessors -------------------------------------------------------
469 
470  // repeated int32 value = 101;
471  inline int value_size() const;
472  inline void clear_value();
473  static const int kValueFieldNumber = 101;
474  inline ::google::protobuf::int32 value(int index) const;
475  inline void set_value(int index, ::google::protobuf::int32 value);
476  inline void add_value(::google::protobuf::int32 value);
477  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
478  value() const;
479  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
480  mutable_value();
481 
482  enum DCCLParameters { DCCL_ID = 5, DCCL_MAX_BYTES = 10000 };
483  // @@protoc_insertion_point(class_scope:ArithmeticDouble2TestMsg)
484  private:
485 
486  ::google::protobuf::UnknownFieldSet _unknown_fields_;
487 
488  ::google::protobuf::uint32 _has_bits_[1];
489  mutable int _cached_size_;
490  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > value_;
491  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
492  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
493  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
494 
495  void InitAsDefaultInstance();
496  static ArithmeticDouble2TestMsg* default_instance_;
497 };
498 // -------------------------------------------------------------------
499 
500 class ArithmeticDouble3TestMsg : public ::google::protobuf::Message {
501  public:
503  virtual ~ArithmeticDouble3TestMsg();
504 
506 
507  inline ArithmeticDouble3TestMsg& operator=(const ArithmeticDouble3TestMsg& from) {
508  CopyFrom(from);
509  return *this;
510  }
511 
512  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
513  return _unknown_fields_;
514  }
515 
516  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
517  return &_unknown_fields_;
518  }
519 
520  static const ::google::protobuf::Descriptor* descriptor();
521  static const ArithmeticDouble3TestMsg& default_instance();
522 
523  void Swap(ArithmeticDouble3TestMsg* other);
524 
525  // implements Message ----------------------------------------------
526 
527  ArithmeticDouble3TestMsg* New() const;
528  void CopyFrom(const ::google::protobuf::Message& from);
529  void MergeFrom(const ::google::protobuf::Message& from);
530  void CopyFrom(const ArithmeticDouble3TestMsg& from);
531  void MergeFrom(const ArithmeticDouble3TestMsg& from);
532  void Clear();
533  bool IsInitialized() const;
534 
535  int ByteSize() const;
536  bool MergePartialFromCodedStream(
537  ::google::protobuf::io::CodedInputStream* input);
538  void SerializeWithCachedSizes(
539  ::google::protobuf::io::CodedOutputStream* output) const;
540  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
541  int GetCachedSize() const { return _cached_size_; }
542  private:
543  void SharedCtor();
544  void SharedDtor();
545  void SetCachedSize(int size) const;
546  public:
547  ::google::protobuf::Metadata GetMetadata() const;
548 
549  // nested types ----------------------------------------------------
550 
551  // accessors -------------------------------------------------------
552 
553  // repeated int32 value = 101;
554  inline int value_size() const;
555  inline void clear_value();
556  static const int kValueFieldNumber = 101;
557  inline ::google::protobuf::int32 value(int index) const;
558  inline void set_value(int index, ::google::protobuf::int32 value);
559  inline void add_value(::google::protobuf::int32 value);
560  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
561  value() const;
562  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
563  mutable_value();
564 
565  enum DCCLParameters { DCCL_ID = 6, DCCL_MAX_BYTES = 10000 };
566  // @@protoc_insertion_point(class_scope:ArithmeticDouble3TestMsg)
567  private:
568 
569  ::google::protobuf::UnknownFieldSet _unknown_fields_;
570 
571  ::google::protobuf::uint32 _has_bits_[1];
572  mutable int _cached_size_;
573  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > value_;
574  friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
575  friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
576  friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto();
577 
578  void InitAsDefaultInstance();
579  static ArithmeticDouble3TestMsg* default_instance_;
580 };
581 // ===================================================================
582 
583 
584 // ===================================================================
585 
586 // ArithmeticDoubleTestMsg
587 
588 // repeated double value = 101;
589 inline int ArithmeticDoubleTestMsg::value_size() const {
590  return value_.size();
591 }
592 inline void ArithmeticDoubleTestMsg::clear_value() {
593  value_.Clear();
594 }
595 inline double ArithmeticDoubleTestMsg::value(int index) const {
596  // @@protoc_insertion_point(field_get:ArithmeticDoubleTestMsg.value)
597  return value_.Get(index);
598 }
599 inline void ArithmeticDoubleTestMsg::set_value(int index, double value) {
600  value_.Set(index, value);
601  // @@protoc_insertion_point(field_set:ArithmeticDoubleTestMsg.value)
602 }
603 inline void ArithmeticDoubleTestMsg::add_value(double value) {
604  value_.Add(value);
605  // @@protoc_insertion_point(field_add:ArithmeticDoubleTestMsg.value)
606 }
607 inline const ::google::protobuf::RepeatedField< double >&
608 ArithmeticDoubleTestMsg::value() const {
609  // @@protoc_insertion_point(field_list:ArithmeticDoubleTestMsg.value)
610  return value_;
611 }
612 inline ::google::protobuf::RepeatedField< double >*
613 ArithmeticDoubleTestMsg::mutable_value() {
614  // @@protoc_insertion_point(field_mutable_list:ArithmeticDoubleTestMsg.value)
615  return &value_;
616 }
617 
618 // -------------------------------------------------------------------
619 
620 // ArithmeticEnumTestMsg
621 
622 // repeated .Enum1 value = 114;
623 inline int ArithmeticEnumTestMsg::value_size() const {
624  return value_.size();
625 }
626 inline void ArithmeticEnumTestMsg::clear_value() {
627  value_.Clear();
628 }
629 inline ::Enum1 ArithmeticEnumTestMsg::value(int index) const {
630  // @@protoc_insertion_point(field_get:ArithmeticEnumTestMsg.value)
631  return static_cast< ::Enum1 >(value_.Get(index));
632 }
633 inline void ArithmeticEnumTestMsg::set_value(int index, ::Enum1 value) {
634  assert(::Enum1_IsValid(value));
635  value_.Set(index, value);
636  // @@protoc_insertion_point(field_set:ArithmeticEnumTestMsg.value)
637 }
638 inline void ArithmeticEnumTestMsg::add_value(::Enum1 value) {
639  assert(::Enum1_IsValid(value));
640  value_.Add(value);
641  // @@protoc_insertion_point(field_add:ArithmeticEnumTestMsg.value)
642 }
643 inline const ::google::protobuf::RepeatedField<int>&
644 ArithmeticEnumTestMsg::value() const {
645  // @@protoc_insertion_point(field_list:ArithmeticEnumTestMsg.value)
646  return value_;
647 }
648 inline ::google::protobuf::RepeatedField<int>*
649 ArithmeticEnumTestMsg::mutable_value() {
650  // @@protoc_insertion_point(field_mutable_list:ArithmeticEnumTestMsg.value)
651  return &value_;
652 }
653 
654 // -------------------------------------------------------------------
655 
656 // ArithmeticSingleEnumTestMsg
657 
658 // required .Enum1 value = 114;
659 inline bool ArithmeticSingleEnumTestMsg::has_value() const {
660  return (_has_bits_[0] & 0x00000001u) != 0;
661 }
662 inline void ArithmeticSingleEnumTestMsg::set_has_value() {
663  _has_bits_[0] |= 0x00000001u;
664 }
665 inline void ArithmeticSingleEnumTestMsg::clear_has_value() {
666  _has_bits_[0] &= ~0x00000001u;
667 }
668 inline void ArithmeticSingleEnumTestMsg::clear_value() {
669  value_ = 1;
670  clear_has_value();
671 }
672 inline ::Enum1 ArithmeticSingleEnumTestMsg::value() const {
673  // @@protoc_insertion_point(field_get:ArithmeticSingleEnumTestMsg.value)
674  return static_cast< ::Enum1 >(value_);
675 }
676 inline void ArithmeticSingleEnumTestMsg::set_value(::Enum1 value) {
677  assert(::Enum1_IsValid(value));
678  set_has_value();
679  value_ = value;
680  // @@protoc_insertion_point(field_set:ArithmeticSingleEnumTestMsg.value)
681 }
682 
683 // -------------------------------------------------------------------
684 
685 // ArithmeticEnum2TestMsg
686 
687 // repeated .Enum2 value = 114;
688 inline int ArithmeticEnum2TestMsg::value_size() const {
689  return value_.size();
690 }
691 inline void ArithmeticEnum2TestMsg::clear_value() {
692  value_.Clear();
693 }
694 inline ::Enum2 ArithmeticEnum2TestMsg::value(int index) const {
695  // @@protoc_insertion_point(field_get:ArithmeticEnum2TestMsg.value)
696  return static_cast< ::Enum2 >(value_.Get(index));
697 }
698 inline void ArithmeticEnum2TestMsg::set_value(int index, ::Enum2 value) {
699  assert(::Enum2_IsValid(value));
700  value_.Set(index, value);
701  // @@protoc_insertion_point(field_set:ArithmeticEnum2TestMsg.value)
702 }
703 inline void ArithmeticEnum2TestMsg::add_value(::Enum2 value) {
704  assert(::Enum2_IsValid(value));
705  value_.Add(value);
706  // @@protoc_insertion_point(field_add:ArithmeticEnum2TestMsg.value)
707 }
708 inline const ::google::protobuf::RepeatedField<int>&
709 ArithmeticEnum2TestMsg::value() const {
710  // @@protoc_insertion_point(field_list:ArithmeticEnum2TestMsg.value)
711  return value_;
712 }
713 inline ::google::protobuf::RepeatedField<int>*
714 ArithmeticEnum2TestMsg::mutable_value() {
715  // @@protoc_insertion_point(field_mutable_list:ArithmeticEnum2TestMsg.value)
716  return &value_;
717 }
718 
719 // -------------------------------------------------------------------
720 
721 // ArithmeticDouble2TestMsg
722 
723 // repeated int32 value = 101;
724 inline int ArithmeticDouble2TestMsg::value_size() const {
725  return value_.size();
726 }
727 inline void ArithmeticDouble2TestMsg::clear_value() {
728  value_.Clear();
729 }
730 inline ::google::protobuf::int32 ArithmeticDouble2TestMsg::value(int index) const {
731  // @@protoc_insertion_point(field_get:ArithmeticDouble2TestMsg.value)
732  return value_.Get(index);
733 }
734 inline void ArithmeticDouble2TestMsg::set_value(int index, ::google::protobuf::int32 value) {
735  value_.Set(index, value);
736  // @@protoc_insertion_point(field_set:ArithmeticDouble2TestMsg.value)
737 }
738 inline void ArithmeticDouble2TestMsg::add_value(::google::protobuf::int32 value) {
739  value_.Add(value);
740  // @@protoc_insertion_point(field_add:ArithmeticDouble2TestMsg.value)
741 }
742 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
743 ArithmeticDouble2TestMsg::value() const {
744  // @@protoc_insertion_point(field_list:ArithmeticDouble2TestMsg.value)
745  return value_;
746 }
747 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
748 ArithmeticDouble2TestMsg::mutable_value() {
749  // @@protoc_insertion_point(field_mutable_list:ArithmeticDouble2TestMsg.value)
750  return &value_;
751 }
752 
753 // -------------------------------------------------------------------
754 
755 // ArithmeticDouble3TestMsg
756 
757 // repeated int32 value = 101;
758 inline int ArithmeticDouble3TestMsg::value_size() const {
759  return value_.size();
760 }
761 inline void ArithmeticDouble3TestMsg::clear_value() {
762  value_.Clear();
763 }
764 inline ::google::protobuf::int32 ArithmeticDouble3TestMsg::value(int index) const {
765  // @@protoc_insertion_point(field_get:ArithmeticDouble3TestMsg.value)
766  return value_.Get(index);
767 }
768 inline void ArithmeticDouble3TestMsg::set_value(int index, ::google::protobuf::int32 value) {
769  value_.Set(index, value);
770  // @@protoc_insertion_point(field_set:ArithmeticDouble3TestMsg.value)
771 }
772 inline void ArithmeticDouble3TestMsg::add_value(::google::protobuf::int32 value) {
773  value_.Add(value);
774  // @@protoc_insertion_point(field_add:ArithmeticDouble3TestMsg.value)
775 }
776 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
777 ArithmeticDouble3TestMsg::value() const {
778  // @@protoc_insertion_point(field_list:ArithmeticDouble3TestMsg.value)
779  return value_;
780 }
781 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
782 ArithmeticDouble3TestMsg::mutable_value() {
783  // @@protoc_insertion_point(field_mutable_list:ArithmeticDouble3TestMsg.value)
784  return &value_;
785 }
786 
787 
788 // @@protoc_insertion_point(namespace_scope)
789 
790 #ifndef SWIG
791 namespace google {
792 namespace protobuf {
793 
794 template <> struct is_proto_enum< ::Enum1> : ::google::protobuf::internal::true_type {};
795 template <>
796 inline const EnumDescriptor* GetEnumDescriptor< ::Enum1>() {
797  return ::Enum1_descriptor();
798 }
799 template <> struct is_proto_enum< ::Enum2> : ::google::protobuf::internal::true_type {};
800 template <>
801 inline const EnumDescriptor* GetEnumDescriptor< ::Enum2>() {
802  return ::Enum2_descriptor();
803 }
804 
805 } // namespace google
806 } // namespace protobuf
807 #endif // SWIG
808 
809 // @@protoc_insertion_point(global_scope)
810 
811 #endif // PROTOBUF_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto__INCLUDED