4 #ifndef PROTOBUF_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto__INCLUDED 5 #define PROTOBUF_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 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 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. 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> 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();
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;
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);
63 inline bool Enum1_Parse(
64 const ::std::string& name, Enum1* value) {
65 return ::google::protobuf::internal::ParseNamedEnum<Enum1>(
66 Enum1_descriptor(), name, value);
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;
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);
85 inline bool Enum2_Parse(
86 const ::std::string& name, Enum2* value) {
87 return ::google::protobuf::internal::ParseNamedEnum<Enum2>(
88 Enum2_descriptor(), name, value);
104 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
105 return _unknown_fields_;
108 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
109 return &_unknown_fields_;
112 static const ::google::protobuf::Descriptor* descriptor();
120 void CopyFrom(const ::google::protobuf::Message& from);
121 void MergeFrom(const ::google::protobuf::Message& from);
125 bool IsInitialized()
const;
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_; }
137 void SetCachedSize(
int size)
const;
139 ::google::protobuf::Metadata GetMetadata()
const;
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 >&
154 inline ::google::protobuf::RepeatedField< double >*
157 enum DCCLParameters { DCCL_ID = 1, DCCL_MAX_BYTES = 512 };
161 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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();
170 void InitAsDefaultInstance();
187 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
188 return _unknown_fields_;
191 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
192 return &_unknown_fields_;
195 static const ::google::protobuf::Descriptor* descriptor();
203 void CopyFrom(const ::google::protobuf::Message& from);
204 void MergeFrom(const ::google::protobuf::Message& from);
208 bool IsInitialized()
const;
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_; }
220 void SetCachedSize(
int size)
const;
222 ::google::protobuf::Metadata GetMetadata()
const;
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();
238 enum DCCLParameters { DCCL_ID = 2, DCCL_MAX_BYTES = 512 };
242 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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();
251 void InitAsDefaultInstance();
268 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
269 return _unknown_fields_;
272 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
273 return &_unknown_fields_;
276 static const ::google::protobuf::Descriptor* descriptor();
284 void CopyFrom(const ::google::protobuf::Message& from);
285 void MergeFrom(const ::google::protobuf::Message& from);
289 bool IsInitialized()
const;
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_; }
301 void SetCachedSize(
int size)
const;
303 ::google::protobuf::Metadata GetMetadata()
const;
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);
316 enum DCCLParameters { DCCL_ID = 3, DCCL_MAX_BYTES = 512 };
319 inline void set_has_value();
320 inline void clear_has_value();
322 ::google::protobuf::UnknownFieldSet _unknown_fields_;
324 ::google::protobuf::uint32 _has_bits_[1];
325 mutable int _cached_size_;
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();
331 void InitAsDefaultInstance();
348 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
349 return _unknown_fields_;
352 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
353 return &_unknown_fields_;
356 static const ::google::protobuf::Descriptor* descriptor();
364 void CopyFrom(const ::google::protobuf::Message& from);
365 void MergeFrom(const ::google::protobuf::Message& from);
369 bool IsInitialized()
const;
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_; }
381 void SetCachedSize(
int size)
const;
383 ::google::protobuf::Metadata GetMetadata()
const;
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();
399 enum DCCLParameters { DCCL_ID = 4, DCCL_MAX_BYTES = 512 };
403 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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();
412 void InitAsDefaultInstance();
429 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
430 return _unknown_fields_;
433 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
434 return &_unknown_fields_;
437 static const ::google::protobuf::Descriptor* descriptor();
445 void CopyFrom(const ::google::protobuf::Message& from);
446 void MergeFrom(const ::google::protobuf::Message& from);
450 bool IsInitialized()
const;
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_; }
462 void SetCachedSize(
int size)
const;
464 ::google::protobuf::Metadata GetMetadata()
const;
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 >&
479 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
482 enum DCCLParameters { DCCL_ID = 5, DCCL_MAX_BYTES = 10000 };
486 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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();
495 void InitAsDefaultInstance();
512 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
513 return _unknown_fields_;
516 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
517 return &_unknown_fields_;
520 static const ::google::protobuf::Descriptor* descriptor();
528 void CopyFrom(const ::google::protobuf::Message& from);
529 void MergeFrom(const ::google::protobuf::Message& from);
533 bool IsInitialized()
const;
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_; }
545 void SetCachedSize(
int size)
const;
547 ::google::protobuf::Metadata GetMetadata()
const;
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 >&
562 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
565 enum DCCLParameters { DCCL_ID = 6, DCCL_MAX_BYTES = 10000 };
569 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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();
578 void InitAsDefaultInstance();
589 inline int ArithmeticDoubleTestMsg::value_size()
const {
590 return value_.size();
592 inline void ArithmeticDoubleTestMsg::clear_value() {
595 inline double ArithmeticDoubleTestMsg::value(
int index)
const {
597 return value_.Get(index);
599 inline void ArithmeticDoubleTestMsg::set_value(
int index,
double value) {
600 value_.Set(index, value);
603 inline void ArithmeticDoubleTestMsg::add_value(
double value) {
607 inline const ::google::protobuf::RepeatedField< double >&
608 ArithmeticDoubleTestMsg::value()
const {
612 inline ::google::protobuf::RepeatedField< double >*
613 ArithmeticDoubleTestMsg::mutable_value() {
623 inline int ArithmeticEnumTestMsg::value_size()
const {
624 return value_.size();
626 inline void ArithmeticEnumTestMsg::clear_value() {
629 inline ::Enum1 ArithmeticEnumTestMsg::value(
int index)
const {
631 return static_cast< ::Enum1
>(value_.Get(index));
633 inline void ArithmeticEnumTestMsg::set_value(
int index, ::Enum1 value) {
634 assert(::Enum1_IsValid(value));
635 value_.Set(index, value);
638 inline void ArithmeticEnumTestMsg::add_value(::Enum1 value) {
639 assert(::Enum1_IsValid(value));
643 inline const ::google::protobuf::RepeatedField<int>&
644 ArithmeticEnumTestMsg::value()
const {
648 inline ::google::protobuf::RepeatedField<int>*
649 ArithmeticEnumTestMsg::mutable_value() {
659 inline bool ArithmeticSingleEnumTestMsg::has_value()
const {
660 return (_has_bits_[0] & 0x00000001u) != 0;
662 inline void ArithmeticSingleEnumTestMsg::set_has_value() {
663 _has_bits_[0] |= 0x00000001u;
665 inline void ArithmeticSingleEnumTestMsg::clear_has_value() {
666 _has_bits_[0] &= ~0x00000001u;
668 inline void ArithmeticSingleEnumTestMsg::clear_value() {
672 inline ::Enum1 ArithmeticSingleEnumTestMsg::value()
const {
674 return static_cast< ::Enum1
>(value_);
676 inline void ArithmeticSingleEnumTestMsg::set_value(::Enum1 value) {
677 assert(::Enum1_IsValid(value));
688 inline int ArithmeticEnum2TestMsg::value_size()
const {
689 return value_.size();
691 inline void ArithmeticEnum2TestMsg::clear_value() {
694 inline ::Enum2 ArithmeticEnum2TestMsg::value(
int index)
const {
696 return static_cast< ::Enum2
>(value_.Get(index));
698 inline void ArithmeticEnum2TestMsg::set_value(
int index, ::Enum2 value) {
699 assert(::Enum2_IsValid(value));
700 value_.Set(index, value);
703 inline void ArithmeticEnum2TestMsg::add_value(::Enum2 value) {
704 assert(::Enum2_IsValid(value));
708 inline const ::google::protobuf::RepeatedField<int>&
709 ArithmeticEnum2TestMsg::value()
const {
713 inline ::google::protobuf::RepeatedField<int>*
714 ArithmeticEnum2TestMsg::mutable_value() {
724 inline int ArithmeticDouble2TestMsg::value_size()
const {
725 return value_.size();
727 inline void ArithmeticDouble2TestMsg::clear_value() {
730 inline ::google::protobuf::int32 ArithmeticDouble2TestMsg::value(
int index)
const {
732 return value_.Get(index);
734 inline void ArithmeticDouble2TestMsg::set_value(
int index, ::google::protobuf::int32 value) {
735 value_.Set(index, value);
738 inline void ArithmeticDouble2TestMsg::add_value(::google::protobuf::int32 value) {
742 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
743 ArithmeticDouble2TestMsg::value()
const {
747 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
748 ArithmeticDouble2TestMsg::mutable_value() {
758 inline int ArithmeticDouble3TestMsg::value_size()
const {
759 return value_.size();
761 inline void ArithmeticDouble3TestMsg::clear_value() {
764 inline ::google::protobuf::int32 ArithmeticDouble3TestMsg::value(
int index)
const {
766 return value_.Get(index);
768 inline void ArithmeticDouble3TestMsg::set_value(
int index, ::google::protobuf::int32 value) {
769 value_.Set(index, value);
772 inline void ArithmeticDouble3TestMsg::add_value(::google::protobuf::int32 value) {
776 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
777 ArithmeticDouble3TestMsg::value()
const {
781 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
782 ArithmeticDouble3TestMsg::mutable_value() {
794 template <>
struct is_proto_enum< ::Enum1> : ::google::protobuf::internal::true_type {};
796 inline const EnumDescriptor* GetEnumDescriptor< ::Enum1>() {
797 return ::Enum1_descriptor();
799 template <>
struct is_proto_enum< ::Enum2> : ::google::protobuf::internal::true_type {};
801 inline const EnumDescriptor* GetEnumDescriptor< ::Enum2>() {
802 return ::Enum2_descriptor();
811 #endif // PROTOBUF_goby_2ftest_2facomms_2fdccl10_2ftest_2eproto__INCLUDED