DCCL v3
option_extensions.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: dccl/option_extensions.proto
3 
4 #ifndef PROTOBUF_dccl_2foption_5fextensions_2eproto__INCLUDED
5 #define PROTOBUF_dccl_2foption_5fextensions_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 "google/protobuf/descriptor.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 namespace dccl {
35 
36 // Internal implementation detail -- do not call these.
37 void protobuf_AddDesc_dccl_2foption_5fextensions_2eproto();
38 void protobuf_AssignDesc_dccl_2foption_5fextensions_2eproto();
39 void protobuf_ShutdownFile_dccl_2foption_5fextensions_2eproto();
40 
41 class DCCLFieldOptions;
42 class DCCLFieldOptions_Units;
43 class DCCLMessageOptions;
44 
45 // ===================================================================
46 
47 class DCCLFieldOptions_Units : public ::google::protobuf::Message {
48  public:
49  DCCLFieldOptions_Units();
50  virtual ~DCCLFieldOptions_Units();
51 
52  DCCLFieldOptions_Units(const DCCLFieldOptions_Units& from);
53 
54  inline DCCLFieldOptions_Units& operator=(const DCCLFieldOptions_Units& from) {
55  CopyFrom(from);
56  return *this;
57  }
58 
59  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
60  return _unknown_fields_;
61  }
62 
63  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
64  return &_unknown_fields_;
65  }
66 
67  static const ::google::protobuf::Descriptor* descriptor();
68  static const DCCLFieldOptions_Units& default_instance();
69 
70  void Swap(DCCLFieldOptions_Units* other);
71 
72  // implements Message ----------------------------------------------
73 
74  DCCLFieldOptions_Units* New() const;
75  void CopyFrom(const ::google::protobuf::Message& from);
76  void MergeFrom(const ::google::protobuf::Message& from);
77  void CopyFrom(const DCCLFieldOptions_Units& from);
78  void MergeFrom(const DCCLFieldOptions_Units& from);
79  void Clear();
80  bool IsInitialized() const;
81 
82  int ByteSize() const;
83  bool MergePartialFromCodedStream(
84  ::google::protobuf::io::CodedInputStream* input);
85  void SerializeWithCachedSizes(
86  ::google::protobuf::io::CodedOutputStream* output) const;
87  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
88  int GetCachedSize() const { return _cached_size_; }
89  private:
90  void SharedCtor();
91  void SharedDtor();
92  void SetCachedSize(int size) const;
93  public:
94  ::google::protobuf::Metadata GetMetadata() const;
95 
96  // nested types ----------------------------------------------------
97 
98  // accessors -------------------------------------------------------
99 
100  // optional string base_dimensions = 1;
101  inline bool has_base_dimensions() const;
102  inline void clear_base_dimensions();
103  static const int kBaseDimensionsFieldNumber = 1;
104  inline const ::std::string& base_dimensions() const;
105  inline void set_base_dimensions(const ::std::string& value);
106  inline void set_base_dimensions(const char* value);
107  inline void set_base_dimensions(const char* value, size_t size);
108  inline ::std::string* mutable_base_dimensions();
109  inline ::std::string* release_base_dimensions();
110  inline void set_allocated_base_dimensions(::std::string* base_dimensions);
111 
112  // optional string derived_dimensions = 2;
113  inline bool has_derived_dimensions() const;
114  inline void clear_derived_dimensions();
115  static const int kDerivedDimensionsFieldNumber = 2;
116  inline const ::std::string& derived_dimensions() const;
117  inline void set_derived_dimensions(const ::std::string& value);
118  inline void set_derived_dimensions(const char* value);
119  inline void set_derived_dimensions(const char* value, size_t size);
120  inline ::std::string* mutable_derived_dimensions();
121  inline ::std::string* release_derived_dimensions();
122  inline void set_allocated_derived_dimensions(::std::string* derived_dimensions);
123 
124  // optional string system = 3 [default = "si"];
125  inline bool has_system() const;
126  inline void clear_system();
127  static const int kSystemFieldNumber = 3;
128  inline const ::std::string& system() const;
129  inline void set_system(const ::std::string& value);
130  inline void set_system(const char* value);
131  inline void set_system(const char* value, size_t size);
132  inline ::std::string* mutable_system();
133  inline ::std::string* release_system();
134  inline void set_allocated_system(::std::string* system);
135 
136  // optional bool relative_temperature = 4 [default = false];
137  inline bool has_relative_temperature() const;
138  inline void clear_relative_temperature();
139  static const int kRelativeTemperatureFieldNumber = 4;
140  inline bool relative_temperature() const;
141  inline void set_relative_temperature(bool value);
142 
143  // optional string unit = 5;
144  inline bool has_unit() const;
145  inline void clear_unit();
146  static const int kUnitFieldNumber = 5;
147  inline const ::std::string& unit() const;
148  inline void set_unit(const ::std::string& value);
149  inline void set_unit(const char* value);
150  inline void set_unit(const char* value, size_t size);
151  inline ::std::string* mutable_unit();
152  inline ::std::string* release_unit();
153  inline void set_allocated_unit(::std::string* unit);
154 
155  // optional string prefix = 6;
156  inline bool has_prefix() const;
157  inline void clear_prefix();
158  static const int kPrefixFieldNumber = 6;
159  inline const ::std::string& prefix() const;
160  inline void set_prefix(const ::std::string& value);
161  inline void set_prefix(const char* value);
162  inline void set_prefix(const char* value, size_t size);
163  inline ::std::string* mutable_prefix();
164  inline ::std::string* release_prefix();
165  inline void set_allocated_prefix(::std::string* prefix);
166 
167  // @@protoc_insertion_point(class_scope:dccl.DCCLFieldOptions.Units)
168  private:
169  inline void set_has_base_dimensions();
170  inline void clear_has_base_dimensions();
171  inline void set_has_derived_dimensions();
172  inline void clear_has_derived_dimensions();
173  inline void set_has_system();
174  inline void clear_has_system();
175  inline void set_has_relative_temperature();
176  inline void clear_has_relative_temperature();
177  inline void set_has_unit();
178  inline void clear_has_unit();
179  inline void set_has_prefix();
180  inline void clear_has_prefix();
181 
182  ::google::protobuf::UnknownFieldSet _unknown_fields_;
183 
184  ::google::protobuf::uint32 _has_bits_[1];
185  mutable int _cached_size_;
186  ::std::string* base_dimensions_;
187  ::std::string* derived_dimensions_;
188  static ::std::string* _default_system_;
189  ::std::string* system_;
190  ::std::string* unit_;
191  ::std::string* prefix_;
192  bool relative_temperature_;
193  friend void protobuf_AddDesc_dccl_2foption_5fextensions_2eproto();
194  friend void protobuf_AssignDesc_dccl_2foption_5fextensions_2eproto();
195  friend void protobuf_ShutdownFile_dccl_2foption_5fextensions_2eproto();
196 
197  void InitAsDefaultInstance();
198  static DCCLFieldOptions_Units* default_instance_;
199 };
200 // -------------------------------------------------------------------
201 
202 class DCCLFieldOptions : public ::google::protobuf::Message {
203  public:
204  DCCLFieldOptions();
205  virtual ~DCCLFieldOptions();
206 
207  DCCLFieldOptions(const DCCLFieldOptions& from);
208 
209  inline DCCLFieldOptions& operator=(const DCCLFieldOptions& from) {
210  CopyFrom(from);
211  return *this;
212  }
213 
214  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
215  return _unknown_fields_;
216  }
217 
218  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
219  return &_unknown_fields_;
220  }
221 
222  static const ::google::protobuf::Descriptor* descriptor();
223  static const DCCLFieldOptions& default_instance();
224 
225  void Swap(DCCLFieldOptions* other);
226 
227  // implements Message ----------------------------------------------
228 
229  DCCLFieldOptions* New() const;
230  void CopyFrom(const ::google::protobuf::Message& from);
231  void MergeFrom(const ::google::protobuf::Message& from);
232  void CopyFrom(const DCCLFieldOptions& from);
233  void MergeFrom(const DCCLFieldOptions& from);
234  void Clear();
235  bool IsInitialized() const;
236 
237  int ByteSize() const;
238  bool MergePartialFromCodedStream(
239  ::google::protobuf::io::CodedInputStream* input);
240  void SerializeWithCachedSizes(
241  ::google::protobuf::io::CodedOutputStream* output) const;
242  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
243  int GetCachedSize() const { return _cached_size_; }
244  private:
245  void SharedCtor();
246  void SharedDtor();
247  void SetCachedSize(int size) const;
248  public:
249  ::google::protobuf::Metadata GetMetadata() const;
250 
251  // nested types ----------------------------------------------------
252 
253  typedef DCCLFieldOptions_Units Units;
254 
255  // accessors -------------------------------------------------------
256 
257  // optional string codec = 1 [default = "dccl.default2"];
258  inline bool has_codec() const;
259  inline void clear_codec();
260  static const int kCodecFieldNumber = 1;
261  inline const ::std::string& codec() const;
262  inline void set_codec(const ::std::string& value);
263  inline void set_codec(const char* value);
264  inline void set_codec(const char* value, size_t size);
265  inline ::std::string* mutable_codec();
266  inline ::std::string* release_codec();
267  inline void set_allocated_codec(::std::string* codec);
268 
269  // optional bool omit = 2 [default = false];
270  inline bool has_omit() const;
271  inline void clear_omit();
272  static const int kOmitFieldNumber = 2;
273  inline bool omit() const;
274  inline void set_omit(bool value);
275 
276  // optional bool in_head = 3 [default = false];
277  inline bool has_in_head() const;
278  inline void clear_in_head();
279  static const int kInHeadFieldNumber = 3;
280  inline bool in_head() const;
281  inline void set_in_head(bool value);
282 
283  // optional int32 precision = 4 [default = 0];
284  inline bool has_precision() const;
285  inline void clear_precision();
286  static const int kPrecisionFieldNumber = 4;
287  inline ::google::protobuf::int32 precision() const;
288  inline void set_precision(::google::protobuf::int32 value);
289 
290  // optional double min = 5 [default = 0];
291  inline bool has_min() const;
292  inline void clear_min();
293  static const int kMinFieldNumber = 5;
294  inline double min() const;
295  inline void set_min(double value);
296 
297  // optional double max = 6 [default = 0];
298  inline bool has_max() const;
299  inline void clear_max();
300  static const int kMaxFieldNumber = 6;
301  inline double max() const;
302  inline void set_max(double value);
303 
304  // optional uint32 num_days = 7 [default = 1];
305  inline bool has_num_days() const;
306  inline void clear_num_days();
307  static const int kNumDaysFieldNumber = 7;
308  inline ::google::protobuf::uint32 num_days() const;
309  inline void set_num_days(::google::protobuf::uint32 value);
310 
311  // optional string static_value = 8 [default = ""];
312  inline bool has_static_value() const;
313  inline void clear_static_value();
314  static const int kStaticValueFieldNumber = 8;
315  inline const ::std::string& static_value() const;
316  inline void set_static_value(const ::std::string& value);
317  inline void set_static_value(const char* value);
318  inline void set_static_value(const char* value, size_t size);
319  inline ::std::string* mutable_static_value();
320  inline ::std::string* release_static_value();
321  inline void set_allocated_static_value(::std::string* static_value);
322 
323  // optional uint32 max_length = 9 [default = 0];
324  inline bool has_max_length() const;
325  inline void clear_max_length();
326  static const int kMaxLengthFieldNumber = 9;
327  inline ::google::protobuf::uint32 max_length() const;
328  inline void set_max_length(::google::protobuf::uint32 value);
329 
330  // optional uint32 max_repeat = 10 [default = 1];
331  inline bool has_max_repeat() const;
332  inline void clear_max_repeat();
333  static const int kMaxRepeatFieldNumber = 10;
334  inline ::google::protobuf::uint32 max_repeat() const;
335  inline void set_max_repeat(::google::protobuf::uint32 value);
336 
337  // optional bool packed_enum = 11 [default = true];
338  inline bool has_packed_enum() const;
339  inline void clear_packed_enum();
340  static const int kPackedEnumFieldNumber = 11;
341  inline bool packed_enum() const;
342  inline void set_packed_enum(bool value);
343 
344  // optional string description = 20;
345  inline bool has_description() const;
346  inline void clear_description();
347  static const int kDescriptionFieldNumber = 20;
348  inline const ::std::string& description() const;
349  inline void set_description(const ::std::string& value);
350  inline void set_description(const char* value);
351  inline void set_description(const char* value, size_t size);
352  inline ::std::string* mutable_description();
353  inline ::std::string* release_description();
354  inline void set_allocated_description(::std::string* description);
355 
356  // optional .dccl.DCCLFieldOptions.Units units = 30;
357  inline bool has_units() const;
358  inline void clear_units();
359  static const int kUnitsFieldNumber = 30;
360  inline const ::dccl::DCCLFieldOptions_Units& units() const;
361  inline ::dccl::DCCLFieldOptions_Units* mutable_units();
362  inline ::dccl::DCCLFieldOptions_Units* release_units();
363  inline void set_allocated_units(::dccl::DCCLFieldOptions_Units* units);
364 
365  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(DCCLFieldOptions)
366  // @@protoc_insertion_point(class_scope:dccl.DCCLFieldOptions)
367  private:
368  inline void set_has_codec();
369  inline void clear_has_codec();
370  inline void set_has_omit();
371  inline void clear_has_omit();
372  inline void set_has_in_head();
373  inline void clear_has_in_head();
374  inline void set_has_precision();
375  inline void clear_has_precision();
376  inline void set_has_min();
377  inline void clear_has_min();
378  inline void set_has_max();
379  inline void clear_has_max();
380  inline void set_has_num_days();
381  inline void clear_has_num_days();
382  inline void set_has_static_value();
383  inline void clear_has_static_value();
384  inline void set_has_max_length();
385  inline void clear_has_max_length();
386  inline void set_has_max_repeat();
387  inline void clear_has_max_repeat();
388  inline void set_has_packed_enum();
389  inline void clear_has_packed_enum();
390  inline void set_has_description();
391  inline void clear_has_description();
392  inline void set_has_units();
393  inline void clear_has_units();
394 
395  ::google::protobuf::internal::ExtensionSet _extensions_;
396 
397  ::google::protobuf::UnknownFieldSet _unknown_fields_;
398 
399  ::google::protobuf::uint32 _has_bits_[1];
400  mutable int _cached_size_;
401  static ::std::string* _default_codec_;
402  ::std::string* codec_;
403  double min_;
404  ::google::protobuf::int32 precision_;
405  bool omit_;
406  bool in_head_;
407  bool packed_enum_;
408  double max_;
409  ::std::string* static_value_;
410  ::google::protobuf::uint32 num_days_;
411  ::google::protobuf::uint32 max_length_;
412  ::std::string* description_;
413  ::dccl::DCCLFieldOptions_Units* units_;
414  ::google::protobuf::uint32 max_repeat_;
415  friend void protobuf_AddDesc_dccl_2foption_5fextensions_2eproto();
416  friend void protobuf_AssignDesc_dccl_2foption_5fextensions_2eproto();
417  friend void protobuf_ShutdownFile_dccl_2foption_5fextensions_2eproto();
418 
419  void InitAsDefaultInstance();
420  static DCCLFieldOptions* default_instance_;
421 };
422 // -------------------------------------------------------------------
423 
424 class DCCLMessageOptions : public ::google::protobuf::Message {
425  public:
426  DCCLMessageOptions();
427  virtual ~DCCLMessageOptions();
428 
429  DCCLMessageOptions(const DCCLMessageOptions& from);
430 
431  inline DCCLMessageOptions& operator=(const DCCLMessageOptions& from) {
432  CopyFrom(from);
433  return *this;
434  }
435 
436  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
437  return _unknown_fields_;
438  }
439 
440  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
441  return &_unknown_fields_;
442  }
443 
444  static const ::google::protobuf::Descriptor* descriptor();
445  static const DCCLMessageOptions& default_instance();
446 
447  void Swap(DCCLMessageOptions* other);
448 
449  // implements Message ----------------------------------------------
450 
451  DCCLMessageOptions* New() const;
452  void CopyFrom(const ::google::protobuf::Message& from);
453  void MergeFrom(const ::google::protobuf::Message& from);
454  void CopyFrom(const DCCLMessageOptions& from);
455  void MergeFrom(const DCCLMessageOptions& from);
456  void Clear();
457  bool IsInitialized() const;
458 
459  int ByteSize() const;
460  bool MergePartialFromCodedStream(
461  ::google::protobuf::io::CodedInputStream* input);
462  void SerializeWithCachedSizes(
463  ::google::protobuf::io::CodedOutputStream* output) const;
464  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
465  int GetCachedSize() const { return _cached_size_; }
466  private:
467  void SharedCtor();
468  void SharedDtor();
469  void SetCachedSize(int size) const;
470  public:
471  ::google::protobuf::Metadata GetMetadata() const;
472 
473  // nested types ----------------------------------------------------
474 
475  // accessors -------------------------------------------------------
476 
477  // optional int32 id = 1;
478  inline bool has_id() const;
479  inline void clear_id();
480  static const int kIdFieldNumber = 1;
481  inline ::google::protobuf::int32 id() const;
482  inline void set_id(::google::protobuf::int32 value);
483 
484  // optional uint32 max_bytes = 2;
485  inline bool has_max_bytes() const;
486  inline void clear_max_bytes();
487  static const int kMaxBytesFieldNumber = 2;
488  inline ::google::protobuf::uint32 max_bytes() const;
489  inline void set_max_bytes(::google::protobuf::uint32 value);
490 
491  // optional string codec = 3 [default = "dccl.default2"];
492  inline bool has_codec() const;
493  inline void clear_codec();
494  static const int kCodecFieldNumber = 3;
495  inline const ::std::string& codec() const;
496  inline void set_codec(const ::std::string& value);
497  inline void set_codec(const char* value);
498  inline void set_codec(const char* value, size_t size);
499  inline ::std::string* mutable_codec();
500  inline ::std::string* release_codec();
501  inline void set_allocated_codec(::std::string* codec);
502 
503  // optional string codec_group = 4 [default = "dccl.default2"];
504  inline bool has_codec_group() const;
505  inline void clear_codec_group();
506  static const int kCodecGroupFieldNumber = 4;
507  inline const ::std::string& codec_group() const;
508  inline void set_codec_group(const ::std::string& value);
509  inline void set_codec_group(const char* value);
510  inline void set_codec_group(const char* value, size_t size);
511  inline ::std::string* mutable_codec_group();
512  inline ::std::string* release_codec_group();
513  inline void set_allocated_codec_group(::std::string* codec_group);
514 
515  // optional int32 codec_version = 5 [default = 2];
516  inline bool has_codec_version() const;
517  inline void clear_codec_version();
518  static const int kCodecVersionFieldNumber = 5;
519  inline ::google::protobuf::int32 codec_version() const;
520  inline void set_codec_version(::google::protobuf::int32 value);
521 
522  // optional string unit_system = 30 [default = "si"];
523  inline bool has_unit_system() const;
524  inline void clear_unit_system();
525  static const int kUnitSystemFieldNumber = 30;
526  inline const ::std::string& unit_system() const;
527  inline void set_unit_system(const ::std::string& value);
528  inline void set_unit_system(const char* value);
529  inline void set_unit_system(const char* value, size_t size);
530  inline ::std::string* mutable_unit_system();
531  inline ::std::string* release_unit_system();
532  inline void set_allocated_unit_system(::std::string* unit_system);
533 
534  // @@protoc_insertion_point(class_scope:dccl.DCCLMessageOptions)
535  private:
536  inline void set_has_id();
537  inline void clear_has_id();
538  inline void set_has_max_bytes();
539  inline void clear_has_max_bytes();
540  inline void set_has_codec();
541  inline void clear_has_codec();
542  inline void set_has_codec_group();
543  inline void clear_has_codec_group();
544  inline void set_has_codec_version();
545  inline void clear_has_codec_version();
546  inline void set_has_unit_system();
547  inline void clear_has_unit_system();
548 
549  ::google::protobuf::UnknownFieldSet _unknown_fields_;
550 
551  ::google::protobuf::uint32 _has_bits_[1];
552  mutable int _cached_size_;
553  ::google::protobuf::int32 id_;
554  ::google::protobuf::uint32 max_bytes_;
555  static ::std::string* _default_codec_;
556  ::std::string* codec_;
557  static ::std::string* _default_codec_group_;
558  ::std::string* codec_group_;
559  static ::std::string* _default_unit_system_;
560  ::std::string* unit_system_;
561  ::google::protobuf::int32 codec_version_;
562  friend void protobuf_AddDesc_dccl_2foption_5fextensions_2eproto();
563  friend void protobuf_AssignDesc_dccl_2foption_5fextensions_2eproto();
564  friend void protobuf_ShutdownFile_dccl_2foption_5fextensions_2eproto();
565 
566  void InitAsDefaultInstance();
567  static DCCLMessageOptions* default_instance_;
568 };
569 // ===================================================================
570 
571 static const int kFieldFieldNumber = 1012;
572 extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
573  ::google::protobuf::internal::MessageTypeTraits< ::dccl::DCCLFieldOptions >, 11, false >
574  field;
575 static const int kMsgFieldNumber = 1012;
576 extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions,
577  ::google::protobuf::internal::MessageTypeTraits< ::dccl::DCCLMessageOptions >, 11, false >
578  msg;
579 
580 // ===================================================================
581 
582 // DCCLFieldOptions_Units
583 
584 // optional string base_dimensions = 1;
585 inline bool DCCLFieldOptions_Units::has_base_dimensions() const {
586  return (_has_bits_[0] & 0x00000001u) != 0;
587 }
588 inline void DCCLFieldOptions_Units::set_has_base_dimensions() {
589  _has_bits_[0] |= 0x00000001u;
590 }
591 inline void DCCLFieldOptions_Units::clear_has_base_dimensions() {
592  _has_bits_[0] &= ~0x00000001u;
593 }
594 inline void DCCLFieldOptions_Units::clear_base_dimensions() {
595  if (base_dimensions_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
596  base_dimensions_->clear();
597  }
598  clear_has_base_dimensions();
599 }
600 inline const ::std::string& DCCLFieldOptions_Units::base_dimensions() const {
601  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.base_dimensions)
602  return *base_dimensions_;
603 }
604 inline void DCCLFieldOptions_Units::set_base_dimensions(const ::std::string& value) {
605  set_has_base_dimensions();
606  if (base_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
607  base_dimensions_ = new ::std::string;
608  }
609  base_dimensions_->assign(value);
610  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.base_dimensions)
611 }
612 inline void DCCLFieldOptions_Units::set_base_dimensions(const char* value) {
613  set_has_base_dimensions();
614  if (base_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
615  base_dimensions_ = new ::std::string;
616  }
617  base_dimensions_->assign(value);
618  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.Units.base_dimensions)
619 }
620 inline void DCCLFieldOptions_Units::set_base_dimensions(const char* value, size_t size) {
621  set_has_base_dimensions();
622  if (base_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
623  base_dimensions_ = new ::std::string;
624  }
625  base_dimensions_->assign(reinterpret_cast<const char*>(value), size);
626  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.Units.base_dimensions)
627 }
628 inline ::std::string* DCCLFieldOptions_Units::mutable_base_dimensions() {
629  set_has_base_dimensions();
630  if (base_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
631  base_dimensions_ = new ::std::string;
632  }
633  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.Units.base_dimensions)
634  return base_dimensions_;
635 }
636 inline ::std::string* DCCLFieldOptions_Units::release_base_dimensions() {
637  clear_has_base_dimensions();
638  if (base_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
639  return NULL;
640  } else {
641  ::std::string* temp = base_dimensions_;
642  base_dimensions_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
643  return temp;
644  }
645 }
646 inline void DCCLFieldOptions_Units::set_allocated_base_dimensions(::std::string* base_dimensions) {
647  if (base_dimensions_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
648  delete base_dimensions_;
649  }
650  if (base_dimensions) {
651  set_has_base_dimensions();
652  base_dimensions_ = base_dimensions;
653  } else {
654  clear_has_base_dimensions();
655  base_dimensions_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
656  }
657  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.Units.base_dimensions)
658 }
659 
660 // optional string derived_dimensions = 2;
661 inline bool DCCLFieldOptions_Units::has_derived_dimensions() const {
662  return (_has_bits_[0] & 0x00000002u) != 0;
663 }
664 inline void DCCLFieldOptions_Units::set_has_derived_dimensions() {
665  _has_bits_[0] |= 0x00000002u;
666 }
667 inline void DCCLFieldOptions_Units::clear_has_derived_dimensions() {
668  _has_bits_[0] &= ~0x00000002u;
669 }
670 inline void DCCLFieldOptions_Units::clear_derived_dimensions() {
671  if (derived_dimensions_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
672  derived_dimensions_->clear();
673  }
674  clear_has_derived_dimensions();
675 }
676 inline const ::std::string& DCCLFieldOptions_Units::derived_dimensions() const {
677  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.derived_dimensions)
678  return *derived_dimensions_;
679 }
680 inline void DCCLFieldOptions_Units::set_derived_dimensions(const ::std::string& value) {
681  set_has_derived_dimensions();
682  if (derived_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
683  derived_dimensions_ = new ::std::string;
684  }
685  derived_dimensions_->assign(value);
686  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.derived_dimensions)
687 }
688 inline void DCCLFieldOptions_Units::set_derived_dimensions(const char* value) {
689  set_has_derived_dimensions();
690  if (derived_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
691  derived_dimensions_ = new ::std::string;
692  }
693  derived_dimensions_->assign(value);
694  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.Units.derived_dimensions)
695 }
696 inline void DCCLFieldOptions_Units::set_derived_dimensions(const char* value, size_t size) {
697  set_has_derived_dimensions();
698  if (derived_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
699  derived_dimensions_ = new ::std::string;
700  }
701  derived_dimensions_->assign(reinterpret_cast<const char*>(value), size);
702  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.Units.derived_dimensions)
703 }
704 inline ::std::string* DCCLFieldOptions_Units::mutable_derived_dimensions() {
705  set_has_derived_dimensions();
706  if (derived_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
707  derived_dimensions_ = new ::std::string;
708  }
709  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.Units.derived_dimensions)
710  return derived_dimensions_;
711 }
712 inline ::std::string* DCCLFieldOptions_Units::release_derived_dimensions() {
713  clear_has_derived_dimensions();
714  if (derived_dimensions_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
715  return NULL;
716  } else {
717  ::std::string* temp = derived_dimensions_;
718  derived_dimensions_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
719  return temp;
720  }
721 }
722 inline void DCCLFieldOptions_Units::set_allocated_derived_dimensions(::std::string* derived_dimensions) {
723  if (derived_dimensions_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
724  delete derived_dimensions_;
725  }
726  if (derived_dimensions) {
727  set_has_derived_dimensions();
728  derived_dimensions_ = derived_dimensions;
729  } else {
730  clear_has_derived_dimensions();
731  derived_dimensions_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
732  }
733  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.Units.derived_dimensions)
734 }
735 
736 // optional string system = 3 [default = "si"];
737 inline bool DCCLFieldOptions_Units::has_system() const {
738  return (_has_bits_[0] & 0x00000004u) != 0;
739 }
740 inline void DCCLFieldOptions_Units::set_has_system() {
741  _has_bits_[0] |= 0x00000004u;
742 }
743 inline void DCCLFieldOptions_Units::clear_has_system() {
744  _has_bits_[0] &= ~0x00000004u;
745 }
746 inline void DCCLFieldOptions_Units::clear_system() {
747  if (system_ != _default_system_) {
748  system_->assign(*_default_system_);
749  }
750  clear_has_system();
751 }
752 inline const ::std::string& DCCLFieldOptions_Units::system() const {
753  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.system)
754  return *system_;
755 }
756 inline void DCCLFieldOptions_Units::set_system(const ::std::string& value) {
757  set_has_system();
758  if (system_ == _default_system_) {
759  system_ = new ::std::string;
760  }
761  system_->assign(value);
762  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.system)
763 }
764 inline void DCCLFieldOptions_Units::set_system(const char* value) {
765  set_has_system();
766  if (system_ == _default_system_) {
767  system_ = new ::std::string;
768  }
769  system_->assign(value);
770  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.Units.system)
771 }
772 inline void DCCLFieldOptions_Units::set_system(const char* value, size_t size) {
773  set_has_system();
774  if (system_ == _default_system_) {
775  system_ = new ::std::string;
776  }
777  system_->assign(reinterpret_cast<const char*>(value), size);
778  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.Units.system)
779 }
780 inline ::std::string* DCCLFieldOptions_Units::mutable_system() {
781  set_has_system();
782  if (system_ == _default_system_) {
783  system_ = new ::std::string(*_default_system_);
784  }
785  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.Units.system)
786  return system_;
787 }
788 inline ::std::string* DCCLFieldOptions_Units::release_system() {
789  clear_has_system();
790  if (system_ == _default_system_) {
791  return NULL;
792  } else {
793  ::std::string* temp = system_;
794  system_ = const_cast< ::std::string*>(_default_system_);
795  return temp;
796  }
797 }
798 inline void DCCLFieldOptions_Units::set_allocated_system(::std::string* system) {
799  if (system_ != _default_system_) {
800  delete system_;
801  }
802  if (system) {
803  set_has_system();
804  system_ = system;
805  } else {
806  clear_has_system();
807  system_ = const_cast< ::std::string*>(_default_system_);
808  }
809  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.Units.system)
810 }
811 
812 // optional bool relative_temperature = 4 [default = false];
813 inline bool DCCLFieldOptions_Units::has_relative_temperature() const {
814  return (_has_bits_[0] & 0x00000008u) != 0;
815 }
816 inline void DCCLFieldOptions_Units::set_has_relative_temperature() {
817  _has_bits_[0] |= 0x00000008u;
818 }
819 inline void DCCLFieldOptions_Units::clear_has_relative_temperature() {
820  _has_bits_[0] &= ~0x00000008u;
821 }
822 inline void DCCLFieldOptions_Units::clear_relative_temperature() {
823  relative_temperature_ = false;
824  clear_has_relative_temperature();
825 }
826 inline bool DCCLFieldOptions_Units::relative_temperature() const {
827  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.relative_temperature)
828  return relative_temperature_;
829 }
830 inline void DCCLFieldOptions_Units::set_relative_temperature(bool value) {
831  set_has_relative_temperature();
832  relative_temperature_ = value;
833  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.relative_temperature)
834 }
835 
836 // optional string unit = 5;
837 inline bool DCCLFieldOptions_Units::has_unit() const {
838  return (_has_bits_[0] & 0x00000010u) != 0;
839 }
840 inline void DCCLFieldOptions_Units::set_has_unit() {
841  _has_bits_[0] |= 0x00000010u;
842 }
843 inline void DCCLFieldOptions_Units::clear_has_unit() {
844  _has_bits_[0] &= ~0x00000010u;
845 }
846 inline void DCCLFieldOptions_Units::clear_unit() {
847  if (unit_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
848  unit_->clear();
849  }
850  clear_has_unit();
851 }
852 inline const ::std::string& DCCLFieldOptions_Units::unit() const {
853  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.unit)
854  return *unit_;
855 }
856 inline void DCCLFieldOptions_Units::set_unit(const ::std::string& value) {
857  set_has_unit();
858  if (unit_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
859  unit_ = new ::std::string;
860  }
861  unit_->assign(value);
862  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.unit)
863 }
864 inline void DCCLFieldOptions_Units::set_unit(const char* value) {
865  set_has_unit();
866  if (unit_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
867  unit_ = new ::std::string;
868  }
869  unit_->assign(value);
870  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.Units.unit)
871 }
872 inline void DCCLFieldOptions_Units::set_unit(const char* value, size_t size) {
873  set_has_unit();
874  if (unit_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
875  unit_ = new ::std::string;
876  }
877  unit_->assign(reinterpret_cast<const char*>(value), size);
878  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.Units.unit)
879 }
880 inline ::std::string* DCCLFieldOptions_Units::mutable_unit() {
881  set_has_unit();
882  if (unit_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
883  unit_ = new ::std::string;
884  }
885  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.Units.unit)
886  return unit_;
887 }
888 inline ::std::string* DCCLFieldOptions_Units::release_unit() {
889  clear_has_unit();
890  if (unit_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
891  return NULL;
892  } else {
893  ::std::string* temp = unit_;
894  unit_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
895  return temp;
896  }
897 }
898 inline void DCCLFieldOptions_Units::set_allocated_unit(::std::string* unit) {
899  if (unit_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
900  delete unit_;
901  }
902  if (unit) {
903  set_has_unit();
904  unit_ = unit;
905  } else {
906  clear_has_unit();
907  unit_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
908  }
909  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.Units.unit)
910 }
911 
912 // optional string prefix = 6;
913 inline bool DCCLFieldOptions_Units::has_prefix() const {
914  return (_has_bits_[0] & 0x00000020u) != 0;
915 }
916 inline void DCCLFieldOptions_Units::set_has_prefix() {
917  _has_bits_[0] |= 0x00000020u;
918 }
919 inline void DCCLFieldOptions_Units::clear_has_prefix() {
920  _has_bits_[0] &= ~0x00000020u;
921 }
922 inline void DCCLFieldOptions_Units::clear_prefix() {
923  if (prefix_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
924  prefix_->clear();
925  }
926  clear_has_prefix();
927 }
928 inline const ::std::string& DCCLFieldOptions_Units::prefix() const {
929  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.Units.prefix)
930  return *prefix_;
931 }
932 inline void DCCLFieldOptions_Units::set_prefix(const ::std::string& value) {
933  set_has_prefix();
934  if (prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
935  prefix_ = new ::std::string;
936  }
937  prefix_->assign(value);
938  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.Units.prefix)
939 }
940 inline void DCCLFieldOptions_Units::set_prefix(const char* value) {
941  set_has_prefix();
942  if (prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
943  prefix_ = new ::std::string;
944  }
945  prefix_->assign(value);
946  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.Units.prefix)
947 }
948 inline void DCCLFieldOptions_Units::set_prefix(const char* value, size_t size) {
949  set_has_prefix();
950  if (prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
951  prefix_ = new ::std::string;
952  }
953  prefix_->assign(reinterpret_cast<const char*>(value), size);
954  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.Units.prefix)
955 }
956 inline ::std::string* DCCLFieldOptions_Units::mutable_prefix() {
957  set_has_prefix();
958  if (prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
959  prefix_ = new ::std::string;
960  }
961  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.Units.prefix)
962  return prefix_;
963 }
964 inline ::std::string* DCCLFieldOptions_Units::release_prefix() {
965  clear_has_prefix();
966  if (prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
967  return NULL;
968  } else {
969  ::std::string* temp = prefix_;
970  prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
971  return temp;
972  }
973 }
974 inline void DCCLFieldOptions_Units::set_allocated_prefix(::std::string* prefix) {
975  if (prefix_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
976  delete prefix_;
977  }
978  if (prefix) {
979  set_has_prefix();
980  prefix_ = prefix;
981  } else {
982  clear_has_prefix();
983  prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
984  }
985  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.Units.prefix)
986 }
987 
988 // -------------------------------------------------------------------
989 
990 // DCCLFieldOptions
991 
992 // optional string codec = 1 [default = "dccl.default2"];
993 inline bool DCCLFieldOptions::has_codec() const {
994  return (_has_bits_[0] & 0x00000001u) != 0;
995 }
996 inline void DCCLFieldOptions::set_has_codec() {
997  _has_bits_[0] |= 0x00000001u;
998 }
999 inline void DCCLFieldOptions::clear_has_codec() {
1000  _has_bits_[0] &= ~0x00000001u;
1001 }
1002 inline void DCCLFieldOptions::clear_codec() {
1003  if (codec_ != _default_codec_) {
1004  codec_->assign(*_default_codec_);
1005  }
1006  clear_has_codec();
1007 }
1008 inline const ::std::string& DCCLFieldOptions::codec() const {
1009  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.codec)
1010  return *codec_;
1011 }
1012 inline void DCCLFieldOptions::set_codec(const ::std::string& value) {
1013  set_has_codec();
1014  if (codec_ == _default_codec_) {
1015  codec_ = new ::std::string;
1016  }
1017  codec_->assign(value);
1018  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.codec)
1019 }
1020 inline void DCCLFieldOptions::set_codec(const char* value) {
1021  set_has_codec();
1022  if (codec_ == _default_codec_) {
1023  codec_ = new ::std::string;
1024  }
1025  codec_->assign(value);
1026  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.codec)
1027 }
1028 inline void DCCLFieldOptions::set_codec(const char* value, size_t size) {
1029  set_has_codec();
1030  if (codec_ == _default_codec_) {
1031  codec_ = new ::std::string;
1032  }
1033  codec_->assign(reinterpret_cast<const char*>(value), size);
1034  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.codec)
1035 }
1036 inline ::std::string* DCCLFieldOptions::mutable_codec() {
1037  set_has_codec();
1038  if (codec_ == _default_codec_) {
1039  codec_ = new ::std::string(*_default_codec_);
1040  }
1041  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.codec)
1042  return codec_;
1043 }
1044 inline ::std::string* DCCLFieldOptions::release_codec() {
1045  clear_has_codec();
1046  if (codec_ == _default_codec_) {
1047  return NULL;
1048  } else {
1049  ::std::string* temp = codec_;
1050  codec_ = const_cast< ::std::string*>(_default_codec_);
1051  return temp;
1052  }
1053 }
1054 inline void DCCLFieldOptions::set_allocated_codec(::std::string* codec) {
1055  if (codec_ != _default_codec_) {
1056  delete codec_;
1057  }
1058  if (codec) {
1059  set_has_codec();
1060  codec_ = codec;
1061  } else {
1062  clear_has_codec();
1063  codec_ = const_cast< ::std::string*>(_default_codec_);
1064  }
1065  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.codec)
1066 }
1067 
1068 // optional bool omit = 2 [default = false];
1069 inline bool DCCLFieldOptions::has_omit() const {
1070  return (_has_bits_[0] & 0x00000002u) != 0;
1071 }
1072 inline void DCCLFieldOptions::set_has_omit() {
1073  _has_bits_[0] |= 0x00000002u;
1074 }
1075 inline void DCCLFieldOptions::clear_has_omit() {
1076  _has_bits_[0] &= ~0x00000002u;
1077 }
1078 inline void DCCLFieldOptions::clear_omit() {
1079  omit_ = false;
1080  clear_has_omit();
1081 }
1082 inline bool DCCLFieldOptions::omit() const {
1083  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.omit)
1084  return omit_;
1085 }
1086 inline void DCCLFieldOptions::set_omit(bool value) {
1087  set_has_omit();
1088  omit_ = value;
1089  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.omit)
1090 }
1091 
1092 // optional bool in_head = 3 [default = false];
1093 inline bool DCCLFieldOptions::has_in_head() const {
1094  return (_has_bits_[0] & 0x00000004u) != 0;
1095 }
1096 inline void DCCLFieldOptions::set_has_in_head() {
1097  _has_bits_[0] |= 0x00000004u;
1098 }
1099 inline void DCCLFieldOptions::clear_has_in_head() {
1100  _has_bits_[0] &= ~0x00000004u;
1101 }
1102 inline void DCCLFieldOptions::clear_in_head() {
1103  in_head_ = false;
1104  clear_has_in_head();
1105 }
1106 inline bool DCCLFieldOptions::in_head() const {
1107  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.in_head)
1108  return in_head_;
1109 }
1110 inline void DCCLFieldOptions::set_in_head(bool value) {
1111  set_has_in_head();
1112  in_head_ = value;
1113  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.in_head)
1114 }
1115 
1116 // optional int32 precision = 4 [default = 0];
1117 inline bool DCCLFieldOptions::has_precision() const {
1118  return (_has_bits_[0] & 0x00000008u) != 0;
1119 }
1120 inline void DCCLFieldOptions::set_has_precision() {
1121  _has_bits_[0] |= 0x00000008u;
1122 }
1123 inline void DCCLFieldOptions::clear_has_precision() {
1124  _has_bits_[0] &= ~0x00000008u;
1125 }
1126 inline void DCCLFieldOptions::clear_precision() {
1127  precision_ = 0;
1128  clear_has_precision();
1129 }
1130 inline ::google::protobuf::int32 DCCLFieldOptions::precision() const {
1131  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.precision)
1132  return precision_;
1133 }
1134 inline void DCCLFieldOptions::set_precision(::google::protobuf::int32 value) {
1135  set_has_precision();
1136  precision_ = value;
1137  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.precision)
1138 }
1139 
1140 // optional double min = 5 [default = 0];
1141 inline bool DCCLFieldOptions::has_min() const {
1142  return (_has_bits_[0] & 0x00000010u) != 0;
1143 }
1144 inline void DCCLFieldOptions::set_has_min() {
1145  _has_bits_[0] |= 0x00000010u;
1146 }
1147 inline void DCCLFieldOptions::clear_has_min() {
1148  _has_bits_[0] &= ~0x00000010u;
1149 }
1150 inline void DCCLFieldOptions::clear_min() {
1151  min_ = 0;
1152  clear_has_min();
1153 }
1154 inline double DCCLFieldOptions::min() const {
1155  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.min)
1156  return min_;
1157 }
1158 inline void DCCLFieldOptions::set_min(double value) {
1159  set_has_min();
1160  min_ = value;
1161  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.min)
1162 }
1163 
1164 // optional double max = 6 [default = 0];
1165 inline bool DCCLFieldOptions::has_max() const {
1166  return (_has_bits_[0] & 0x00000020u) != 0;
1167 }
1168 inline void DCCLFieldOptions::set_has_max() {
1169  _has_bits_[0] |= 0x00000020u;
1170 }
1171 inline void DCCLFieldOptions::clear_has_max() {
1172  _has_bits_[0] &= ~0x00000020u;
1173 }
1174 inline void DCCLFieldOptions::clear_max() {
1175  max_ = 0;
1176  clear_has_max();
1177 }
1178 inline double DCCLFieldOptions::max() const {
1179  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.max)
1180  return max_;
1181 }
1182 inline void DCCLFieldOptions::set_max(double value) {
1183  set_has_max();
1184  max_ = value;
1185  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.max)
1186 }
1187 
1188 // optional uint32 num_days = 7 [default = 1];
1189 inline bool DCCLFieldOptions::has_num_days() const {
1190  return (_has_bits_[0] & 0x00000040u) != 0;
1191 }
1192 inline void DCCLFieldOptions::set_has_num_days() {
1193  _has_bits_[0] |= 0x00000040u;
1194 }
1195 inline void DCCLFieldOptions::clear_has_num_days() {
1196  _has_bits_[0] &= ~0x00000040u;
1197 }
1198 inline void DCCLFieldOptions::clear_num_days() {
1199  num_days_ = 1u;
1200  clear_has_num_days();
1201 }
1202 inline ::google::protobuf::uint32 DCCLFieldOptions::num_days() const {
1203  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.num_days)
1204  return num_days_;
1205 }
1206 inline void DCCLFieldOptions::set_num_days(::google::protobuf::uint32 value) {
1207  set_has_num_days();
1208  num_days_ = value;
1209  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.num_days)
1210 }
1211 
1212 // optional string static_value = 8 [default = ""];
1213 inline bool DCCLFieldOptions::has_static_value() const {
1214  return (_has_bits_[0] & 0x00000080u) != 0;
1215 }
1216 inline void DCCLFieldOptions::set_has_static_value() {
1217  _has_bits_[0] |= 0x00000080u;
1218 }
1219 inline void DCCLFieldOptions::clear_has_static_value() {
1220  _has_bits_[0] &= ~0x00000080u;
1221 }
1222 inline void DCCLFieldOptions::clear_static_value() {
1223  if (static_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1224  static_value_->clear();
1225  }
1226  clear_has_static_value();
1227 }
1228 inline const ::std::string& DCCLFieldOptions::static_value() const {
1229  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.static_value)
1230  return *static_value_;
1231 }
1232 inline void DCCLFieldOptions::set_static_value(const ::std::string& value) {
1233  set_has_static_value();
1234  if (static_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1235  static_value_ = new ::std::string;
1236  }
1237  static_value_->assign(value);
1238  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.static_value)
1239 }
1240 inline void DCCLFieldOptions::set_static_value(const char* value) {
1241  set_has_static_value();
1242  if (static_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1243  static_value_ = new ::std::string;
1244  }
1245  static_value_->assign(value);
1246  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.static_value)
1247 }
1248 inline void DCCLFieldOptions::set_static_value(const char* value, size_t size) {
1249  set_has_static_value();
1250  if (static_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1251  static_value_ = new ::std::string;
1252  }
1253  static_value_->assign(reinterpret_cast<const char*>(value), size);
1254  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.static_value)
1255 }
1256 inline ::std::string* DCCLFieldOptions::mutable_static_value() {
1257  set_has_static_value();
1258  if (static_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1259  static_value_ = new ::std::string;
1260  }
1261  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.static_value)
1262  return static_value_;
1263 }
1264 inline ::std::string* DCCLFieldOptions::release_static_value() {
1265  clear_has_static_value();
1266  if (static_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1267  return NULL;
1268  } else {
1269  ::std::string* temp = static_value_;
1270  static_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1271  return temp;
1272  }
1273 }
1274 inline void DCCLFieldOptions::set_allocated_static_value(::std::string* static_value) {
1275  if (static_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1276  delete static_value_;
1277  }
1278  if (static_value) {
1279  set_has_static_value();
1280  static_value_ = static_value;
1281  } else {
1282  clear_has_static_value();
1283  static_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1284  }
1285  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.static_value)
1286 }
1287 
1288 // optional uint32 max_length = 9 [default = 0];
1289 inline bool DCCLFieldOptions::has_max_length() const {
1290  return (_has_bits_[0] & 0x00000100u) != 0;
1291 }
1292 inline void DCCLFieldOptions::set_has_max_length() {
1293  _has_bits_[0] |= 0x00000100u;
1294 }
1295 inline void DCCLFieldOptions::clear_has_max_length() {
1296  _has_bits_[0] &= ~0x00000100u;
1297 }
1298 inline void DCCLFieldOptions::clear_max_length() {
1299  max_length_ = 0u;
1300  clear_has_max_length();
1301 }
1302 inline ::google::protobuf::uint32 DCCLFieldOptions::max_length() const {
1303  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.max_length)
1304  return max_length_;
1305 }
1306 inline void DCCLFieldOptions::set_max_length(::google::protobuf::uint32 value) {
1307  set_has_max_length();
1308  max_length_ = value;
1309  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.max_length)
1310 }
1311 
1312 // optional uint32 max_repeat = 10 [default = 1];
1313 inline bool DCCLFieldOptions::has_max_repeat() const {
1314  return (_has_bits_[0] & 0x00000200u) != 0;
1315 }
1316 inline void DCCLFieldOptions::set_has_max_repeat() {
1317  _has_bits_[0] |= 0x00000200u;
1318 }
1319 inline void DCCLFieldOptions::clear_has_max_repeat() {
1320  _has_bits_[0] &= ~0x00000200u;
1321 }
1322 inline void DCCLFieldOptions::clear_max_repeat() {
1323  max_repeat_ = 1u;
1324  clear_has_max_repeat();
1325 }
1326 inline ::google::protobuf::uint32 DCCLFieldOptions::max_repeat() const {
1327  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.max_repeat)
1328  return max_repeat_;
1329 }
1330 inline void DCCLFieldOptions::set_max_repeat(::google::protobuf::uint32 value) {
1331  set_has_max_repeat();
1332  max_repeat_ = value;
1333  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.max_repeat)
1334 }
1335 
1336 // optional bool packed_enum = 11 [default = true];
1337 inline bool DCCLFieldOptions::has_packed_enum() const {
1338  return (_has_bits_[0] & 0x00000400u) != 0;
1339 }
1340 inline void DCCLFieldOptions::set_has_packed_enum() {
1341  _has_bits_[0] |= 0x00000400u;
1342 }
1343 inline void DCCLFieldOptions::clear_has_packed_enum() {
1344  _has_bits_[0] &= ~0x00000400u;
1345 }
1346 inline void DCCLFieldOptions::clear_packed_enum() {
1347  packed_enum_ = true;
1348  clear_has_packed_enum();
1349 }
1350 inline bool DCCLFieldOptions::packed_enum() const {
1351  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.packed_enum)
1352  return packed_enum_;
1353 }
1354 inline void DCCLFieldOptions::set_packed_enum(bool value) {
1355  set_has_packed_enum();
1356  packed_enum_ = value;
1357  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.packed_enum)
1358 }
1359 
1360 // optional string description = 20;
1361 inline bool DCCLFieldOptions::has_description() const {
1362  return (_has_bits_[0] & 0x00000800u) != 0;
1363 }
1364 inline void DCCLFieldOptions::set_has_description() {
1365  _has_bits_[0] |= 0x00000800u;
1366 }
1367 inline void DCCLFieldOptions::clear_has_description() {
1368  _has_bits_[0] &= ~0x00000800u;
1369 }
1370 inline void DCCLFieldOptions::clear_description() {
1371  if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1372  description_->clear();
1373  }
1374  clear_has_description();
1375 }
1376 inline const ::std::string& DCCLFieldOptions::description() const {
1377  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.description)
1378  return *description_;
1379 }
1380 inline void DCCLFieldOptions::set_description(const ::std::string& value) {
1381  set_has_description();
1382  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1383  description_ = new ::std::string;
1384  }
1385  description_->assign(value);
1386  // @@protoc_insertion_point(field_set:dccl.DCCLFieldOptions.description)
1387 }
1388 inline void DCCLFieldOptions::set_description(const char* value) {
1389  set_has_description();
1390  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1391  description_ = new ::std::string;
1392  }
1393  description_->assign(value);
1394  // @@protoc_insertion_point(field_set_char:dccl.DCCLFieldOptions.description)
1395 }
1396 inline void DCCLFieldOptions::set_description(const char* value, size_t size) {
1397  set_has_description();
1398  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1399  description_ = new ::std::string;
1400  }
1401  description_->assign(reinterpret_cast<const char*>(value), size);
1402  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLFieldOptions.description)
1403 }
1404 inline ::std::string* DCCLFieldOptions::mutable_description() {
1405  set_has_description();
1406  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1407  description_ = new ::std::string;
1408  }
1409  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.description)
1410  return description_;
1411 }
1412 inline ::std::string* DCCLFieldOptions::release_description() {
1413  clear_has_description();
1414  if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1415  return NULL;
1416  } else {
1417  ::std::string* temp = description_;
1418  description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1419  return temp;
1420  }
1421 }
1422 inline void DCCLFieldOptions::set_allocated_description(::std::string* description) {
1423  if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1424  delete description_;
1425  }
1426  if (description) {
1427  set_has_description();
1428  description_ = description;
1429  } else {
1430  clear_has_description();
1431  description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1432  }
1433  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.description)
1434 }
1435 
1436 // optional .dccl.DCCLFieldOptions.Units units = 30;
1437 inline bool DCCLFieldOptions::has_units() const {
1438  return (_has_bits_[0] & 0x00001000u) != 0;
1439 }
1440 inline void DCCLFieldOptions::set_has_units() {
1441  _has_bits_[0] |= 0x00001000u;
1442 }
1443 inline void DCCLFieldOptions::clear_has_units() {
1444  _has_bits_[0] &= ~0x00001000u;
1445 }
1446 inline void DCCLFieldOptions::clear_units() {
1447  if (units_ != NULL) units_->::dccl::DCCLFieldOptions_Units::Clear();
1448  clear_has_units();
1449 }
1450 inline const ::dccl::DCCLFieldOptions_Units& DCCLFieldOptions::units() const {
1451  // @@protoc_insertion_point(field_get:dccl.DCCLFieldOptions.units)
1452  return units_ != NULL ? *units_ : *default_instance_->units_;
1453 }
1454 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::mutable_units() {
1455  set_has_units();
1456  if (units_ == NULL) units_ = new ::dccl::DCCLFieldOptions_Units;
1457  // @@protoc_insertion_point(field_mutable:dccl.DCCLFieldOptions.units)
1458  return units_;
1459 }
1460 inline ::dccl::DCCLFieldOptions_Units* DCCLFieldOptions::release_units() {
1461  clear_has_units();
1462  ::dccl::DCCLFieldOptions_Units* temp = units_;
1463  units_ = NULL;
1464  return temp;
1465 }
1466 inline void DCCLFieldOptions::set_allocated_units(::dccl::DCCLFieldOptions_Units* units) {
1467  delete units_;
1468  units_ = units;
1469  if (units) {
1470  set_has_units();
1471  } else {
1472  clear_has_units();
1473  }
1474  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLFieldOptions.units)
1475 }
1476 
1477 // -------------------------------------------------------------------
1478 
1479 // DCCLMessageOptions
1480 
1481 // optional int32 id = 1;
1482 inline bool DCCLMessageOptions::has_id() const {
1483  return (_has_bits_[0] & 0x00000001u) != 0;
1484 }
1485 inline void DCCLMessageOptions::set_has_id() {
1486  _has_bits_[0] |= 0x00000001u;
1487 }
1488 inline void DCCLMessageOptions::clear_has_id() {
1489  _has_bits_[0] &= ~0x00000001u;
1490 }
1491 inline void DCCLMessageOptions::clear_id() {
1492  id_ = 0;
1493  clear_has_id();
1494 }
1495 inline ::google::protobuf::int32 DCCLMessageOptions::id() const {
1496  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.id)
1497  return id_;
1498 }
1499 inline void DCCLMessageOptions::set_id(::google::protobuf::int32 value) {
1500  set_has_id();
1501  id_ = value;
1502  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.id)
1503 }
1504 
1505 // optional uint32 max_bytes = 2;
1506 inline bool DCCLMessageOptions::has_max_bytes() const {
1507  return (_has_bits_[0] & 0x00000002u) != 0;
1508 }
1509 inline void DCCLMessageOptions::set_has_max_bytes() {
1510  _has_bits_[0] |= 0x00000002u;
1511 }
1512 inline void DCCLMessageOptions::clear_has_max_bytes() {
1513  _has_bits_[0] &= ~0x00000002u;
1514 }
1515 inline void DCCLMessageOptions::clear_max_bytes() {
1516  max_bytes_ = 0u;
1517  clear_has_max_bytes();
1518 }
1519 inline ::google::protobuf::uint32 DCCLMessageOptions::max_bytes() const {
1520  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.max_bytes)
1521  return max_bytes_;
1522 }
1523 inline void DCCLMessageOptions::set_max_bytes(::google::protobuf::uint32 value) {
1524  set_has_max_bytes();
1525  max_bytes_ = value;
1526  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.max_bytes)
1527 }
1528 
1529 // optional string codec = 3 [default = "dccl.default2"];
1530 inline bool DCCLMessageOptions::has_codec() const {
1531  return (_has_bits_[0] & 0x00000004u) != 0;
1532 }
1533 inline void DCCLMessageOptions::set_has_codec() {
1534  _has_bits_[0] |= 0x00000004u;
1535 }
1536 inline void DCCLMessageOptions::clear_has_codec() {
1537  _has_bits_[0] &= ~0x00000004u;
1538 }
1539 inline void DCCLMessageOptions::clear_codec() {
1540  if (codec_ != _default_codec_) {
1541  codec_->assign(*_default_codec_);
1542  }
1543  clear_has_codec();
1544 }
1545 inline const ::std::string& DCCLMessageOptions::codec() const {
1546  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.codec)
1547  return *codec_;
1548 }
1549 inline void DCCLMessageOptions::set_codec(const ::std::string& value) {
1550  set_has_codec();
1551  if (codec_ == _default_codec_) {
1552  codec_ = new ::std::string;
1553  }
1554  codec_->assign(value);
1555  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.codec)
1556 }
1557 inline void DCCLMessageOptions::set_codec(const char* value) {
1558  set_has_codec();
1559  if (codec_ == _default_codec_) {
1560  codec_ = new ::std::string;
1561  }
1562  codec_->assign(value);
1563  // @@protoc_insertion_point(field_set_char:dccl.DCCLMessageOptions.codec)
1564 }
1565 inline void DCCLMessageOptions::set_codec(const char* value, size_t size) {
1566  set_has_codec();
1567  if (codec_ == _default_codec_) {
1568  codec_ = new ::std::string;
1569  }
1570  codec_->assign(reinterpret_cast<const char*>(value), size);
1571  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLMessageOptions.codec)
1572 }
1573 inline ::std::string* DCCLMessageOptions::mutable_codec() {
1574  set_has_codec();
1575  if (codec_ == _default_codec_) {
1576  codec_ = new ::std::string(*_default_codec_);
1577  }
1578  // @@protoc_insertion_point(field_mutable:dccl.DCCLMessageOptions.codec)
1579  return codec_;
1580 }
1581 inline ::std::string* DCCLMessageOptions::release_codec() {
1582  clear_has_codec();
1583  if (codec_ == _default_codec_) {
1584  return NULL;
1585  } else {
1586  ::std::string* temp = codec_;
1587  codec_ = const_cast< ::std::string*>(_default_codec_);
1588  return temp;
1589  }
1590 }
1591 inline void DCCLMessageOptions::set_allocated_codec(::std::string* codec) {
1592  if (codec_ != _default_codec_) {
1593  delete codec_;
1594  }
1595  if (codec) {
1596  set_has_codec();
1597  codec_ = codec;
1598  } else {
1599  clear_has_codec();
1600  codec_ = const_cast< ::std::string*>(_default_codec_);
1601  }
1602  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLMessageOptions.codec)
1603 }
1604 
1605 // optional string codec_group = 4 [default = "dccl.default2"];
1606 inline bool DCCLMessageOptions::has_codec_group() const {
1607  return (_has_bits_[0] & 0x00000008u) != 0;
1608 }
1609 inline void DCCLMessageOptions::set_has_codec_group() {
1610  _has_bits_[0] |= 0x00000008u;
1611 }
1612 inline void DCCLMessageOptions::clear_has_codec_group() {
1613  _has_bits_[0] &= ~0x00000008u;
1614 }
1615 inline void DCCLMessageOptions::clear_codec_group() {
1616  if (codec_group_ != _default_codec_group_) {
1617  codec_group_->assign(*_default_codec_group_);
1618  }
1619  clear_has_codec_group();
1620 }
1621 inline const ::std::string& DCCLMessageOptions::codec_group() const {
1622  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.codec_group)
1623  return *codec_group_;
1624 }
1625 inline void DCCLMessageOptions::set_codec_group(const ::std::string& value) {
1626  set_has_codec_group();
1627  if (codec_group_ == _default_codec_group_) {
1628  codec_group_ = new ::std::string;
1629  }
1630  codec_group_->assign(value);
1631  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.codec_group)
1632 }
1633 inline void DCCLMessageOptions::set_codec_group(const char* value) {
1634  set_has_codec_group();
1635  if (codec_group_ == _default_codec_group_) {
1636  codec_group_ = new ::std::string;
1637  }
1638  codec_group_->assign(value);
1639  // @@protoc_insertion_point(field_set_char:dccl.DCCLMessageOptions.codec_group)
1640 }
1641 inline void DCCLMessageOptions::set_codec_group(const char* value, size_t size) {
1642  set_has_codec_group();
1643  if (codec_group_ == _default_codec_group_) {
1644  codec_group_ = new ::std::string;
1645  }
1646  codec_group_->assign(reinterpret_cast<const char*>(value), size);
1647  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLMessageOptions.codec_group)
1648 }
1649 inline ::std::string* DCCLMessageOptions::mutable_codec_group() {
1650  set_has_codec_group();
1651  if (codec_group_ == _default_codec_group_) {
1652  codec_group_ = new ::std::string(*_default_codec_group_);
1653  }
1654  // @@protoc_insertion_point(field_mutable:dccl.DCCLMessageOptions.codec_group)
1655  return codec_group_;
1656 }
1657 inline ::std::string* DCCLMessageOptions::release_codec_group() {
1658  clear_has_codec_group();
1659  if (codec_group_ == _default_codec_group_) {
1660  return NULL;
1661  } else {
1662  ::std::string* temp = codec_group_;
1663  codec_group_ = const_cast< ::std::string*>(_default_codec_group_);
1664  return temp;
1665  }
1666 }
1667 inline void DCCLMessageOptions::set_allocated_codec_group(::std::string* codec_group) {
1668  if (codec_group_ != _default_codec_group_) {
1669  delete codec_group_;
1670  }
1671  if (codec_group) {
1672  set_has_codec_group();
1673  codec_group_ = codec_group;
1674  } else {
1675  clear_has_codec_group();
1676  codec_group_ = const_cast< ::std::string*>(_default_codec_group_);
1677  }
1678  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLMessageOptions.codec_group)
1679 }
1680 
1681 // optional int32 codec_version = 5 [default = 2];
1682 inline bool DCCLMessageOptions::has_codec_version() const {
1683  return (_has_bits_[0] & 0x00000010u) != 0;
1684 }
1685 inline void DCCLMessageOptions::set_has_codec_version() {
1686  _has_bits_[0] |= 0x00000010u;
1687 }
1688 inline void DCCLMessageOptions::clear_has_codec_version() {
1689  _has_bits_[0] &= ~0x00000010u;
1690 }
1691 inline void DCCLMessageOptions::clear_codec_version() {
1692  codec_version_ = 2;
1693  clear_has_codec_version();
1694 }
1695 inline ::google::protobuf::int32 DCCLMessageOptions::codec_version() const {
1696  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.codec_version)
1697  return codec_version_;
1698 }
1699 inline void DCCLMessageOptions::set_codec_version(::google::protobuf::int32 value) {
1700  set_has_codec_version();
1701  codec_version_ = value;
1702  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.codec_version)
1703 }
1704 
1705 // optional string unit_system = 30 [default = "si"];
1706 inline bool DCCLMessageOptions::has_unit_system() const {
1707  return (_has_bits_[0] & 0x00000020u) != 0;
1708 }
1709 inline void DCCLMessageOptions::set_has_unit_system() {
1710  _has_bits_[0] |= 0x00000020u;
1711 }
1712 inline void DCCLMessageOptions::clear_has_unit_system() {
1713  _has_bits_[0] &= ~0x00000020u;
1714 }
1715 inline void DCCLMessageOptions::clear_unit_system() {
1716  if (unit_system_ != _default_unit_system_) {
1717  unit_system_->assign(*_default_unit_system_);
1718  }
1719  clear_has_unit_system();
1720 }
1721 inline const ::std::string& DCCLMessageOptions::unit_system() const {
1722  // @@protoc_insertion_point(field_get:dccl.DCCLMessageOptions.unit_system)
1723  return *unit_system_;
1724 }
1725 inline void DCCLMessageOptions::set_unit_system(const ::std::string& value) {
1726  set_has_unit_system();
1727  if (unit_system_ == _default_unit_system_) {
1728  unit_system_ = new ::std::string;
1729  }
1730  unit_system_->assign(value);
1731  // @@protoc_insertion_point(field_set:dccl.DCCLMessageOptions.unit_system)
1732 }
1733 inline void DCCLMessageOptions::set_unit_system(const char* value) {
1734  set_has_unit_system();
1735  if (unit_system_ == _default_unit_system_) {
1736  unit_system_ = new ::std::string;
1737  }
1738  unit_system_->assign(value);
1739  // @@protoc_insertion_point(field_set_char:dccl.DCCLMessageOptions.unit_system)
1740 }
1741 inline void DCCLMessageOptions::set_unit_system(const char* value, size_t size) {
1742  set_has_unit_system();
1743  if (unit_system_ == _default_unit_system_) {
1744  unit_system_ = new ::std::string;
1745  }
1746  unit_system_->assign(reinterpret_cast<const char*>(value), size);
1747  // @@protoc_insertion_point(field_set_pointer:dccl.DCCLMessageOptions.unit_system)
1748 }
1749 inline ::std::string* DCCLMessageOptions::mutable_unit_system() {
1750  set_has_unit_system();
1751  if (unit_system_ == _default_unit_system_) {
1752  unit_system_ = new ::std::string(*_default_unit_system_);
1753  }
1754  // @@protoc_insertion_point(field_mutable:dccl.DCCLMessageOptions.unit_system)
1755  return unit_system_;
1756 }
1757 inline ::std::string* DCCLMessageOptions::release_unit_system() {
1758  clear_has_unit_system();
1759  if (unit_system_ == _default_unit_system_) {
1760  return NULL;
1761  } else {
1762  ::std::string* temp = unit_system_;
1763  unit_system_ = const_cast< ::std::string*>(_default_unit_system_);
1764  return temp;
1765  }
1766 }
1767 inline void DCCLMessageOptions::set_allocated_unit_system(::std::string* unit_system) {
1768  if (unit_system_ != _default_unit_system_) {
1769  delete unit_system_;
1770  }
1771  if (unit_system) {
1772  set_has_unit_system();
1773  unit_system_ = unit_system;
1774  } else {
1775  clear_has_unit_system();
1776  unit_system_ = const_cast< ::std::string*>(_default_unit_system_);
1777  }
1778  // @@protoc_insertion_point(field_set_allocated:dccl.DCCLMessageOptions.unit_system)
1779 }
1780 
1781 
1782 // @@protoc_insertion_point(namespace_scope)
1783 
1784 } // namespace dccl
1785 
1786 #ifndef SWIG
1787 namespace google {
1788 namespace protobuf {
1789 
1790 
1791 } // namespace google
1792 } // namespace protobuf
1793 #endif // SWIG
1794 
1795 // @@protoc_insertion_point(global_scope)
1796 
1797 #endif // PROTOBUF_dccl_2foption_5fextensions_2eproto__INCLUDED
STL namespace.
google::protobuf::uint32 uint32
an unsigned 32 bit integer
Definition: common.h:55
Dynamic Compact Control Language namespace.
google::protobuf::int32 int32
a signed 32 bit integer
Definition: common.h:57