LRT13
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
ComponentData
robotdata.pb.h
1
// Generated by the protocol buffer compiler. DO NOT EDIT!
2
// source: robotdata.proto
3
4
/*
5
#ifndef PROTOBUF_robotdata_2eproto__INCLUDED
6
#define PROTOBUF_robotdata_2eproto__INCLUDED
7
8
#include <string>
9
10
#include "../Network/protobuf/stubs/common.h"
11
12
#if GOOGLE_PROTOBUF_VERSION < 2004000
13
#error This file was generated by a newer version of protoc which is
14
#error incompatible with your Protocol Buffer headers. Please update
15
#error your headers.
16
#endif
17
#if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
18
#error This file was generated by an older version of protoc which is
19
#error incompatible with your Protocol Buffer headers. Please
20
#error regenerate this file with a newer version of protoc.
21
#endif
22
23
#include "../Network/protobuf/generated_message_util.h"
24
#include "../Network/protobuf/repeated_field.h"
25
#include "../Network/protobuf/extension_set.h"
26
27
// @@protoc_insertion_point(includes)
28
29
namespace data {
30
31
// Internal implementation detail -- do not call these.
32
void protobuf_AddDesc_robotdata_2eproto();
33
void protobuf_AssignDesc_robotdata_2eproto();
34
void protobuf_ShutdownFile_robotdata_2eproto();
35
36
class DataMessage;
37
class DataMessage_IndexToTypeMapMessage;
38
class DataMessage_IndexToValueMapMessage;
39
class CompleteMessage;
40
41
// ===================================================================
42
43
class DataMessage_IndexToTypeMapMessage : public ::google::protobuf::MessageLite {
44
public:
45
DataMessage_IndexToTypeMapMessage();
46
virtual ~DataMessage_IndexToTypeMapMessage();
47
48
DataMessage_IndexToTypeMapMessage(const DataMessage_IndexToTypeMapMessage& from);
49
50
inline DataMessage_IndexToTypeMapMessage& operator=(const DataMessage_IndexToTypeMapMessage& from) {
51
CopyFrom(from);
52
return *this;
53
}
54
55
static const DataMessage_IndexToTypeMapMessage& default_instance();
56
57
void Swap(DataMessage_IndexToTypeMapMessage* other);
58
59
// implements Message ----------------------------------------------
60
61
DataMessage_IndexToTypeMapMessage* New() const;
62
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
63
void CopyFrom(const DataMessage_IndexToTypeMapMessage& from);
64
void MergeFrom(const DataMessage_IndexToTypeMapMessage& from);
65
void Clear();
66
bool IsInitialized() const;
67
68
int ByteSize() const;
69
bool MergePartialFromCodedStream(
70
::google::protobuf::io::CodedInputStream* input);
71
void SerializeWithCachedSizes(
72
::google::protobuf::io::CodedOutputStream* output) const;
73
int GetCachedSize() const { return _cached_size_; }
74
private:
75
void SharedCtor();
76
void SharedDtor();
77
void SetCachedSize(int size) const;
78
public:
79
80
::std::string GetTypeName() const;
81
82
// nested types ----------------------------------------------------
83
84
// accessors -------------------------------------------------------
85
86
// repeated string type = 1;
87
inline int type_size() const;
88
inline void clear_type();
89
static const int kTypeFieldNumber = 1;
90
inline const ::std::string& type(int index) const;
91
inline ::std::string* mutable_type(int index);
92
inline void set_type(int index, const ::std::string& value);
93
inline void set_type(int index, const char* value);
94
inline void set_type(int index, const char* value, size_t size);
95
inline ::std::string* add_type();
96
inline void add_type(const ::std::string& value);
97
inline void add_type(const char* value);
98
inline void add_type(const char* value, size_t size);
99
inline const ::google::protobuf::RepeatedPtrField< ::std::string>& type() const;
100
inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_type();
101
102
// @@protoc_insertion_point(class_scope:data.DataMessage.IndexToTypeMapMessage)
103
private:
104
105
::google::protobuf::RepeatedPtrField< ::std::string> type_;
106
107
mutable int _cached_size_;
108
::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
109
110
friend void protobuf_AddDesc_robotdata_2eproto();
111
friend void protobuf_AssignDesc_robotdata_2eproto();
112
friend void protobuf_ShutdownFile_robotdata_2eproto();
113
114
void InitAsDefaultInstance();
115
static DataMessage_IndexToTypeMapMessage* default_instance_;
116
};
117
// -------------------------------------------------------------------
118
119
class DataMessage_IndexToValueMapMessage : public ::google::protobuf::MessageLite {
120
public:
121
DataMessage_IndexToValueMapMessage();
122
virtual ~DataMessage_IndexToValueMapMessage();
123
124
DataMessage_IndexToValueMapMessage(const DataMessage_IndexToValueMapMessage& from);
125
126
inline DataMessage_IndexToValueMapMessage& operator=(const DataMessage_IndexToValueMapMessage& from) {
127
CopyFrom(from);
128
return *this;
129
}
130
131
static const DataMessage_IndexToValueMapMessage& default_instance();
132
133
void Swap(DataMessage_IndexToValueMapMessage* other);
134
135
// implements Message ----------------------------------------------
136
137
DataMessage_IndexToValueMapMessage* New() const;
138
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
139
void CopyFrom(const DataMessage_IndexToValueMapMessage& from);
140
void MergeFrom(const DataMessage_IndexToValueMapMessage& from);
141
void Clear();
142
bool IsInitialized() const;
143
144
int ByteSize() const;
145
bool MergePartialFromCodedStream(
146
::google::protobuf::io::CodedInputStream* input);
147
void SerializeWithCachedSizes(
148
::google::protobuf::io::CodedOutputStream* output) const;
149
int GetCachedSize() const { return _cached_size_; }
150
private:
151
void SharedCtor();
152
void SharedDtor();
153
void SetCachedSize(int size) const;
154
public:
155
156
::std::string GetTypeName() const;
157
158
// nested types ----------------------------------------------------
159
160
// accessors -------------------------------------------------------
161
162
// repeated string value = 1;
163
inline int value_size() const;
164
inline void clear_value();
165
static const int kValueFieldNumber = 1;
166
inline const ::std::string& value(int index) const;
167
inline ::std::string* mutable_value(int index);
168
inline void set_value(int index, const ::std::string& value);
169
inline void set_value(int index, const char* value);
170
inline void set_value(int index, const char* value, size_t size);
171
inline ::std::string* add_value();
172
inline void add_value(const ::std::string& value);
173
inline void add_value(const char* value);
174
inline void add_value(const char* value, size_t size);
175
inline const ::google::protobuf::RepeatedPtrField< ::std::string>& value() const;
176
inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_value();
177
178
// @@protoc_insertion_point(class_scope:data.DataMessage.IndexToValueMapMessage)
179
private:
180
181
::google::protobuf::RepeatedPtrField< ::std::string> value_;
182
183
mutable int _cached_size_;
184
::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
185
186
friend void protobuf_AddDesc_robotdata_2eproto();
187
friend void protobuf_AssignDesc_robotdata_2eproto();
188
friend void protobuf_ShutdownFile_robotdata_2eproto();
189
190
void InitAsDefaultInstance();
191
static DataMessage_IndexToValueMapMessage* default_instance_;
192
};
193
// -------------------------------------------------------------------
194
195
class DataMessage : public ::google::protobuf::MessageLite {
196
public:
197
DataMessage();
198
virtual ~DataMessage();
199
200
DataMessage(const DataMessage& from);
201
202
inline DataMessage& operator=(const DataMessage& from) {
203
CopyFrom(from);
204
return *this;
205
}
206
207
static const DataMessage& default_instance();
208
209
void Swap(DataMessage* other);
210
211
// implements Message ----------------------------------------------
212
213
DataMessage* New() const;
214
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
215
void CopyFrom(const DataMessage& from);
216
void MergeFrom(const DataMessage& from);
217
void Clear();
218
bool IsInitialized() const;
219
220
int ByteSize() const;
221
bool MergePartialFromCodedStream(
222
::google::protobuf::io::CodedInputStream* input);
223
void SerializeWithCachedSizes(
224
::google::protobuf::io::CodedOutputStream* output) const;
225
int GetCachedSize() const { return _cached_size_; }
226
private:
227
void SharedCtor();
228
void SharedDtor();
229
void SetCachedSize(int size) const;
230
public:
231
232
::std::string GetTypeName() const;
233
234
// nested types ----------------------------------------------------
235
236
typedef DataMessage_IndexToTypeMapMessage IndexToTypeMapMessage;
237
typedef DataMessage_IndexToValueMapMessage IndexToValueMapMessage;
238
239
// accessors -------------------------------------------------------
240
241
// required string ClassName = 1;
242
inline bool has_classname() const;
243
inline void clear_classname();
244
static const int kClassNameFieldNumber = 1;
245
inline const ::std::string& classname() const;
246
inline void set_classname(const ::std::string& value);
247
inline void set_classname(const char* value);
248
inline void set_classname(const char* value, size_t size);
249
inline ::std::string* mutable_classname();
250
inline ::std::string* release_classname();
251
252
// required .data.DataMessage.IndexToTypeMapMessage IndexToTypeMap = 2;
253
inline bool has_indextotypemap() const;
254
inline void clear_indextotypemap();
255
static const int kIndexToTypeMapFieldNumber = 2;
256
inline const ::data::DataMessage_IndexToTypeMapMessage& indextotypemap() const;
257
inline ::data::DataMessage_IndexToTypeMapMessage* mutable_indextotypemap();
258
inline ::data::DataMessage_IndexToTypeMapMessage* release_indextotypemap();
259
260
// required .data.DataMessage.IndexToValueMapMessage IndexToValueMap = 3;
261
inline bool has_indextovaluemap() const;
262
inline void clear_indextovaluemap();
263
static const int kIndexToValueMapFieldNumber = 3;
264
inline const ::data::DataMessage_IndexToValueMapMessage& indextovaluemap() const;
265
inline ::data::DataMessage_IndexToValueMapMessage* mutable_indextovaluemap();
266
inline ::data::DataMessage_IndexToValueMapMessage* release_indextovaluemap();
267
268
// @@protoc_insertion_point(class_scope:data.DataMessage)
269
private:
270
inline void set_has_classname();
271
inline void clear_has_classname();
272
inline void set_has_indextotypemap();
273
inline void clear_has_indextotypemap();
274
inline void set_has_indextovaluemap();
275
inline void clear_has_indextovaluemap();
276
277
::std::string* classname_;
278
::data::DataMessage_IndexToTypeMapMessage* indextotypemap_;
279
::data::DataMessage_IndexToValueMapMessage* indextovaluemap_;
280
281
mutable int _cached_size_;
282
::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
283
284
friend void protobuf_AddDesc_robotdata_2eproto();
285
friend void protobuf_AssignDesc_robotdata_2eproto();
286
friend void protobuf_ShutdownFile_robotdata_2eproto();
287
288
void InitAsDefaultInstance();
289
static DataMessage* default_instance_;
290
};
291
// -------------------------------------------------------------------
292
293
class CompleteMessage : public ::google::protobuf::MessageLite {
294
public:
295
CompleteMessage();
296
virtual ~CompleteMessage();
297
298
CompleteMessage(const CompleteMessage& from);
299
300
inline CompleteMessage& operator=(const CompleteMessage& from) {
301
CopyFrom(from);
302
return *this;
303
}
304
305
static const CompleteMessage& default_instance();
306
307
void Swap(CompleteMessage* other);
308
309
// implements Message ----------------------------------------------
310
311
CompleteMessage* New() const;
312
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
313
void CopyFrom(const CompleteMessage& from);
314
void MergeFrom(const CompleteMessage& from);
315
void Clear();
316
bool IsInitialized() const;
317
318
int ByteSize() const;
319
bool MergePartialFromCodedStream(
320
::google::protobuf::io::CodedInputStream* input);
321
void SerializeWithCachedSizes(
322
::google::protobuf::io::CodedOutputStream* output) const;
323
int GetCachedSize() const { return _cached_size_; }
324
private:
325
void SharedCtor();
326
void SharedDtor();
327
void SetCachedSize(int size) const;
328
public:
329
330
::std::string GetTypeName() const;
331
332
// nested types ----------------------------------------------------
333
334
// accessors -------------------------------------------------------
335
336
// repeated .data.DataMessage Data = 1;
337
inline int data_size() const;
338
inline void clear_data();
339
static const int kDataFieldNumber = 1;
340
inline const ::data::DataMessage& data(int index) const;
341
inline ::data::DataMessage* mutable_data(int index);
342
inline ::data::DataMessage* add_data();
343
inline const ::google::protobuf::RepeatedPtrField< ::data::DataMessage >&
344
data() const;
345
inline ::google::protobuf::RepeatedPtrField< ::data::DataMessage >*
346
mutable_data();
347
348
// @@protoc_insertion_point(class_scope:data.CompleteMessage)
349
private:
350
351
::google::protobuf::RepeatedPtrField< ::data::DataMessage > data_;
352
353
mutable int _cached_size_;
354
::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
355
356
friend void protobuf_AddDesc_robotdata_2eproto();
357
friend void protobuf_AssignDesc_robotdata_2eproto();
358
friend void protobuf_ShutdownFile_robotdata_2eproto();
359
360
void InitAsDefaultInstance();
361
static CompleteMessage* default_instance_;
362
};
363
// ===================================================================
364
365
366
// ===================================================================
367
368
// DataMessage_IndexToTypeMapMessage
369
370
// repeated string type = 1;
371
inline int DataMessage_IndexToTypeMapMessage::type_size() const {
372
return type_.size();
373
}
374
inline void DataMessage_IndexToTypeMapMessage::clear_type() {
375
type_.Clear();
376
}
377
inline const ::std::string& DataMessage_IndexToTypeMapMessage::type(int index) const {
378
return type_.Get(index);
379
}
380
inline ::std::string* DataMessage_IndexToTypeMapMessage::mutable_type(int index) {
381
return type_.Mutable(index);
382
}
383
inline void DataMessage_IndexToTypeMapMessage::set_type(int index, const ::std::string& value) {
384
type_.Mutable(index)->assign(value);
385
}
386
inline void DataMessage_IndexToTypeMapMessage::set_type(int index, const char* value) {
387
type_.Mutable(index)->assign(value);
388
}
389
inline void DataMessage_IndexToTypeMapMessage::set_type(int index, const char* value, size_t size) {
390
type_.Mutable(index)->assign(
391
reinterpret_cast<const char*>(value), size);
392
}
393
inline ::std::string* DataMessage_IndexToTypeMapMessage::add_type() {
394
return type_.Add();
395
}
396
inline void DataMessage_IndexToTypeMapMessage::add_type(const ::std::string& value) {
397
type_.Add()->assign(value);
398
}
399
inline void DataMessage_IndexToTypeMapMessage::add_type(const char* value) {
400
type_.Add()->assign(value);
401
}
402
inline void DataMessage_IndexToTypeMapMessage::add_type(const char* value, size_t size) {
403
type_.Add()->assign(reinterpret_cast<const char*>(value), size);
404
}
405
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
406
DataMessage_IndexToTypeMapMessage::type() const {
407
return type_;
408
}
409
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
410
DataMessage_IndexToTypeMapMessage::mutable_type() {
411
return &type_;
412
}
413
414
// -------------------------------------------------------------------
415
416
// DataMessage_IndexToValueMapMessage
417
418
// repeated string value = 1;
419
inline int DataMessage_IndexToValueMapMessage::value_size() const {
420
return value_.size();
421
}
422
inline void DataMessage_IndexToValueMapMessage::clear_value() {
423
value_.Clear();
424
}
425
inline const ::std::string& DataMessage_IndexToValueMapMessage::value(int index) const {
426
return value_.Get(index);
427
}
428
inline ::std::string* DataMessage_IndexToValueMapMessage::mutable_value(int index) {
429
return value_.Mutable(index);
430
}
431
inline void DataMessage_IndexToValueMapMessage::set_value(int index, const ::std::string& value) {
432
value_.Mutable(index)->assign(value);
433
}
434
inline void DataMessage_IndexToValueMapMessage::set_value(int index, const char* value) {
435
value_.Mutable(index)->assign(value);
436
}
437
inline void DataMessage_IndexToValueMapMessage::set_value(int index, const char* value, size_t size) {
438
value_.Mutable(index)->assign(
439
reinterpret_cast<const char*>(value), size);
440
}
441
inline ::std::string* DataMessage_IndexToValueMapMessage::add_value() {
442
return value_.Add();
443
}
444
inline void DataMessage_IndexToValueMapMessage::add_value(const ::std::string& value) {
445
value_.Add()->assign(value);
446
}
447
inline void DataMessage_IndexToValueMapMessage::add_value(const char* value) {
448
value_.Add()->assign(value);
449
}
450
inline void DataMessage_IndexToValueMapMessage::add_value(const char* value, size_t size) {
451
value_.Add()->assign(reinterpret_cast<const char*>(value), size);
452
}
453
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
454
DataMessage_IndexToValueMapMessage::value() const {
455
return value_;
456
}
457
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
458
DataMessage_IndexToValueMapMessage::mutable_value() {
459
return &value_;
460
}
461
462
// -------------------------------------------------------------------
463
464
// DataMessage
465
466
// required string ClassName = 1;
467
inline bool DataMessage::has_classname() const {
468
return (_has_bits_[0] & 0x00000001u) != 0;
469
}
470
inline void DataMessage::set_has_classname() {
471
_has_bits_[0] |= 0x00000001u;
472
}
473
inline void DataMessage::clear_has_classname() {
474
_has_bits_[0] &= ~0x00000001u;
475
}
476
inline void DataMessage::clear_classname() {
477
if (classname_ != &::google::protobuf::internal::kEmptyString) {
478
classname_->clear();
479
}
480
clear_has_classname();
481
}
482
inline const ::std::string& DataMessage::classname() const {
483
return *classname_;
484
}
485
inline void DataMessage::set_classname(const ::std::string& value) {
486
set_has_classname();
487
if (classname_ == &::google::protobuf::internal::kEmptyString) {
488
classname_ = new ::std::string;
489
}
490
classname_->assign(value);
491
}
492
inline void DataMessage::set_classname(const char* value) {
493
set_has_classname();
494
if (classname_ == &::google::protobuf::internal::kEmptyString) {
495
classname_ = new ::std::string;
496
}
497
classname_->assign(value);
498
}
499
inline void DataMessage::set_classname(const char* value, size_t size) {
500
set_has_classname();
501
if (classname_ == &::google::protobuf::internal::kEmptyString) {
502
classname_ = new ::std::string;
503
}
504
classname_->assign(reinterpret_cast<const char*>(value), size);
505
}
506
inline ::std::string* DataMessage::mutable_classname() {
507
set_has_classname();
508
if (classname_ == &::google::protobuf::internal::kEmptyString) {
509
classname_ = new ::std::string;
510
}
511
return classname_;
512
}
513
inline ::std::string* DataMessage::release_classname() {
514
clear_has_classname();
515
if (classname_ == &::google::protobuf::internal::kEmptyString) {
516
return NULL;
517
} else {
518
::std::string* temp = classname_;
519
classname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
520
return temp;
521
}
522
}
523
524
// required .data.DataMessage.IndexToTypeMapMessage IndexToTypeMap = 2;
525
inline bool DataMessage::has_indextotypemap() const {
526
return (_has_bits_[0] & 0x00000002u) != 0;
527
}
528
inline void DataMessage::set_has_indextotypemap() {
529
_has_bits_[0] |= 0x00000002u;
530
}
531
inline void DataMessage::clear_has_indextotypemap() {
532
_has_bits_[0] &= ~0x00000002u;
533
}
534
inline void DataMessage::clear_indextotypemap() {
535
if (indextotypemap_ != NULL) indextotypemap_->::data::DataMessage_IndexToTypeMapMessage::Clear();
536
clear_has_indextotypemap();
537
}
538
inline const ::data::DataMessage_IndexToTypeMapMessage& DataMessage::indextotypemap() const {
539
return indextotypemap_ != NULL ? *indextotypemap_ : *default_instance_->indextotypemap_;
540
}
541
inline ::data::DataMessage_IndexToTypeMapMessage* DataMessage::mutable_indextotypemap() {
542
set_has_indextotypemap();
543
if (indextotypemap_ == NULL) indextotypemap_ = new ::data::DataMessage_IndexToTypeMapMessage;
544
return indextotypemap_;
545
}
546
inline ::data::DataMessage_IndexToTypeMapMessage* DataMessage::release_indextotypemap() {
547
clear_has_indextotypemap();
548
::data::DataMessage_IndexToTypeMapMessage* temp = indextotypemap_;
549
indextotypemap_ = NULL;
550
return temp;
551
}
552
553
// required .data.DataMessage.IndexToValueMapMessage IndexToValueMap = 3;
554
inline bool DataMessage::has_indextovaluemap() const {
555
return (_has_bits_[0] & 0x00000004u) != 0;
556
}
557
inline void DataMessage::set_has_indextovaluemap() {
558
_has_bits_[0] |= 0x00000004u;
559
}
560
inline void DataMessage::clear_has_indextovaluemap() {
561
_has_bits_[0] &= ~0x00000004u;
562
}
563
inline void DataMessage::clear_indextovaluemap() {
564
if (indextovaluemap_ != NULL) indextovaluemap_->::data::DataMessage_IndexToValueMapMessage::Clear();
565
clear_has_indextovaluemap();
566
}
567
inline const ::data::DataMessage_IndexToValueMapMessage& DataMessage::indextovaluemap() const {
568
return indextovaluemap_ != NULL ? *indextovaluemap_ : *default_instance_->indextovaluemap_;
569
}
570
inline ::data::DataMessage_IndexToValueMapMessage* DataMessage::mutable_indextovaluemap() {
571
set_has_indextovaluemap();
572
if (indextovaluemap_ == NULL) indextovaluemap_ = new ::data::DataMessage_IndexToValueMapMessage;
573
return indextovaluemap_;
574
}
575
inline ::data::DataMessage_IndexToValueMapMessage* DataMessage::release_indextovaluemap() {
576
clear_has_indextovaluemap();
577
::data::DataMessage_IndexToValueMapMessage* temp = indextovaluemap_;
578
indextovaluemap_ = NULL;
579
return temp;
580
}
581
582
// -------------------------------------------------------------------
583
584
// CompleteMessage
585
586
// repeated .data.DataMessage Data = 1;
587
inline int CompleteMessage::data_size() const {
588
return data_.size();
589
}
590
inline void CompleteMessage::clear_data() {
591
data_.Clear();
592
}
593
inline const ::data::DataMessage& CompleteMessage::data(int index) const {
594
return data_.Get(index);
595
}
596
inline ::data::DataMessage* CompleteMessage::mutable_data(int index) {
597
return data_.Mutable(index);
598
}
599
inline ::data::DataMessage* CompleteMessage::add_data() {
600
return data_.Add();
601
}
602
inline const ::google::protobuf::RepeatedPtrField< ::data::DataMessage >&
603
CompleteMessage::data() const {
604
return data_;
605
}
606
inline ::google::protobuf::RepeatedPtrField< ::data::DataMessage >*
607
CompleteMessage::mutable_data() {
608
return &data_;
609
}
610
611
612
// @@protoc_insertion_point(namespace_scope)
613
614
} // namespace data
615
616
// @@protoc_insertion_point(global_scope)
617
#endif // PROTOBUF_robotdata_2eproto__INCLUDED
618
*/
Generated on Thu Nov 28 2013 20:16:51 for LRT13 by
1.8.3