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