aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/InputCoordinates.pb.h
blob: 4f5db660de318041879fa17db43263b29e3b496d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: InputCoordinates.proto

#ifndef PROTOBUF_InputCoordinates_2eproto__INCLUDED
#define PROTOBUF_InputCoordinates_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 3004000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please update
#error your headers.
#endif
#if 3004000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
#include "InputLiquid.pb.h"
// @@protoc_insertion_point(includes)
namespace Tango {
namespace PMR {
namespace ColorLab {
class InputCoordinates;
class InputCoordinatesDefaultTypeInternal;
extern InputCoordinatesDefaultTypeInternal _InputCoordinates_default_instance_;
}  // namespace ColorLab
}  // namespace PMR
}  // namespace Tango

namespace Tango {
namespace PMR {
namespace ColorLab {

namespace protobuf_InputCoordinates_2eproto {
// Internal implementation detail -- do not call these.
struct TableStruct {
  static const ::google::protobuf::internal::ParseTableField entries[];
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  static const ::google::protobuf::internal::ParseTable schema[];
  static const ::google::protobuf::uint32 offsets[];
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
  static void InitDefaultsImpl();
};
void AddDescriptors();
void InitDefaults();
}  // namespace protobuf_InputCoordinates_2eproto

// ===================================================================

class InputCoordinates : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Tango.PMR.ColorLab.InputCoordinates) */ {
 public:
  InputCoordinates();
  virtual ~InputCoordinates();

  InputCoordinates(const InputCoordinates& from);

  inline InputCoordinates& operator=(const InputCoordinates& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  InputCoordinates(InputCoordinates&& from) noexcept
    : InputCoordinates() {
    *this = ::std::move(from);
  }

  inline InputCoordinates& operator=(InputCoordinates&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  static const ::google::protobuf::Descriptor* descriptor();
  static const InputCoordinates& default_instance();

  static inline const InputCoordinates* internal_default_instance() {
    return reinterpret_cast<const InputCoordinates*>(
               &_InputCoordinates_default_instance_);
  }
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
    0;

  void Swap(InputCoordinates* other);
  friend void swap(InputCoordinates& a, InputCoordinates& b) {
    a.Swap(&b);
  }

  // implements Message ----------------------------------------------

  inline InputCoordinates* New() const PROTOBUF_FINAL { return New(NULL); }

  InputCoordinates* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void CopyFrom(const InputCoordinates& from);
  void MergeFrom(const InputCoordinates& from);
  void Clear() PROTOBUF_FINAL;
  bool IsInitialized() const PROTOBUF_FINAL;

  size_t ByteSizeLong() const PROTOBUF_FINAL;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const PROTOBUF_FINAL;
  void InternalSwap(InputCoordinates* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // repeated .Tango.PMR.ColorLab.InputLiquid InputLiquids = 13;
  int inputliquids_size() const;
  void clear_inputliquids();
  static const int kInputLiquidsFieldNumber = 13;
  const ::Tango::PMR::ColorLab::InputLiquid& inputliquids(int index) const;
  ::Tango::PMR::ColorLab::InputLiquid* mutable_inputliquids(int index);
  ::Tango::PMR::ColorLab::InputLiquid* add_inputliquids();
  ::google::protobuf::RepeatedPtrField< ::Tango::PMR::ColorLab::InputLiquid >*
      mutable_inputliquids();
  const ::google::protobuf::RepeatedPtrField< ::Tango::PMR::ColorLab::InputLiquid >&
      inputliquids() const;

  // double Length = 1;
  void clear_length();
  static const int kLengthFieldNumber = 1;
  double length() const;
  void set_length(double value);

  // int32 Red = 2;
  void clear_red();
  static const int kRedFieldNumber = 2;
  ::google::protobuf::int32 red() const;
  void set_red(::google::protobuf::int32 value);

  // int32 Green = 3;
  void clear_green();
  static const int kGreenFieldNumber = 3;
  ::google::protobuf::int32 green() const;
  void set_green(::google::protobuf::int32 value);

  // double Cyan = 5;
  void clear_cyan();
  static const int kCyanFieldNumber = 5;
  double cyan() const;
  void set_cyan(double value);

  // double Magenta = 6;
  void clear_magenta();
  static const int kMagentaFieldNumber = 6;
  double magenta() const;
  void set_magenta(double value);

  // double Yellow = 7;
  void clear_yellow();
  static const int kYellowFieldNumber = 7;
  double yellow() const;
  void set_yellow(double value);

  // double Key = 8;
  void clear_key();
  static const int kKeyFieldNumber = 8;
  double key() const;
  void set_key(double value);

  // int32 Blue = 4;
  void clear_blue();
  static const int kBlueFieldNumber = 4;
  ::google::protobuf::int32 blue() const;
  void set_blue(::google::protobuf::int32 value);

  // int32 PantonCode = 12;
  void clear_pantoncode();
  static const int kPantonCodeFieldNumber = 12;
  ::google::protobuf::int32 pantoncode() const;
  void set_pantoncode(::google::protobuf::int32 value);

  // double L = 9;
  void clear_l();
  static const int kLFieldNumber = 9;
  double l() const;
  void set_l(double value);

  // double A = 10;
  void clear_a();
  static const int kAFieldNumber = 10;
  double a() const;
  void set_a(double value);

  // double B = 11;
  void clear_b();
  static const int kBFieldNumber = 11;
  double b() const;
  void set_b(double value);

  // @@protoc_insertion_point(class_scope:Tango.PMR.ColorLab.InputCoordinates)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::RepeatedPtrField< ::Tango::PMR::ColorLab::InputLiquid > inputliquids_;
  double length_;
  ::google::protobuf::int32 red_;
  ::google::protobuf::int32 green_;
  double cyan_;
  double magenta_;
  double yellow_;
  double key_;
  ::google::protobuf::int32 blue_;
  ::google::protobuf::int32 pantoncode_;
  double l_;
  double a_;
  double b_;
  mutable int _cached_size_;
  friend struct protobuf_InputCoordinates_2eproto::TableStruct;
};
// ===================================================================


// ===================================================================

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// InputCoordinates

// double Length = 1;
inline void InputCoordinates::clear_length() {
  length_ = 0;
}
inline double InputCoordinates::length() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.Length)
  return length_;
}
inline void InputCoordinates::set_length(double value) {
  
  length_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.Length)
}

// int32 Red = 2;
inline void InputCoordinates::clear_red() {
  red_ = 0;
}
inline ::google::protobuf::int32 InputCoordinates::red() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.Red)
  return red_;
}
inline void InputCoordinates::set_red(::google::protobuf::int32 value) {
  
  red_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.Red)
}

// int32 Green = 3;
inline void InputCoordinates::clear_green() {
  green_ = 0;
}
inline ::google::protobuf::int32 InputCoordinates::green() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.Green)
  return green_;
}
inline void InputCoordinates::set_green(::google::protobuf::int32 value) {
  
  green_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.Green)
}

// int32 Blue = 4;
inline void InputCoordinates::clear_blue() {
  blue_ = 0;
}
inline ::google::protobuf::int32 InputCoordinates::blue() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.Blue)
  return blue_;
}
inline void InputCoordinates::set_blue(::google::protobuf::int32 value) {
  
  blue_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.Blue)
}

// double Cyan = 5;
inline void InputCoordinates::clear_cyan() {
  cyan_ = 0;
}
inline double InputCoordinates::cyan() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.Cyan)
  return cyan_;
}
inline void InputCoordinates::set_cyan(double value) {
  
  cyan_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.Cyan)
}

// double Magenta = 6;
inline void InputCoordinates::clear_magenta() {
  magenta_ = 0;
}
inline double InputCoordinates::magenta() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.Magenta)
  return magenta_;
}
inline void InputCoordinates::set_magenta(double value) {
  
  magenta_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.Magenta)
}

// double Yellow = 7;
inline void InputCoordinates::clear_yellow() {
  yellow_ = 0;
}
inline double InputCoordinates::yellow() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.Yellow)
  return yellow_;
}
inline void InputCoordinates::set_yellow(double value) {
  
  yellow_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.Yellow)
}

// double Key = 8;
inline void InputCoordinates::clear_key() {
  key_ = 0;
}
inline double InputCoordinates::key() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.Key)
  return key_;
}
inline void InputCoordinates::set_key(double value) {
  
  key_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.Key)
}

// double L = 9;
inline void InputCoordinates::clear_l() {
  l_ = 0;
}
inline double InputCoordinates::l() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.L)
  return l_;
}
inline void InputCoordinates::set_l(double value) {
  
  l_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.L)
}

// double A = 10;
inline void InputCoordinates::clear_a() {
  a_ = 0;
}
inline double InputCoordinates::a() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.A)
  return a_;
}
inline void InputCoordinates::set_a(double value) {
  
  a_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.A)
}

// double B = 11;
inline void InputCoordinates::clear_b() {
  b_ = 0;
}
inline double InputCoordinates::b() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.B)
  return b_;
}
inline void InputCoordinates::set_b(double value) {
  
  b_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.B)
}

// int32 PantonCode = 12;
inline void InputCoordinates::clear_pantoncode() {
  pantoncode_ = 0;
}
inline ::google::protobuf::int32 InputCoordinates::pantoncode() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.PantonCode)
  return pantoncode_;
}
inline void InputCoordinates::set_pantoncode(::google::protobuf::int32 value) {
  
  pantoncode_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.InputCoordinates.PantonCode)
}

// repeated .Tango.PMR.ColorLab.InputLiquid InputLiquids = 13;
inline int InputCoordinates::inputliquids_size() const {
  return inputliquids_.size();
}
inline void InputCoordinates::clear_inputliquids() {
  inputliquids_.Clear();
}
inline const ::Tango::PMR::ColorLab::InputLiquid& InputCoordinates::inputliquids(int index) const {
  // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.InputCoordinates.InputLiquids)
  return inputliquids_.Get(index);
}
inline ::Tango::PMR::ColorLab::InputLiquid* InputCoordinates::mutable_inputliquids(int index) {
  // @@protoc_insertion_point(field_mutable:Tango.PMR.ColorLab.InputCoordinates.InputLiquids)
  return inputliquids_.Mutable(index);
}
inline ::Tango::PMR::ColorLab::InputLiquid* InputCoordinates::add_inputliquids() {
  // @@protoc_insertion_point(field_add:Tango.PMR.ColorLab.InputCoordinates.InputLiquids)
  return inputliquids_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::Tango::PMR::ColorLab::InputLiquid >*
InputCoordinates::mutable_inputliquids() {
  // @@protoc_insertion_point(field_mutable_list:Tango.PMR.ColorLab.InputCoordinates.InputLiquids)
  return &inputliquids_;
}
inline const ::google::protobuf::RepeatedPtrField< ::Tango::PMR::ColorLab::InputLiquid >&
InputCoordinates::inputliquids() const {
  // @@protoc_insertion_point(field_list:Tango.PMR.ColorLab.InputCoordinates.InputLiquids)
  return inputliquids_;
}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
#endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)


}  // namespace ColorLab
}  // namespace PMR
}  // namespace Tango

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_InputCoordinates_2eproto__INCLUDED