4 #ifndef PROTOBUF_goby_2facomms_2fprotobuf_2fdccl_2eproto__INCLUDED 5 #define PROTOBUF_goby_2facomms_2fprotobuf_2fdccl_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/unknown_field_set.h> 27 #include "goby/common/protobuf/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> 39 void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fdccl_2eproto();
40 void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fdccl_2eproto();
41 void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fdccl_2eproto();
44 class ArithmeticModel;
60 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
61 return _unknown_fields_;
64 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
65 return &_unknown_fields_;
68 static const ::google::protobuf::Descriptor* descriptor();
76 void CopyFrom(const ::google::protobuf::Message& from);
77 void MergeFrom(const ::google::protobuf::Message& from);
81 bool IsInitialized()
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_; }
93 void SetCachedSize(
int size)
const;
95 ::google::protobuf::Metadata GetMetadata()
const;
102 inline bool has_crypto_passphrase()
const;
103 inline void clear_crypto_passphrase();
104 static const int kCryptoPassphraseFieldNumber = 2;
105 inline const ::std::string& crypto_passphrase()
const;
106 inline void set_crypto_passphrase(const ::std::string& value);
107 inline void set_crypto_passphrase(
const char* value);
108 inline void set_crypto_passphrase(
const char* value,
size_t size);
109 inline ::std::string* mutable_crypto_passphrase();
110 inline ::std::string* release_crypto_passphrase();
111 inline void set_allocated_crypto_passphrase(::std::string* crypto_passphrase);
114 inline int skip_crypto_for_id_size()
const;
115 inline void clear_skip_crypto_for_id();
116 static const int kSkipCryptoForIdFieldNumber = 3;
117 inline ::google::protobuf::uint32 skip_crypto_for_id(
int index)
const;
118 inline void set_skip_crypto_for_id(
int index, ::google::protobuf::uint32 value);
119 inline void add_skip_crypto_for_id(::google::protobuf::uint32 value);
120 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
121 skip_crypto_for_id()
const;
122 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
123 mutable_skip_crypto_for_id();
126 inline bool has_id_codec()
const;
127 inline void clear_id_codec();
128 static const int kIdCodecFieldNumber = 4;
129 inline const ::std::string& id_codec()
const;
130 inline void set_id_codec(const ::std::string& value);
131 inline void set_id_codec(
const char* value);
132 inline void set_id_codec(
const char* value,
size_t size);
133 inline ::std::string* mutable_id_codec();
134 inline ::std::string* release_id_codec();
135 inline void set_allocated_id_codec(::std::string* id_codec);
139 inline void set_has_crypto_passphrase();
140 inline void clear_has_crypto_passphrase();
141 inline void set_has_id_codec();
142 inline void clear_has_id_codec();
144 ::google::protobuf::UnknownFieldSet _unknown_fields_;
146 ::google::protobuf::uint32 _has_bits_[1];
147 mutable int _cached_size_;
148 ::std::string* crypto_passphrase_;
149 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > skip_crypto_for_id_;
150 ::std::string* id_codec_;
151 friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fdccl_2eproto();
152 friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fdccl_2eproto();
153 friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fdccl_2eproto();
155 void InitAsDefaultInstance();
172 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
173 return _unknown_fields_;
176 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
177 return &_unknown_fields_;
180 static const ::google::protobuf::Descriptor* descriptor();
188 void CopyFrom(const ::google::protobuf::Message& from);
189 void MergeFrom(const ::google::protobuf::Message& from);
193 bool IsInitialized()
const;
195 int ByteSize()
const;
196 bool MergePartialFromCodedStream(
197 ::google::protobuf::io::CodedInputStream* input);
198 void SerializeWithCachedSizes(
199 ::google::protobuf::io::CodedOutputStream* output)
const;
200 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
201 int GetCachedSize()
const {
return _cached_size_; }
205 void SetCachedSize(
int size)
const;
207 ::google::protobuf::Metadata GetMetadata()
const;
214 inline bool has_name()
const;
215 inline void clear_name();
216 static const int kNameFieldNumber = 1;
217 inline const ::std::string& name()
const;
218 inline void set_name(const ::std::string& value);
219 inline void set_name(
const char* value);
220 inline void set_name(
const char* value,
size_t size);
221 inline ::std::string* mutable_name();
222 inline ::std::string* release_name();
223 inline void set_allocated_name(::std::string* name);
226 inline int frequency_size()
const;
227 inline void clear_frequency();
228 static const int kFrequencyFieldNumber = 10;
229 inline ::google::protobuf::uint32 frequency(
int index)
const;
230 inline void set_frequency(
int index, ::google::protobuf::uint32 value);
231 inline void add_frequency(::google::protobuf::uint32 value);
232 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
234 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
238 inline bool has_eof_frequency()
const;
239 inline void clear_eof_frequency();
240 static const int kEofFrequencyFieldNumber = 11;
241 inline ::google::protobuf::uint32 eof_frequency()
const;
242 inline void set_eof_frequency(::google::protobuf::uint32 value);
245 inline bool has_out_of_range_frequency()
const;
246 inline void clear_out_of_range_frequency();
247 static const int kOutOfRangeFrequencyFieldNumber = 12;
248 inline ::google::protobuf::uint32 out_of_range_frequency()
const;
249 inline void set_out_of_range_frequency(::google::protobuf::uint32 value);
252 inline int value_bound_size()
const;
253 inline void clear_value_bound();
254 static const int kValueBoundFieldNumber = 20;
255 inline double value_bound(
int index)
const;
256 inline void set_value_bound(
int index,
double value);
257 inline void add_value_bound(
double value);
258 inline const ::google::protobuf::RepeatedField< double >&
260 inline ::google::protobuf::RepeatedField< double >*
261 mutable_value_bound();
264 inline bool has_is_adaptive()
const;
265 inline void clear_is_adaptive();
266 static const int kIsAdaptiveFieldNumber = 30;
267 inline bool is_adaptive()
const;
268 inline void set_is_adaptive(
bool value);
272 inline void set_has_name();
273 inline void clear_has_name();
274 inline void set_has_eof_frequency();
275 inline void clear_has_eof_frequency();
276 inline void set_has_out_of_range_frequency();
277 inline void clear_has_out_of_range_frequency();
278 inline void set_has_is_adaptive();
279 inline void clear_has_is_adaptive();
281 ::google::protobuf::UnknownFieldSet _unknown_fields_;
283 ::google::protobuf::uint32 _has_bits_[1];
284 mutable int _cached_size_;
285 ::std::string* name_;
286 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > frequency_;
287 ::google::protobuf::uint32 eof_frequency_;
288 ::google::protobuf::uint32 out_of_range_frequency_;
289 ::google::protobuf::RepeatedField< double > value_bound_;
291 friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fdccl_2eproto();
292 friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fdccl_2eproto();
293 friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fdccl_2eproto();
295 void InitAsDefaultInstance();
306 inline bool DCCLConfig::has_crypto_passphrase()
const {
307 return (_has_bits_[0] & 0x00000001u) != 0;
309 inline void DCCLConfig::set_has_crypto_passphrase() {
310 _has_bits_[0] |= 0x00000001u;
312 inline void DCCLConfig::clear_has_crypto_passphrase() {
313 _has_bits_[0] &= ~0x00000001u;
315 inline void DCCLConfig::clear_crypto_passphrase() {
316 if (crypto_passphrase_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
317 crypto_passphrase_->clear();
319 clear_has_crypto_passphrase();
321 inline const ::std::string& DCCLConfig::crypto_passphrase()
const {
323 return *crypto_passphrase_;
325 inline void DCCLConfig::set_crypto_passphrase(const ::std::string& value) {
326 set_has_crypto_passphrase();
327 if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
328 crypto_passphrase_ = new ::std::string;
330 crypto_passphrase_->assign(value);
333 inline void DCCLConfig::set_crypto_passphrase(
const char* value) {
334 set_has_crypto_passphrase();
335 if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
336 crypto_passphrase_ = new ::std::string;
338 crypto_passphrase_->assign(value);
341 inline void DCCLConfig::set_crypto_passphrase(
const char* value,
size_t size) {
342 set_has_crypto_passphrase();
343 if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
344 crypto_passphrase_ = new ::std::string;
346 crypto_passphrase_->assign(reinterpret_cast<const char*>(value), size);
349 inline ::std::string* DCCLConfig::mutable_crypto_passphrase() {
350 set_has_crypto_passphrase();
351 if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
352 crypto_passphrase_ = new ::std::string;
355 return crypto_passphrase_;
357 inline ::std::string* DCCLConfig::release_crypto_passphrase() {
358 clear_has_crypto_passphrase();
359 if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
362 ::std::string* temp = crypto_passphrase_;
363 crypto_passphrase_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
367 inline void DCCLConfig::set_allocated_crypto_passphrase(::std::string* crypto_passphrase) {
368 if (crypto_passphrase_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
369 delete crypto_passphrase_;
371 if (crypto_passphrase) {
372 set_has_crypto_passphrase();
373 crypto_passphrase_ = crypto_passphrase;
375 clear_has_crypto_passphrase();
376 crypto_passphrase_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
382 inline int DCCLConfig::skip_crypto_for_id_size()
const {
383 return skip_crypto_for_id_.size();
385 inline void DCCLConfig::clear_skip_crypto_for_id() {
386 skip_crypto_for_id_.Clear();
388 inline ::google::protobuf::uint32 DCCLConfig::skip_crypto_for_id(
int index)
const {
390 return skip_crypto_for_id_.Get(index);
392 inline void DCCLConfig::set_skip_crypto_for_id(
int index, ::google::protobuf::uint32 value) {
393 skip_crypto_for_id_.Set(index, value);
396 inline void DCCLConfig::add_skip_crypto_for_id(::google::protobuf::uint32 value) {
397 skip_crypto_for_id_.Add(value);
400 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
401 DCCLConfig::skip_crypto_for_id()
const {
403 return skip_crypto_for_id_;
405 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
406 DCCLConfig::mutable_skip_crypto_for_id() {
408 return &skip_crypto_for_id_;
412 inline bool DCCLConfig::has_id_codec()
const {
413 return (_has_bits_[0] & 0x00000004u) != 0;
415 inline void DCCLConfig::set_has_id_codec() {
416 _has_bits_[0] |= 0x00000004u;
418 inline void DCCLConfig::clear_has_id_codec() {
419 _has_bits_[0] &= ~0x00000004u;
421 inline void DCCLConfig::clear_id_codec() {
422 if (id_codec_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
425 clear_has_id_codec();
427 inline const ::std::string& DCCLConfig::id_codec()
const {
431 inline void DCCLConfig::set_id_codec(const ::std::string& value) {
433 if (id_codec_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
434 id_codec_ = new ::std::string;
436 id_codec_->assign(value);
439 inline void DCCLConfig::set_id_codec(
const char* value) {
441 if (id_codec_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
442 id_codec_ = new ::std::string;
444 id_codec_->assign(value);
447 inline void DCCLConfig::set_id_codec(
const char* value,
size_t size) {
449 if (id_codec_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
450 id_codec_ = new ::std::string;
452 id_codec_->assign(reinterpret_cast<const char*>(value), size);
455 inline ::std::string* DCCLConfig::mutable_id_codec() {
457 if (id_codec_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
458 id_codec_ = new ::std::string;
463 inline ::std::string* DCCLConfig::release_id_codec() {
464 clear_has_id_codec();
465 if (id_codec_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
468 ::std::string* temp = id_codec_;
469 id_codec_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
473 inline void DCCLConfig::set_allocated_id_codec(::std::string* id_codec) {
474 if (id_codec_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
479 id_codec_ = id_codec;
481 clear_has_id_codec();
482 id_codec_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
492 inline bool ArithmeticModel::has_name()
const {
493 return (_has_bits_[0] & 0x00000001u) != 0;
495 inline void ArithmeticModel::set_has_name() {
496 _has_bits_[0] |= 0x00000001u;
498 inline void ArithmeticModel::clear_has_name() {
499 _has_bits_[0] &= ~0x00000001u;
501 inline void ArithmeticModel::clear_name() {
502 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
507 inline const ::std::string& ArithmeticModel::name()
const {
511 inline void ArithmeticModel::set_name(const ::std::string& value) {
513 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
514 name_ = new ::std::string;
516 name_->assign(value);
519 inline void ArithmeticModel::set_name(
const char* value) {
521 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
522 name_ = new ::std::string;
524 name_->assign(value);
527 inline void ArithmeticModel::set_name(
const char* value,
size_t size) {
529 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
530 name_ = new ::std::string;
532 name_->assign(reinterpret_cast<const char*>(value), size);
535 inline ::std::string* ArithmeticModel::mutable_name() {
537 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
538 name_ = new ::std::string;
543 inline ::std::string* ArithmeticModel::release_name() {
545 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
548 ::std::string* temp = name_;
549 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
553 inline void ArithmeticModel::set_allocated_name(::std::string* name) {
554 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
562 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
568 inline int ArithmeticModel::frequency_size()
const {
569 return frequency_.size();
571 inline void ArithmeticModel::clear_frequency() {
574 inline ::google::protobuf::uint32 ArithmeticModel::frequency(
int index)
const {
576 return frequency_.Get(index);
578 inline void ArithmeticModel::set_frequency(
int index, ::google::protobuf::uint32 value) {
579 frequency_.Set(index, value);
582 inline void ArithmeticModel::add_frequency(::google::protobuf::uint32 value) {
583 frequency_.Add(value);
586 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
587 ArithmeticModel::frequency()
const {
591 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
592 ArithmeticModel::mutable_frequency() {
598 inline bool ArithmeticModel::has_eof_frequency()
const {
599 return (_has_bits_[0] & 0x00000004u) != 0;
601 inline void ArithmeticModel::set_has_eof_frequency() {
602 _has_bits_[0] |= 0x00000004u;
604 inline void ArithmeticModel::clear_has_eof_frequency() {
605 _has_bits_[0] &= ~0x00000004u;
607 inline void ArithmeticModel::clear_eof_frequency() {
609 clear_has_eof_frequency();
611 inline ::google::protobuf::uint32 ArithmeticModel::eof_frequency()
const {
613 return eof_frequency_;
615 inline void ArithmeticModel::set_eof_frequency(::google::protobuf::uint32 value) {
616 set_has_eof_frequency();
617 eof_frequency_ = value;
622 inline bool ArithmeticModel::has_out_of_range_frequency()
const {
623 return (_has_bits_[0] & 0x00000008u) != 0;
625 inline void ArithmeticModel::set_has_out_of_range_frequency() {
626 _has_bits_[0] |= 0x00000008u;
628 inline void ArithmeticModel::clear_has_out_of_range_frequency() {
629 _has_bits_[0] &= ~0x00000008u;
631 inline void ArithmeticModel::clear_out_of_range_frequency() {
632 out_of_range_frequency_ = 0u;
633 clear_has_out_of_range_frequency();
635 inline ::google::protobuf::uint32 ArithmeticModel::out_of_range_frequency()
const {
637 return out_of_range_frequency_;
639 inline void ArithmeticModel::set_out_of_range_frequency(::google::protobuf::uint32 value) {
640 set_has_out_of_range_frequency();
641 out_of_range_frequency_ = value;
646 inline int ArithmeticModel::value_bound_size()
const {
647 return value_bound_.size();
649 inline void ArithmeticModel::clear_value_bound() {
650 value_bound_.Clear();
652 inline double ArithmeticModel::value_bound(
int index)
const {
654 return value_bound_.Get(index);
656 inline void ArithmeticModel::set_value_bound(
int index,
double value) {
657 value_bound_.Set(index, value);
660 inline void ArithmeticModel::add_value_bound(
double value) {
661 value_bound_.Add(value);
664 inline const ::google::protobuf::RepeatedField< double >&
665 ArithmeticModel::value_bound()
const {
669 inline ::google::protobuf::RepeatedField< double >*
670 ArithmeticModel::mutable_value_bound() {
672 return &value_bound_;
676 inline bool ArithmeticModel::has_is_adaptive()
const {
677 return (_has_bits_[0] & 0x00000020u) != 0;
679 inline void ArithmeticModel::set_has_is_adaptive() {
680 _has_bits_[0] |= 0x00000020u;
682 inline void ArithmeticModel::clear_has_is_adaptive() {
683 _has_bits_[0] &= ~0x00000020u;
685 inline void ArithmeticModel::clear_is_adaptive() {
686 is_adaptive_ =
false;
687 clear_has_is_adaptive();
689 inline bool ArithmeticModel::is_adaptive()
const {
693 inline void ArithmeticModel::set_is_adaptive(
bool value) {
694 set_has_is_adaptive();
695 is_adaptive_ = value;
717 #endif // PROTOBUF_goby_2facomms_2fprotobuf_2fdccl_2eproto__INCLUDED
The global namespace for the Goby project.