ProMC  1.3
 All Classes Functions
ProMC.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ProMC.proto
3 
4 #ifndef PROTOBUF_ProMC_2eproto__INCLUDED
5 #define PROTOBUF_ProMC_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2005000
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 2005000 < 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 promc {
30 
31 // Internal implementation detail -- do not call these.
32 void protobuf_AddDesc_ProMC_2eproto();
33 void protobuf_AssignDesc_ProMC_2eproto();
34 void protobuf_ShutdownFile_ProMC_2eproto();
35 
36 class ProMCEvent;
37 class ProMCEvent_Event;
38 class ProMCEvent_Particles;
39 
40 // ===================================================================
41 
42 class ProMCEvent_Event : public ::google::protobuf::Message {
43  public:
45  virtual ~ProMCEvent_Event();
46 
48 
49  inline ProMCEvent_Event& operator=(const ProMCEvent_Event& from) {
50  CopyFrom(from);
51  return *this;
52  }
53 
54  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
55  return _unknown_fields_;
56  }
57 
58  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
59  return &_unknown_fields_;
60  }
61 
62  static const ::google::protobuf::Descriptor* descriptor();
63  static const ProMCEvent_Event& default_instance();
64 
65  void Swap(ProMCEvent_Event* other);
66 
67  // implements Message ----------------------------------------------
68 
69  ProMCEvent_Event* New() const;
70  void CopyFrom(const ::google::protobuf::Message& from);
71  void MergeFrom(const ::google::protobuf::Message& from);
72  void CopyFrom(const ProMCEvent_Event& from);
73  void MergeFrom(const ProMCEvent_Event& from);
74  void Clear();
75  bool IsInitialized() const;
76 
77  int ByteSize() const;
78  bool MergePartialFromCodedStream(
79  ::google::protobuf::io::CodedInputStream* input);
80  void SerializeWithCachedSizes(
81  ::google::protobuf::io::CodedOutputStream* output) const;
82  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
83  int GetCachedSize() const { return _cached_size_; }
84  private:
85  void SharedCtor();
86  void SharedDtor();
87  void SetCachedSize(int size) const;
88  public:
89 
90  ::google::protobuf::Metadata GetMetadata() const;
91 
92  // nested types ----------------------------------------------------
93 
94  // accessors -------------------------------------------------------
95 
96  // optional int32 Number = 1;
97  inline bool has_number() const;
98  inline void clear_number();
99  static const int kNumberFieldNumber = 1;
100  inline ::google::protobuf::int32 number() const;
101  inline void set_number(::google::protobuf::int32 value);
102 
103  // optional int32 Process_ID = 2;
104  inline bool has_process_id() const;
105  inline void clear_process_id();
106  static const int kProcessIDFieldNumber = 2;
107  inline ::google::protobuf::int32 process_id() const;
108  inline void set_process_id(::google::protobuf::int32 value);
109 
110  // repeated float fdata = 3;
111  inline int fdata_size() const;
112  inline void clear_fdata();
113  static const int kFdataFieldNumber = 3;
114  inline float fdata(int index) const;
115  inline void set_fdata(int index, float value);
116  inline void add_fdata(float value);
117  inline const ::google::protobuf::RepeatedField< float >&
118  fdata() const;
119  inline ::google::protobuf::RepeatedField< float >*
120  mutable_fdata();
121 
122  // repeated sint64 idata = 4;
123  inline int idata_size() const;
124  inline void clear_idata();
125  static const int kIdataFieldNumber = 4;
126  inline ::google::protobuf::int64 idata(int index) const;
127  inline void set_idata(int index, ::google::protobuf::int64 value);
128  inline void add_idata(::google::protobuf::int64 value);
129  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
130  idata() const;
131  inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
132  mutable_idata();
133 
134  // @@protoc_insertion_point(class_scope:promc.ProMCEvent.Event)
135  private:
136  inline void set_has_number();
137  inline void clear_has_number();
138  inline void set_has_process_id();
139  inline void clear_has_process_id();
140 
141  ::google::protobuf::UnknownFieldSet _unknown_fields_;
142 
143  ::google::protobuf::int32 number_;
144  ::google::protobuf::int32 process_id_;
145  ::google::protobuf::RepeatedField< float > fdata_;
146  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > idata_;
147 
148  mutable int _cached_size_;
149  ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
150 
151  friend void protobuf_AddDesc_ProMC_2eproto();
152  friend void protobuf_AssignDesc_ProMC_2eproto();
153  friend void protobuf_ShutdownFile_ProMC_2eproto();
154 
155  void InitAsDefaultInstance();
156  static ProMCEvent_Event* default_instance_;
157 };
158 // -------------------------------------------------------------------
159 
160 class ProMCEvent_Particles : public ::google::protobuf::Message {
161  public:
163  virtual ~ProMCEvent_Particles();
164 
166 
167  inline ProMCEvent_Particles& operator=(const ProMCEvent_Particles& from) {
168  CopyFrom(from);
169  return *this;
170  }
171 
172  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
173  return _unknown_fields_;
174  }
175 
176  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
177  return &_unknown_fields_;
178  }
179 
180  static const ::google::protobuf::Descriptor* descriptor();
181  static const ProMCEvent_Particles& default_instance();
182 
183  void Swap(ProMCEvent_Particles* other);
184 
185  // implements Message ----------------------------------------------
186 
187  ProMCEvent_Particles* New() const;
188  void CopyFrom(const ::google::protobuf::Message& from);
189  void MergeFrom(const ::google::protobuf::Message& from);
190  void CopyFrom(const ProMCEvent_Particles& from);
191  void MergeFrom(const ProMCEvent_Particles& from);
192  void Clear();
193  bool IsInitialized() const;
194 
195  int ByteSize() const;
196  bool MergePartialFromCodedStream(
197  ::google::protobuf::io::CodedInputStream* input);
198  void SerializeWithCachedSizes(
199  ::google::protobuf::io::CodedOutputStream* output) const;
200  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
201  int GetCachedSize() const { return _cached_size_; }
202  private:
203  void SharedCtor();
204  void SharedDtor();
205  void SetCachedSize(int size) const;
206  public:
207 
208  ::google::protobuf::Metadata GetMetadata() const;
209 
210  // nested types ----------------------------------------------------
211 
212  // accessors -------------------------------------------------------
213 
214  // repeated uint32 id = 1 [packed = true];
215  inline int id_size() const;
216  inline void clear_id();
217  static const int kIdFieldNumber = 1;
218  inline ::google::protobuf::uint32 id(int index) const;
219  inline void set_id(int index, ::google::protobuf::uint32 value);
220  inline void add_id(::google::protobuf::uint32 value);
221  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
222  id() const;
223  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
224  mutable_id();
225 
226  // repeated sint32 pdg_id = 2 [packed = true];
227  inline int pdg_id_size() const;
228  inline void clear_pdg_id();
229  static const int kPdgIdFieldNumber = 2;
230  inline ::google::protobuf::int32 pdg_id(int index) const;
231  inline void set_pdg_id(int index, ::google::protobuf::int32 value);
232  inline void add_pdg_id(::google::protobuf::int32 value);
233  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
234  pdg_id() const;
235  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
236  mutable_pdg_id();
237 
238  // repeated sint64 Energy = 3 [packed = true];
239  inline int energy_size() const;
240  inline void clear_energy();
241  static const int kEnergyFieldNumber = 3;
242  inline ::google::protobuf::int64 energy(int index) const;
243  inline void set_energy(int index, ::google::protobuf::int64 value);
244  inline void add_energy(::google::protobuf::int64 value);
245  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
246  energy() const;
247  inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
248  mutable_energy();
249 
250  // repeated sint64 Px = 4 [packed = true];
251  inline int px_size() const;
252  inline void clear_px();
253  static const int kPxFieldNumber = 4;
254  inline ::google::protobuf::int64 px(int index) const;
255  inline void set_px(int index, ::google::protobuf::int64 value);
256  inline void add_px(::google::protobuf::int64 value);
257  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
258  px() const;
259  inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
260  mutable_px();
261 
262  // repeated sint64 Py = 5 [packed = true];
263  inline int py_size() const;
264  inline void clear_py();
265  static const int kPyFieldNumber = 5;
266  inline ::google::protobuf::int64 py(int index) const;
267  inline void set_py(int index, ::google::protobuf::int64 value);
268  inline void add_py(::google::protobuf::int64 value);
269  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
270  py() const;
271  inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
272  mutable_py();
273 
274  // repeated sint64 Pz = 6 [packed = true];
275  inline int pz_size() const;
276  inline void clear_pz();
277  static const int kPzFieldNumber = 6;
278  inline ::google::protobuf::int64 pz(int index) const;
279  inline void set_pz(int index, ::google::protobuf::int64 value);
280  inline void add_pz(::google::protobuf::int64 value);
281  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
282  pz() const;
283  inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
284  mutable_pz();
285 
286  // @@protoc_insertion_point(class_scope:promc.ProMCEvent.Particles)
287  private:
288 
289  ::google::protobuf::UnknownFieldSet _unknown_fields_;
290 
291  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > id_;
292  mutable int _id_cached_byte_size_;
293  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > pdg_id_;
294  mutable int _pdg_id_cached_byte_size_;
295  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > energy_;
296  mutable int _energy_cached_byte_size_;
297  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > px_;
298  mutable int _px_cached_byte_size_;
299  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > py_;
300  mutable int _py_cached_byte_size_;
301  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > pz_;
302  mutable int _pz_cached_byte_size_;
303 
304  mutable int _cached_size_;
305  ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
306 
307  friend void protobuf_AddDesc_ProMC_2eproto();
308  friend void protobuf_AssignDesc_ProMC_2eproto();
309  friend void protobuf_ShutdownFile_ProMC_2eproto();
310 
311  void InitAsDefaultInstance();
312  static ProMCEvent_Particles* default_instance_;
313 };
314 // -------------------------------------------------------------------
315 
316 class ProMCEvent : public ::google::protobuf::Message {
317  public:
318  ProMCEvent();
319  virtual ~ProMCEvent();
320 
321  ProMCEvent(const ProMCEvent& from);
322 
323  inline ProMCEvent& operator=(const ProMCEvent& from) {
324  CopyFrom(from);
325  return *this;
326  }
327 
328  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
329  return _unknown_fields_;
330  }
331 
332  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
333  return &_unknown_fields_;
334  }
335 
336  static const ::google::protobuf::Descriptor* descriptor();
337  static const ProMCEvent& default_instance();
338 
339  void Swap(ProMCEvent* other);
340 
341  // implements Message ----------------------------------------------
342 
343  ProMCEvent* New() const;
344  void CopyFrom(const ::google::protobuf::Message& from);
345  void MergeFrom(const ::google::protobuf::Message& from);
346  void CopyFrom(const ProMCEvent& from);
347  void MergeFrom(const ProMCEvent& from);
348  void Clear();
349  bool IsInitialized() const;
350 
351  int ByteSize() const;
352  bool MergePartialFromCodedStream(
353  ::google::protobuf::io::CodedInputStream* input);
354  void SerializeWithCachedSizes(
355  ::google::protobuf::io::CodedOutputStream* output) const;
356  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
357  int GetCachedSize() const { return _cached_size_; }
358  private:
359  void SharedCtor();
360  void SharedDtor();
361  void SetCachedSize(int size) const;
362  public:
363 
364  ::google::protobuf::Metadata GetMetadata() const;
365 
366  // nested types ----------------------------------------------------
367 
368  typedef ProMCEvent_Event Event;
370 
371  // accessors -------------------------------------------------------
372 
373  // optional .promc.ProMCEvent.Event event = 1;
374  inline bool has_event() const;
375  inline void clear_event();
376  static const int kEventFieldNumber = 1;
377  inline const ::promc::ProMCEvent_Event& event() const;
378  inline ::promc::ProMCEvent_Event* mutable_event();
379  inline ::promc::ProMCEvent_Event* release_event();
380  inline void set_allocated_event(::promc::ProMCEvent_Event* event);
381 
382  // optional .promc.ProMCEvent.Particles particles = 2;
383  inline bool has_particles() const;
384  inline void clear_particles();
385  static const int kParticlesFieldNumber = 2;
386  inline const ::promc::ProMCEvent_Particles& particles() const;
387  inline ::promc::ProMCEvent_Particles* mutable_particles();
388  inline ::promc::ProMCEvent_Particles* release_particles();
389  inline void set_allocated_particles(::promc::ProMCEvent_Particles* particles);
390 
391  // @@protoc_insertion_point(class_scope:promc.ProMCEvent)
392  private:
393  inline void set_has_event();
394  inline void clear_has_event();
395  inline void set_has_particles();
396  inline void clear_has_particles();
397 
398  ::google::protobuf::UnknownFieldSet _unknown_fields_;
399 
401  ::promc::ProMCEvent_Particles* particles_;
402 
403  mutable int _cached_size_;
404  ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
405 
406  friend void protobuf_AddDesc_ProMC_2eproto();
407  friend void protobuf_AssignDesc_ProMC_2eproto();
408  friend void protobuf_ShutdownFile_ProMC_2eproto();
409 
410  void InitAsDefaultInstance();
411  static ProMCEvent* default_instance_;
412 };
413 // ===================================================================
414 
415 
416 // ===================================================================
417 
418 // ProMCEvent_Event
419 
420 // optional int32 Number = 1;
421 inline bool ProMCEvent_Event::has_number() const {
422  return (_has_bits_[0] & 0x00000001u) != 0;
423 }
424 inline void ProMCEvent_Event::set_has_number() {
425  _has_bits_[0] |= 0x00000001u;
426 }
427 inline void ProMCEvent_Event::clear_has_number() {
428  _has_bits_[0] &= ~0x00000001u;
429 }
430 inline void ProMCEvent_Event::clear_number() {
431  number_ = 0;
432  clear_has_number();
433 }
434 inline ::google::protobuf::int32 ProMCEvent_Event::number() const {
435  return number_;
436 }
437 inline void ProMCEvent_Event::set_number(::google::protobuf::int32 value) {
438  set_has_number();
439  number_ = value;
440 }
441 
442 // optional int32 Process_ID = 2;
443 inline bool ProMCEvent_Event::has_process_id() const {
444  return (_has_bits_[0] & 0x00000002u) != 0;
445 }
446 inline void ProMCEvent_Event::set_has_process_id() {
447  _has_bits_[0] |= 0x00000002u;
448 }
449 inline void ProMCEvent_Event::clear_has_process_id() {
450  _has_bits_[0] &= ~0x00000002u;
451 }
452 inline void ProMCEvent_Event::clear_process_id() {
453  process_id_ = 0;
454  clear_has_process_id();
455 }
456 inline ::google::protobuf::int32 ProMCEvent_Event::process_id() const {
457  return process_id_;
458 }
459 inline void ProMCEvent_Event::set_process_id(::google::protobuf::int32 value) {
460  set_has_process_id();
461  process_id_ = value;
462 }
463 
464 // repeated float fdata = 3;
465 inline int ProMCEvent_Event::fdata_size() const {
466  return fdata_.size();
467 }
468 inline void ProMCEvent_Event::clear_fdata() {
469  fdata_.Clear();
470 }
471 inline float ProMCEvent_Event::fdata(int index) const {
472  return fdata_.Get(index);
473 }
474 inline void ProMCEvent_Event::set_fdata(int index, float value) {
475  fdata_.Set(index, value);
476 }
477 inline void ProMCEvent_Event::add_fdata(float value) {
478  fdata_.Add(value);
479 }
480 inline const ::google::protobuf::RepeatedField< float >&
481 ProMCEvent_Event::fdata() const {
482  return fdata_;
483 }
484 inline ::google::protobuf::RepeatedField< float >*
485 ProMCEvent_Event::mutable_fdata() {
486  return &fdata_;
487 }
488 
489 // repeated sint64 idata = 4;
490 inline int ProMCEvent_Event::idata_size() const {
491  return idata_.size();
492 }
493 inline void ProMCEvent_Event::clear_idata() {
494  idata_.Clear();
495 }
496 inline ::google::protobuf::int64 ProMCEvent_Event::idata(int index) const {
497  return idata_.Get(index);
498 }
499 inline void ProMCEvent_Event::set_idata(int index, ::google::protobuf::int64 value) {
500  idata_.Set(index, value);
501 }
502 inline void ProMCEvent_Event::add_idata(::google::protobuf::int64 value) {
503  idata_.Add(value);
504 }
505 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
506 ProMCEvent_Event::idata() const {
507  return idata_;
508 }
509 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
510 ProMCEvent_Event::mutable_idata() {
511  return &idata_;
512 }
513 
514 // -------------------------------------------------------------------
515 
516 // ProMCEvent_Particles
517 
518 // repeated uint32 id = 1 [packed = true];
519 inline int ProMCEvent_Particles::id_size() const {
520  return id_.size();
521 }
522 inline void ProMCEvent_Particles::clear_id() {
523  id_.Clear();
524 }
525 inline ::google::protobuf::uint32 ProMCEvent_Particles::id(int index) const {
526  return id_.Get(index);
527 }
528 inline void ProMCEvent_Particles::set_id(int index, ::google::protobuf::uint32 value) {
529  id_.Set(index, value);
530 }
531 inline void ProMCEvent_Particles::add_id(::google::protobuf::uint32 value) {
532  id_.Add(value);
533 }
534 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
535 ProMCEvent_Particles::id() const {
536  return id_;
537 }
538 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
539 ProMCEvent_Particles::mutable_id() {
540  return &id_;
541 }
542 
543 // repeated sint32 pdg_id = 2 [packed = true];
544 inline int ProMCEvent_Particles::pdg_id_size() const {
545  return pdg_id_.size();
546 }
547 inline void ProMCEvent_Particles::clear_pdg_id() {
548  pdg_id_.Clear();
549 }
550 inline ::google::protobuf::int32 ProMCEvent_Particles::pdg_id(int index) const {
551  return pdg_id_.Get(index);
552 }
553 inline void ProMCEvent_Particles::set_pdg_id(int index, ::google::protobuf::int32 value) {
554  pdg_id_.Set(index, value);
555 }
556 inline void ProMCEvent_Particles::add_pdg_id(::google::protobuf::int32 value) {
557  pdg_id_.Add(value);
558 }
559 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
560 ProMCEvent_Particles::pdg_id() const {
561  return pdg_id_;
562 }
563 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
564 ProMCEvent_Particles::mutable_pdg_id() {
565  return &pdg_id_;
566 }
567 
568 // repeated sint64 Energy = 3 [packed = true];
569 inline int ProMCEvent_Particles::energy_size() const {
570  return energy_.size();
571 }
572 inline void ProMCEvent_Particles::clear_energy() {
573  energy_.Clear();
574 }
575 inline ::google::protobuf::int64 ProMCEvent_Particles::energy(int index) const {
576  return energy_.Get(index);
577 }
578 inline void ProMCEvent_Particles::set_energy(int index, ::google::protobuf::int64 value) {
579  energy_.Set(index, value);
580 }
581 inline void ProMCEvent_Particles::add_energy(::google::protobuf::int64 value) {
582  energy_.Add(value);
583 }
584 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
585 ProMCEvent_Particles::energy() const {
586  return energy_;
587 }
588 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
589 ProMCEvent_Particles::mutable_energy() {
590  return &energy_;
591 }
592 
593 // repeated sint64 Px = 4 [packed = true];
594 inline int ProMCEvent_Particles::px_size() const {
595  return px_.size();
596 }
597 inline void ProMCEvent_Particles::clear_px() {
598  px_.Clear();
599 }
600 inline ::google::protobuf::int64 ProMCEvent_Particles::px(int index) const {
601  return px_.Get(index);
602 }
603 inline void ProMCEvent_Particles::set_px(int index, ::google::protobuf::int64 value) {
604  px_.Set(index, value);
605 }
606 inline void ProMCEvent_Particles::add_px(::google::protobuf::int64 value) {
607  px_.Add(value);
608 }
609 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
610 ProMCEvent_Particles::px() const {
611  return px_;
612 }
613 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
614 ProMCEvent_Particles::mutable_px() {
615  return &px_;
616 }
617 
618 // repeated sint64 Py = 5 [packed = true];
619 inline int ProMCEvent_Particles::py_size() const {
620  return py_.size();
621 }
622 inline void ProMCEvent_Particles::clear_py() {
623  py_.Clear();
624 }
625 inline ::google::protobuf::int64 ProMCEvent_Particles::py(int index) const {
626  return py_.Get(index);
627 }
628 inline void ProMCEvent_Particles::set_py(int index, ::google::protobuf::int64 value) {
629  py_.Set(index, value);
630 }
631 inline void ProMCEvent_Particles::add_py(::google::protobuf::int64 value) {
632  py_.Add(value);
633 }
634 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
635 ProMCEvent_Particles::py() const {
636  return py_;
637 }
638 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
639 ProMCEvent_Particles::mutable_py() {
640  return &py_;
641 }
642 
643 // repeated sint64 Pz = 6 [packed = true];
644 inline int ProMCEvent_Particles::pz_size() const {
645  return pz_.size();
646 }
647 inline void ProMCEvent_Particles::clear_pz() {
648  pz_.Clear();
649 }
650 inline ::google::protobuf::int64 ProMCEvent_Particles::pz(int index) const {
651  return pz_.Get(index);
652 }
653 inline void ProMCEvent_Particles::set_pz(int index, ::google::protobuf::int64 value) {
654  pz_.Set(index, value);
655 }
656 inline void ProMCEvent_Particles::add_pz(::google::protobuf::int64 value) {
657  pz_.Add(value);
658 }
659 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
660 ProMCEvent_Particles::pz() const {
661  return pz_;
662 }
663 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
664 ProMCEvent_Particles::mutable_pz() {
665  return &pz_;
666 }
667 
668 // -------------------------------------------------------------------
669 
670 // ProMCEvent
671 
672 // optional .promc.ProMCEvent.Event event = 1;
673 inline bool ProMCEvent::has_event() const {
674  return (_has_bits_[0] & 0x00000001u) != 0;
675 }
676 inline void ProMCEvent::set_has_event() {
677  _has_bits_[0] |= 0x00000001u;
678 }
679 inline void ProMCEvent::clear_has_event() {
680  _has_bits_[0] &= ~0x00000001u;
681 }
682 inline void ProMCEvent::clear_event() {
683  if (event_ != NULL) event_->::promc::ProMCEvent_Event::Clear();
684  clear_has_event();
685 }
686 inline const ::promc::ProMCEvent_Event& ProMCEvent::event() const {
687  return event_ != NULL ? *event_ : *default_instance_->event_;
688 }
689 inline ::promc::ProMCEvent_Event* ProMCEvent::mutable_event() {
690  set_has_event();
691  if (event_ == NULL) event_ = new ::promc::ProMCEvent_Event;
692  return event_;
693 }
694 inline ::promc::ProMCEvent_Event* ProMCEvent::release_event() {
695  clear_has_event();
696  ::promc::ProMCEvent_Event* temp = event_;
697  event_ = NULL;
698  return temp;
699 }
700 inline void ProMCEvent::set_allocated_event(::promc::ProMCEvent_Event* event) {
701  delete event_;
702  event_ = event;
703  if (event) {
704  set_has_event();
705  } else {
706  clear_has_event();
707  }
708 }
709 
710 // optional .promc.ProMCEvent.Particles particles = 2;
711 inline bool ProMCEvent::has_particles() const {
712  return (_has_bits_[0] & 0x00000002u) != 0;
713 }
714 inline void ProMCEvent::set_has_particles() {
715  _has_bits_[0] |= 0x00000002u;
716 }
717 inline void ProMCEvent::clear_has_particles() {
718  _has_bits_[0] &= ~0x00000002u;
719 }
720 inline void ProMCEvent::clear_particles() {
721  if (particles_ != NULL) particles_->::promc::ProMCEvent_Particles::Clear();
722  clear_has_particles();
723 }
724 inline const ::promc::ProMCEvent_Particles& ProMCEvent::particles() const {
725  return particles_ != NULL ? *particles_ : *default_instance_->particles_;
726 }
727 inline ::promc::ProMCEvent_Particles* ProMCEvent::mutable_particles() {
728  set_has_particles();
729  if (particles_ == NULL) particles_ = new ::promc::ProMCEvent_Particles;
730  return particles_;
731 }
732 inline ::promc::ProMCEvent_Particles* ProMCEvent::release_particles() {
733  clear_has_particles();
734  ::promc::ProMCEvent_Particles* temp = particles_;
735  particles_ = NULL;
736  return temp;
737 }
738 inline void ProMCEvent::set_allocated_particles(::promc::ProMCEvent_Particles* particles) {
739  delete particles_;
740  particles_ = particles;
741  if (particles) {
742  set_has_particles();
743  } else {
744  clear_has_particles();
745  }
746 }
747 
748 
749 // @@protoc_insertion_point(namespace_scope)
750 
751 } // namespace promc
752 
753 #ifndef SWIG
754 namespace google {
755 namespace protobuf {
756 
757 
758 } // namespace google
759 } // namespace protobuf
760 #endif // SWIG
761 
762 // @@protoc_insertion_point(global_scope)
763 
764 #endif // PROTOBUF_ProMC_2eproto__INCLUDED
Definition: ProMC.pb.h:160
Definition: ProMC.pb.h:42
Definition: ProMC.pb.h:316