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