Am5os
 All Classes Functions Pages
message.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: message.proto
3 
4 #ifndef PROTOBUF_message_2eproto__INCLUDED
5 #define PROTOBUF_message_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 // @@protoc_insertion_point(includes)
28 
29 namespace org {
30 namespace libcppa {
31 
32 // Internal implementation detail -- do not call these.
33 void protobuf_AddDesc_message_2eproto();
34 void protobuf_AssignDesc_message_2eproto();
35 void protobuf_ShutdownFile_message_2eproto();
36 
37 class warning;
38 class ack;
39 class WarnOrAck;
40 
41 // ===================================================================
42 
43 class warning : public ::google::protobuf::Message {
44  public:
45  warning();
46  virtual ~warning();
47 
48  warning(const warning& from);
49 
50  inline warning& operator=(const warning& from) {
51  CopyFrom(from);
52  return *this;
53  }
54 
55  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
56  return _unknown_fields_;
57  }
58 
59  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
60  return &_unknown_fields_;
61  }
62 
63  static const ::google::protobuf::Descriptor* descriptor();
64  static const warning& default_instance();
65 
66  void Swap(warning* other);
67 
68  // implements Message ----------------------------------------------
69 
70  warning* New() const;
71  void CopyFrom(const ::google::protobuf::Message& from);
72  void MergeFrom(const ::google::protobuf::Message& from);
73  void CopyFrom(const warning& from);
74  void MergeFrom(const warning& from);
75  void Clear();
76  bool IsInitialized() const;
77 
78  int ByteSize() const;
79  bool MergePartialFromCodedStream(
80  ::google::protobuf::io::CodedInputStream* input);
81  void SerializeWithCachedSizes(
82  ::google::protobuf::io::CodedOutputStream* output) const;
83  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
84  int GetCachedSize() const { return _cached_size_; }
85  private:
86  void SharedCtor();
87  void SharedDtor();
88  void SetCachedSize(int size) const;
89  public:
90  ::google::protobuf::Metadata GetMetadata() const;
91 
92  // nested types ----------------------------------------------------
93 
94  // accessors -------------------------------------------------------
95 
96  // required int32 id = 1;
97  inline bool has_id() const;
98  inline void clear_id();
99  static const int kIdFieldNumber = 1;
100  inline ::google::protobuf::int32 id() const;
101  inline void set_id(::google::protobuf::int32 value);
102 
103  // @@protoc_insertion_point(class_scope:org.libcppa.warning)
104  private:
105  inline void set_has_id();
106  inline void clear_has_id();
107 
108  ::google::protobuf::UnknownFieldSet _unknown_fields_;
109 
110  ::google::protobuf::uint32 _has_bits_[1];
111  mutable int _cached_size_;
112  ::google::protobuf::int32 id_;
113  friend void protobuf_AddDesc_message_2eproto();
114  friend void protobuf_AssignDesc_message_2eproto();
115  friend void protobuf_ShutdownFile_message_2eproto();
116 
117  void InitAsDefaultInstance();
118  static warning* default_instance_;
119 };
120 // -------------------------------------------------------------------
121 
122 class ack : public ::google::protobuf::Message {
123  public:
124  ack();
125  virtual ~ack();
126 
127  ack(const ack& from);
128 
129  inline ack& operator=(const ack& from) {
130  CopyFrom(from);
131  return *this;
132  }
133 
134  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
135  return _unknown_fields_;
136  }
137 
138  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
139  return &_unknown_fields_;
140  }
141 
142  static const ::google::protobuf::Descriptor* descriptor();
143  static const ack& default_instance();
144 
145  void Swap(ack* other);
146 
147  // implements Message ----------------------------------------------
148 
149  ack* New() const;
150  void CopyFrom(const ::google::protobuf::Message& from);
151  void MergeFrom(const ::google::protobuf::Message& from);
152  void CopyFrom(const ack& from);
153  void MergeFrom(const ack& from);
154  void Clear();
155  bool IsInitialized() const;
156 
157  int ByteSize() const;
158  bool MergePartialFromCodedStream(
159  ::google::protobuf::io::CodedInputStream* input);
160  void SerializeWithCachedSizes(
161  ::google::protobuf::io::CodedOutputStream* output) const;
162  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
163  int GetCachedSize() const { return _cached_size_; }
164  private:
165  void SharedCtor();
166  void SharedDtor();
167  void SetCachedSize(int size) const;
168  public:
169  ::google::protobuf::Metadata GetMetadata() const;
170 
171  // nested types ----------------------------------------------------
172 
173  // accessors -------------------------------------------------------
174 
175  // required int32 id = 1;
176  inline bool has_id() const;
177  inline void clear_id();
178  static const int kIdFieldNumber = 1;
179  inline ::google::protobuf::int32 id() const;
180  inline void set_id(::google::protobuf::int32 value);
181 
182  // @@protoc_insertion_point(class_scope:org.libcppa.ack)
183  private:
184  inline void set_has_id();
185  inline void clear_has_id();
186 
187  ::google::protobuf::UnknownFieldSet _unknown_fields_;
188 
189  ::google::protobuf::uint32 _has_bits_[1];
190  mutable int _cached_size_;
191  ::google::protobuf::int32 id_;
192  friend void protobuf_AddDesc_message_2eproto();
193  friend void protobuf_AssignDesc_message_2eproto();
194  friend void protobuf_ShutdownFile_message_2eproto();
195 
196  void InitAsDefaultInstance();
197  static ack* default_instance_;
198 };
199 // -------------------------------------------------------------------
200 
201 class WarnOrAck : public ::google::protobuf::Message {
202  public:
203  WarnOrAck();
204  virtual ~WarnOrAck();
205 
206  WarnOrAck(const WarnOrAck& from);
207 
208  inline WarnOrAck& operator=(const WarnOrAck& from) {
209  CopyFrom(from);
210  return *this;
211  }
212 
213  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
214  return _unknown_fields_;
215  }
216 
217  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
218  return &_unknown_fields_;
219  }
220 
221  static const ::google::protobuf::Descriptor* descriptor();
222  static const WarnOrAck& default_instance();
223 
224  void Swap(WarnOrAck* other);
225 
226  // implements Message ----------------------------------------------
227 
228  WarnOrAck* New() const;
229  void CopyFrom(const ::google::protobuf::Message& from);
230  void MergeFrom(const ::google::protobuf::Message& from);
231  void CopyFrom(const WarnOrAck& from);
232  void MergeFrom(const WarnOrAck& from);
233  void Clear();
234  bool IsInitialized() const;
235 
236  int ByteSize() const;
237  bool MergePartialFromCodedStream(
238  ::google::protobuf::io::CodedInputStream* input);
239  void SerializeWithCachedSizes(
240  ::google::protobuf::io::CodedOutputStream* output) const;
241  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
242  int GetCachedSize() const { return _cached_size_; }
243  private:
244  void SharedCtor();
245  void SharedDtor();
246  void SetCachedSize(int size) const;
247  public:
248  ::google::protobuf::Metadata GetMetadata() const;
249 
250  // nested types ----------------------------------------------------
251 
252  // accessors -------------------------------------------------------
253 
254  // optional .org.libcppa.warning warn = 1;
255  inline bool has_warn() const;
256  inline void clear_warn();
257  static const int kWarnFieldNumber = 1;
258  inline const ::org::libcppa::warning& warn() const;
259  inline ::org::libcppa::warning* mutable_warn();
260  inline ::org::libcppa::warning* release_warn();
261  inline void set_allocated_warn(::org::libcppa::warning* warn);
262 
263  // optional .org.libcppa.ack ack = 2;
264  inline bool has_ack() const;
265  inline void clear_ack();
266  static const int kAckFieldNumber = 2;
267  inline const ::org::libcppa::ack& ack() const;
268  inline ::org::libcppa::ack* mutable_ack();
269  inline ::org::libcppa::ack* release_ack();
270  inline void set_allocated_ack(::org::libcppa::ack* ack);
271 
272  // @@protoc_insertion_point(class_scope:org.libcppa.WarnOrAck)
273  private:
274  inline void set_has_warn();
275  inline void clear_has_warn();
276  inline void set_has_ack();
277  inline void clear_has_ack();
278 
279  ::google::protobuf::UnknownFieldSet _unknown_fields_;
280 
281  ::google::protobuf::uint32 _has_bits_[1];
282  mutable int _cached_size_;
284  ::org::libcppa::ack* ack_;
285  friend void protobuf_AddDesc_message_2eproto();
286  friend void protobuf_AssignDesc_message_2eproto();
287  friend void protobuf_ShutdownFile_message_2eproto();
288 
289  void InitAsDefaultInstance();
290  static WarnOrAck* default_instance_;
291 };
292 // ===================================================================
293 
294 
295 // ===================================================================
296 
297 // warning
298 
299 // required int32 id = 1;
300 inline bool warning::has_id() const {
301  return (_has_bits_[0] & 0x00000001u) != 0;
302 }
303 inline void warning::set_has_id() {
304  _has_bits_[0] |= 0x00000001u;
305 }
306 inline void warning::clear_has_id() {
307  _has_bits_[0] &= ~0x00000001u;
308 }
309 inline void warning::clear_id() {
310  id_ = 0;
311  clear_has_id();
312 }
313 inline ::google::protobuf::int32 warning::id() const {
314  // @@protoc_insertion_point(field_get:org.libcppa.warning.id)
315  return id_;
316 }
317 inline void warning::set_id(::google::protobuf::int32 value) {
318  set_has_id();
319  id_ = value;
320  // @@protoc_insertion_point(field_set:org.libcppa.warning.id)
321 }
322 
323 // -------------------------------------------------------------------
324 
325 // ack
326 
327 // required int32 id = 1;
328 inline bool ack::has_id() const {
329  return (_has_bits_[0] & 0x00000001u) != 0;
330 }
331 inline void ack::set_has_id() {
332  _has_bits_[0] |= 0x00000001u;
333 }
334 inline void ack::clear_has_id() {
335  _has_bits_[0] &= ~0x00000001u;
336 }
337 inline void ack::clear_id() {
338  id_ = 0;
339  clear_has_id();
340 }
341 inline ::google::protobuf::int32 ack::id() const {
342  // @@protoc_insertion_point(field_get:org.libcppa.ack.id)
343  return id_;
344 }
345 inline void ack::set_id(::google::protobuf::int32 value) {
346  set_has_id();
347  id_ = value;
348  // @@protoc_insertion_point(field_set:org.libcppa.ack.id)
349 }
350 
351 // -------------------------------------------------------------------
352 
353 // WarnOrAck
354 
355 // optional .org.libcppa.warning warn = 1;
356 inline bool WarnOrAck::has_warn() const {
357  return (_has_bits_[0] & 0x00000001u) != 0;
358 }
359 inline void WarnOrAck::set_has_warn() {
360  _has_bits_[0] |= 0x00000001u;
361 }
362 inline void WarnOrAck::clear_has_warn() {
363  _has_bits_[0] &= ~0x00000001u;
364 }
365 inline void WarnOrAck::clear_warn() {
366  if (warn_ != NULL) warn_->::org::libcppa::warning::Clear();
367  clear_has_warn();
368 }
369 inline const ::org::libcppa::warning& WarnOrAck::warn() const {
370  // @@protoc_insertion_point(field_get:org.libcppa.WarnOrAck.warn)
371  return warn_ != NULL ? *warn_ : *default_instance_->warn_;
372 }
373 inline ::org::libcppa::warning* WarnOrAck::mutable_warn() {
374  set_has_warn();
375  if (warn_ == NULL) warn_ = new ::org::libcppa::warning;
376  // @@protoc_insertion_point(field_mutable:org.libcppa.WarnOrAck.warn)
377  return warn_;
378 }
379 inline ::org::libcppa::warning* WarnOrAck::release_warn() {
380  clear_has_warn();
381  ::org::libcppa::warning* temp = warn_;
382  warn_ = NULL;
383  return temp;
384 }
385 inline void WarnOrAck::set_allocated_warn(::org::libcppa::warning* warn) {
386  delete warn_;
387  warn_ = warn;
388  if (warn) {
389  set_has_warn();
390  } else {
391  clear_has_warn();
392  }
393  // @@protoc_insertion_point(field_set_allocated:org.libcppa.WarnOrAck.warn)
394 }
395 
396 // optional .org.libcppa.ack ack = 2;
397 inline bool WarnOrAck::has_ack() const {
398  return (_has_bits_[0] & 0x00000002u) != 0;
399 }
400 inline void WarnOrAck::set_has_ack() {
401  _has_bits_[0] |= 0x00000002u;
402 }
403 inline void WarnOrAck::clear_has_ack() {
404  _has_bits_[0] &= ~0x00000002u;
405 }
406 inline void WarnOrAck::clear_ack() {
407  if (ack_ != NULL) ack_->::org::libcppa::ack::Clear();
408  clear_has_ack();
409 }
410 inline const ::org::libcppa::ack& WarnOrAck::ack() const {
411  // @@protoc_insertion_point(field_get:org.libcppa.WarnOrAck.ack)
412  return ack_ != NULL ? *ack_ : *default_instance_->ack_;
413 }
414 inline ::org::libcppa::ack* WarnOrAck::mutable_ack() {
415  set_has_ack();
416  if (ack_ == NULL) ack_ = new ::org::libcppa::ack;
417  // @@protoc_insertion_point(field_mutable:org.libcppa.WarnOrAck.ack)
418  return ack_;
419 }
420 inline ::org::libcppa::ack* WarnOrAck::release_ack() {
421  clear_has_ack();
422  ::org::libcppa::ack* temp = ack_;
423  ack_ = NULL;
424  return temp;
425 }
426 inline void WarnOrAck::set_allocated_ack(::org::libcppa::ack* ack) {
427  delete ack_;
428  ack_ = ack;
429  if (ack) {
430  set_has_ack();
431  } else {
432  clear_has_ack();
433  }
434  // @@protoc_insertion_point(field_set_allocated:org.libcppa.WarnOrAck.ack)
435 }
436 
437 
438 // @@protoc_insertion_point(namespace_scope)
439 
440 } // namespace libcppa
441 } // namespace org
442 
443 #ifndef SWIG
444 namespace google {
445 namespace protobuf {
446 
447 
448 } // namespace google
449 } // namespace protobuf
450 #endif // SWIG
451 
452 // @@protoc_insertion_point(global_scope)
453 
454 #endif // PROTOBUF_message_2eproto__INCLUDED
Definition: message.pb.h:201
Definition: message.pb.h:43
Definition: message.pb.h:122