Goby v2
test2.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/test/common/hdf5/test2.proto
3 
4 #ifndef PROTOBUF_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto__INCLUDED
5 #define PROTOBUF_goby_2ftest_2fcommon_2fhdf5_2ftest2_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/unknown_field_set.h>
27 #include <boost/units/quantity.hpp>
28 #include <boost/units/absolute.hpp>
29 #include <boost/units/dimensionless_type.hpp>
30 #include <boost/units/make_scaled_unit.hpp>
31 // @@protoc_insertion_point(includes)
32 
33 // Internal implementation detail -- do not call these.
34 void protobuf_AddDesc_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
35 void protobuf_AssignDesc_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
36 void protobuf_ShutdownFile_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
37 
38 class TestHDF5Message;
39 class B;
40 class F;
41 
42 // ===================================================================
43 
44 class TestHDF5Message : public ::google::protobuf::Message {
45  public:
47  virtual ~TestHDF5Message();
48 
49  TestHDF5Message(const TestHDF5Message& from);
50 
51  inline TestHDF5Message& operator=(const TestHDF5Message& from) {
52  CopyFrom(from);
53  return *this;
54  }
55 
56  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
57  return _unknown_fields_;
58  }
59 
60  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
61  return &_unknown_fields_;
62  }
63 
64  static const ::google::protobuf::Descriptor* descriptor();
65  static const TestHDF5Message& default_instance();
66 
67  void Swap(TestHDF5Message* other);
68 
69  // implements Message ----------------------------------------------
70 
71  TestHDF5Message* New() const;
72  void CopyFrom(const ::google::protobuf::Message& from);
73  void MergeFrom(const ::google::protobuf::Message& from);
74  void CopyFrom(const TestHDF5Message& from);
75  void MergeFrom(const TestHDF5Message& from);
76  void Clear();
77  bool IsInitialized() const;
78 
79  int ByteSize() const;
80  bool MergePartialFromCodedStream(
81  ::google::protobuf::io::CodedInputStream* input);
82  void SerializeWithCachedSizes(
83  ::google::protobuf::io::CodedOutputStream* output) const;
84  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
85  int GetCachedSize() const { return _cached_size_; }
86  private:
87  void SharedCtor();
88  void SharedDtor();
89  void SetCachedSize(int size) const;
90  public:
91  ::google::protobuf::Metadata GetMetadata() const;
92 
93  // nested types ----------------------------------------------------
94 
95  // accessors -------------------------------------------------------
96 
97  // repeated double a = 1;
98  inline int a_size() const;
99  inline void clear_a();
100  static const int kAFieldNumber = 1;
101  inline double a(int index) const;
102  inline void set_a(int index, double value);
103  inline void add_a(double value);
104  inline const ::google::protobuf::RepeatedField< double >&
105  a() const;
106  inline ::google::protobuf::RepeatedField< double >*
107  mutable_a();
108 
109  // repeated .B b = 2;
110  inline int b_size() const;
111  inline void clear_b();
112  static const int kBFieldNumber = 2;
113  inline const ::B& b(int index) const;
114  inline ::B* mutable_b(int index);
115  inline ::B* add_b();
116  inline const ::google::protobuf::RepeatedPtrField< ::B >&
117  b() const;
118  inline ::google::protobuf::RepeatedPtrField< ::B >*
119  mutable_b();
120 
121  // @@protoc_insertion_point(class_scope:TestHDF5Message)
122  private:
123 
124  ::google::protobuf::UnknownFieldSet _unknown_fields_;
125 
126  ::google::protobuf::uint32 _has_bits_[1];
127  mutable int _cached_size_;
128  ::google::protobuf::RepeatedField< double > a_;
129  ::google::protobuf::RepeatedPtrField< ::B > b_;
130  friend void protobuf_AddDesc_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
131  friend void protobuf_AssignDesc_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
132  friend void protobuf_ShutdownFile_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
133 
134  void InitAsDefaultInstance();
135  static TestHDF5Message* default_instance_;
136 };
137 // -------------------------------------------------------------------
138 
139 class B : public ::google::protobuf::Message {
140  public:
141  B();
142  virtual ~B();
143 
144  B(const B& from);
145 
146  inline B& operator=(const B& from) {
147  CopyFrom(from);
148  return *this;
149  }
150 
151  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
152  return _unknown_fields_;
153  }
154 
155  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
156  return &_unknown_fields_;
157  }
158 
159  static const ::google::protobuf::Descriptor* descriptor();
160  static const B& default_instance();
161 
162  void Swap(B* other);
163 
164  // implements Message ----------------------------------------------
165 
166  B* New() const;
167  void CopyFrom(const ::google::protobuf::Message& from);
168  void MergeFrom(const ::google::protobuf::Message& from);
169  void CopyFrom(const B& from);
170  void MergeFrom(const B& from);
171  void Clear();
172  bool IsInitialized() const;
173 
174  int ByteSize() const;
175  bool MergePartialFromCodedStream(
176  ::google::protobuf::io::CodedInputStream* input);
177  void SerializeWithCachedSizes(
178  ::google::protobuf::io::CodedOutputStream* output) const;
179  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
180  int GetCachedSize() const { return _cached_size_; }
181  private:
182  void SharedCtor();
183  void SharedDtor();
184  void SetCachedSize(int size) const;
185  public:
186  ::google::protobuf::Metadata GetMetadata() const;
187 
188  // nested types ----------------------------------------------------
189 
190  // accessors -------------------------------------------------------
191 
192  // repeated double c = 2;
193  inline int c_size() const;
194  inline void clear_c();
195  static const int kCFieldNumber = 2;
196  inline double c(int index) const;
197  inline void set_c(int index, double value);
198  inline void add_c(double value);
199  inline const ::google::protobuf::RepeatedField< double >&
200  c() const;
201  inline ::google::protobuf::RepeatedField< double >*
202  mutable_c();
203 
204  // repeated double d = 3;
205  inline int d_size() const;
206  inline void clear_d();
207  static const int kDFieldNumber = 3;
208  inline double d(int index) const;
209  inline void set_d(int index, double value);
210  inline void add_d(double value);
211  inline const ::google::protobuf::RepeatedField< double >&
212  d() const;
213  inline ::google::protobuf::RepeatedField< double >*
214  mutable_d();
215 
216  // repeated int32 e = 4;
217  inline int e_size() const;
218  inline void clear_e();
219  static const int kEFieldNumber = 4;
220  inline ::google::protobuf::int32 e(int index) const;
221  inline void set_e(int index, ::google::protobuf::int32 value);
222  inline void add_e(::google::protobuf::int32 value);
223  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
224  e() const;
225  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
226  mutable_e();
227 
228  // repeated .F f = 5;
229  inline int f_size() const;
230  inline void clear_f();
231  static const int kFFieldNumber = 5;
232  inline const ::F& f(int index) const;
233  inline ::F* mutable_f(int index);
234  inline ::F* add_f();
235  inline const ::google::protobuf::RepeatedPtrField< ::F >&
236  f() const;
237  inline ::google::protobuf::RepeatedPtrField< ::F >*
238  mutable_f();
239 
240  // @@protoc_insertion_point(class_scope:B)
241  private:
242 
243  ::google::protobuf::UnknownFieldSet _unknown_fields_;
244 
245  ::google::protobuf::uint32 _has_bits_[1];
246  mutable int _cached_size_;
247  ::google::protobuf::RepeatedField< double > c_;
248  ::google::protobuf::RepeatedField< double > d_;
249  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > e_;
250  ::google::protobuf::RepeatedPtrField< ::F > f_;
251  friend void protobuf_AddDesc_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
252  friend void protobuf_AssignDesc_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
253  friend void protobuf_ShutdownFile_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
254 
255  void InitAsDefaultInstance();
256  static B* default_instance_;
257 };
258 // -------------------------------------------------------------------
259 
260 class F : public ::google::protobuf::Message {
261  public:
262  F();
263  virtual ~F();
264 
265  F(const F& from);
266 
267  inline F& operator=(const F& from) {
268  CopyFrom(from);
269  return *this;
270  }
271 
272  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
273  return _unknown_fields_;
274  }
275 
276  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
277  return &_unknown_fields_;
278  }
279 
280  static const ::google::protobuf::Descriptor* descriptor();
281  static const F& default_instance();
282 
283  void Swap(F* other);
284 
285  // implements Message ----------------------------------------------
286 
287  F* New() const;
288  void CopyFrom(const ::google::protobuf::Message& from);
289  void MergeFrom(const ::google::protobuf::Message& from);
290  void CopyFrom(const F& from);
291  void MergeFrom(const F& from);
292  void Clear();
293  bool IsInitialized() const;
294 
295  int ByteSize() const;
296  bool MergePartialFromCodedStream(
297  ::google::protobuf::io::CodedInputStream* input);
298  void SerializeWithCachedSizes(
299  ::google::protobuf::io::CodedOutputStream* output) const;
300  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
301  int GetCachedSize() const { return _cached_size_; }
302  private:
303  void SharedCtor();
304  void SharedDtor();
305  void SetCachedSize(int size) const;
306  public:
307  ::google::protobuf::Metadata GetMetadata() const;
308 
309  // nested types ----------------------------------------------------
310 
311  // accessors -------------------------------------------------------
312 
313  // repeated double g = 1;
314  inline int g_size() const;
315  inline void clear_g();
316  static const int kGFieldNumber = 1;
317  inline double g(int index) const;
318  inline void set_g(int index, double value);
319  inline void add_g(double value);
320  inline const ::google::protobuf::RepeatedField< double >&
321  g() const;
322  inline ::google::protobuf::RepeatedField< double >*
323  mutable_g();
324 
325  // optional int32 h = 2;
326  inline bool has_h() const;
327  inline void clear_h();
328  static const int kHFieldNumber = 2;
329  inline ::google::protobuf::int32 h() const;
330  inline void set_h(::google::protobuf::int32 value);
331 
332  // @@protoc_insertion_point(class_scope:F)
333  private:
334  inline void set_has_h();
335  inline void clear_has_h();
336 
337  ::google::protobuf::UnknownFieldSet _unknown_fields_;
338 
339  ::google::protobuf::uint32 _has_bits_[1];
340  mutable int _cached_size_;
341  ::google::protobuf::RepeatedField< double > g_;
342  ::google::protobuf::int32 h_;
343  friend void protobuf_AddDesc_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
344  friend void protobuf_AssignDesc_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
345  friend void protobuf_ShutdownFile_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto();
346 
347  void InitAsDefaultInstance();
348  static F* default_instance_;
349 };
350 // ===================================================================
351 
352 
353 // ===================================================================
354 
355 // TestHDF5Message
356 
357 // repeated double a = 1;
358 inline int TestHDF5Message::a_size() const {
359  return a_.size();
360 }
361 inline void TestHDF5Message::clear_a() {
362  a_.Clear();
363 }
364 inline double TestHDF5Message::a(int index) const {
365  // @@protoc_insertion_point(field_get:TestHDF5Message.a)
366  return a_.Get(index);
367 }
368 inline void TestHDF5Message::set_a(int index, double value) {
369  a_.Set(index, value);
370  // @@protoc_insertion_point(field_set:TestHDF5Message.a)
371 }
372 inline void TestHDF5Message::add_a(double value) {
373  a_.Add(value);
374  // @@protoc_insertion_point(field_add:TestHDF5Message.a)
375 }
376 inline const ::google::protobuf::RepeatedField< double >&
377 TestHDF5Message::a() const {
378  // @@protoc_insertion_point(field_list:TestHDF5Message.a)
379  return a_;
380 }
381 inline ::google::protobuf::RepeatedField< double >*
382 TestHDF5Message::mutable_a() {
383  // @@protoc_insertion_point(field_mutable_list:TestHDF5Message.a)
384  return &a_;
385 }
386 
387 // repeated .B b = 2;
388 inline int TestHDF5Message::b_size() const {
389  return b_.size();
390 }
391 inline void TestHDF5Message::clear_b() {
392  b_.Clear();
393 }
394 inline const ::B& TestHDF5Message::b(int index) const {
395  // @@protoc_insertion_point(field_get:TestHDF5Message.b)
396  return b_.Get(index);
397 }
398 inline ::B* TestHDF5Message::mutable_b(int index) {
399  // @@protoc_insertion_point(field_mutable:TestHDF5Message.b)
400  return b_.Mutable(index);
401 }
402 inline ::B* TestHDF5Message::add_b() {
403  // @@protoc_insertion_point(field_add:TestHDF5Message.b)
404  return b_.Add();
405 }
406 inline const ::google::protobuf::RepeatedPtrField< ::B >&
407 TestHDF5Message::b() const {
408  // @@protoc_insertion_point(field_list:TestHDF5Message.b)
409  return b_;
410 }
411 inline ::google::protobuf::RepeatedPtrField< ::B >*
412 TestHDF5Message::mutable_b() {
413  // @@protoc_insertion_point(field_mutable_list:TestHDF5Message.b)
414  return &b_;
415 }
416 
417 // -------------------------------------------------------------------
418 
419 // B
420 
421 // repeated double c = 2;
422 inline int B::c_size() const {
423  return c_.size();
424 }
425 inline void B::clear_c() {
426  c_.Clear();
427 }
428 inline double B::c(int index) const {
429  // @@protoc_insertion_point(field_get:B.c)
430  return c_.Get(index);
431 }
432 inline void B::set_c(int index, double value) {
433  c_.Set(index, value);
434  // @@protoc_insertion_point(field_set:B.c)
435 }
436 inline void B::add_c(double value) {
437  c_.Add(value);
438  // @@protoc_insertion_point(field_add:B.c)
439 }
440 inline const ::google::protobuf::RepeatedField< double >&
441 B::c() const {
442  // @@protoc_insertion_point(field_list:B.c)
443  return c_;
444 }
445 inline ::google::protobuf::RepeatedField< double >*
446 B::mutable_c() {
447  // @@protoc_insertion_point(field_mutable_list:B.c)
448  return &c_;
449 }
450 
451 // repeated double d = 3;
452 inline int B::d_size() const {
453  return d_.size();
454 }
455 inline void B::clear_d() {
456  d_.Clear();
457 }
458 inline double B::d(int index) const {
459  // @@protoc_insertion_point(field_get:B.d)
460  return d_.Get(index);
461 }
462 inline void B::set_d(int index, double value) {
463  d_.Set(index, value);
464  // @@protoc_insertion_point(field_set:B.d)
465 }
466 inline void B::add_d(double value) {
467  d_.Add(value);
468  // @@protoc_insertion_point(field_add:B.d)
469 }
470 inline const ::google::protobuf::RepeatedField< double >&
471 B::d() const {
472  // @@protoc_insertion_point(field_list:B.d)
473  return d_;
474 }
475 inline ::google::protobuf::RepeatedField< double >*
476 B::mutable_d() {
477  // @@protoc_insertion_point(field_mutable_list:B.d)
478  return &d_;
479 }
480 
481 // repeated int32 e = 4;
482 inline int B::e_size() const {
483  return e_.size();
484 }
485 inline void B::clear_e() {
486  e_.Clear();
487 }
488 inline ::google::protobuf::int32 B::e(int index) const {
489  // @@protoc_insertion_point(field_get:B.e)
490  return e_.Get(index);
491 }
492 inline void B::set_e(int index, ::google::protobuf::int32 value) {
493  e_.Set(index, value);
494  // @@protoc_insertion_point(field_set:B.e)
495 }
496 inline void B::add_e(::google::protobuf::int32 value) {
497  e_.Add(value);
498  // @@protoc_insertion_point(field_add:B.e)
499 }
500 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
501 B::e() const {
502  // @@protoc_insertion_point(field_list:B.e)
503  return e_;
504 }
505 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
506 B::mutable_e() {
507  // @@protoc_insertion_point(field_mutable_list:B.e)
508  return &e_;
509 }
510 
511 // repeated .F f = 5;
512 inline int B::f_size() const {
513  return f_.size();
514 }
515 inline void B::clear_f() {
516  f_.Clear();
517 }
518 inline const ::F& B::f(int index) const {
519  // @@protoc_insertion_point(field_get:B.f)
520  return f_.Get(index);
521 }
522 inline ::F* B::mutable_f(int index) {
523  // @@protoc_insertion_point(field_mutable:B.f)
524  return f_.Mutable(index);
525 }
526 inline ::F* B::add_f() {
527  // @@protoc_insertion_point(field_add:B.f)
528  return f_.Add();
529 }
530 inline const ::google::protobuf::RepeatedPtrField< ::F >&
531 B::f() const {
532  // @@protoc_insertion_point(field_list:B.f)
533  return f_;
534 }
535 inline ::google::protobuf::RepeatedPtrField< ::F >*
536 B::mutable_f() {
537  // @@protoc_insertion_point(field_mutable_list:B.f)
538  return &f_;
539 }
540 
541 // -------------------------------------------------------------------
542 
543 // F
544 
545 // repeated double g = 1;
546 inline int F::g_size() const {
547  return g_.size();
548 }
549 inline void F::clear_g() {
550  g_.Clear();
551 }
552 inline double F::g(int index) const {
553  // @@protoc_insertion_point(field_get:F.g)
554  return g_.Get(index);
555 }
556 inline void F::set_g(int index, double value) {
557  g_.Set(index, value);
558  // @@protoc_insertion_point(field_set:F.g)
559 }
560 inline void F::add_g(double value) {
561  g_.Add(value);
562  // @@protoc_insertion_point(field_add:F.g)
563 }
564 inline const ::google::protobuf::RepeatedField< double >&
565 F::g() const {
566  // @@protoc_insertion_point(field_list:F.g)
567  return g_;
568 }
569 inline ::google::protobuf::RepeatedField< double >*
570 F::mutable_g() {
571  // @@protoc_insertion_point(field_mutable_list:F.g)
572  return &g_;
573 }
574 
575 // optional int32 h = 2;
576 inline bool F::has_h() const {
577  return (_has_bits_[0] & 0x00000002u) != 0;
578 }
579 inline void F::set_has_h() {
580  _has_bits_[0] |= 0x00000002u;
581 }
582 inline void F::clear_has_h() {
583  _has_bits_[0] &= ~0x00000002u;
584 }
585 inline void F::clear_h() {
586  h_ = 0;
587  clear_has_h();
588 }
589 inline ::google::protobuf::int32 F::h() const {
590  // @@protoc_insertion_point(field_get:F.h)
591  return h_;
592 }
593 inline void F::set_h(::google::protobuf::int32 value) {
594  set_has_h();
595  h_ = value;
596  // @@protoc_insertion_point(field_set:F.h)
597 }
598 
599 
600 // @@protoc_insertion_point(namespace_scope)
601 
602 #ifndef SWIG
603 namespace google {
604 namespace protobuf {
605 
606 
607 } // namespace google
608 } // namespace protobuf
609 #endif // SWIG
610 
611 // @@protoc_insertion_point(global_scope)
612 
613 #endif // PROTOBUF_goby_2ftest_2fcommon_2fhdf5_2ftest2_2eproto__INCLUDED
Definition: test2.pb.h:139
Definition: test2.pb.h:260