4 #ifndef PROTOBUF_ProMCHeader_2eproto__INCLUDED
5 #define PROTOBUF_ProMCHeader_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
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
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.
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>
32 void protobuf_AddDesc_ProMCHeader_2eproto();
33 void protobuf_AssignDesc_ProMCHeader_2eproto();
34 void protobuf_ShutdownFile_ProMCHeader_2eproto();
37 class ProMCHeader_ParticleData;
38 class ProMCHeader_MetaInt;
39 class ProMCHeader_MetaFloat;
55 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
56 return _unknown_fields_;
59 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
60 return &_unknown_fields_;
63 static const ::google::protobuf::Descriptor* descriptor();
71 void CopyFrom(const ::google::protobuf::Message& from);
72 void MergeFrom(const ::google::protobuf::Message& from);
76 bool IsInitialized()
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_; }
88 void SetCachedSize(
int size)
const;
91 ::google::protobuf::Metadata GetMetadata()
const;
98 inline bool has_id()
const;
99 inline void clear_id();
100 static const int kIdFieldNumber = 1;
101 inline ::google::protobuf::int32 id()
const;
102 inline void set_id(::google::protobuf::int32 value);
105 inline bool has_mass()
const;
106 inline void clear_mass();
107 static const int kMassFieldNumber = 2;
108 inline double mass()
const;
109 inline void set_mass(
double value);
112 inline bool has_name()
const;
113 inline void clear_name();
114 static const int kNameFieldNumber = 3;
115 inline const ::std::string& name()
const;
116 inline void set_name(const ::std::string& value);
117 inline void set_name(
const char* value);
118 inline void set_name(
const char* value,
size_t size);
119 inline ::std::string* mutable_name();
120 inline ::std::string* release_name();
121 inline void set_allocated_name(::std::string* name);
124 inline bool has_width()
const;
125 inline void clear_width();
126 static const int kWidthFieldNumber = 4;
127 inline float width()
const;
128 inline void set_width(
float value);
131 inline bool has_lifetime()
const;
132 inline void clear_lifetime();
133 static const int kLifetimeFieldNumber = 5;
134 inline float lifetime()
const;
135 inline void set_lifetime(
float value);
138 inline bool has_charge()
const;
139 inline void clear_charge();
140 static const int kChargeFieldNumber = 6;
141 inline ::google::protobuf::int32 charge()
const;
142 inline void set_charge(::google::protobuf::int32 value);
146 inline void set_has_id();
147 inline void clear_has_id();
148 inline void set_has_mass();
149 inline void clear_has_mass();
150 inline void set_has_name();
151 inline void clear_has_name();
152 inline void set_has_width();
153 inline void clear_has_width();
154 inline void set_has_lifetime();
155 inline void clear_has_lifetime();
156 inline void set_has_charge();
157 inline void clear_has_charge();
159 ::google::protobuf::UnknownFieldSet _unknown_fields_;
162 ::google::protobuf::int32 id_;
164 ::std::string* name_;
166 ::google::protobuf::int32 charge_;
168 mutable int _cached_size_;
169 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
171 friend void protobuf_AddDesc_ProMCHeader_2eproto();
172 friend void protobuf_AssignDesc_ProMCHeader_2eproto();
173 friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
175 void InitAsDefaultInstance();
192 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
193 return _unknown_fields_;
196 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
197 return &_unknown_fields_;
200 static const ::google::protobuf::Descriptor* descriptor();
208 void CopyFrom(const ::google::protobuf::Message& from);
209 void MergeFrom(const ::google::protobuf::Message& from);
213 bool IsInitialized()
const;
215 int ByteSize()
const;
216 bool MergePartialFromCodedStream(
217 ::google::protobuf::io::CodedInputStream* input);
218 void SerializeWithCachedSizes(
219 ::google::protobuf::io::CodedOutputStream* output)
const;
220 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
221 int GetCachedSize()
const {
return _cached_size_; }
225 void SetCachedSize(
int size)
const;
228 ::google::protobuf::Metadata GetMetadata()
const;
235 inline bool has_key()
const;
236 inline void clear_key();
237 static const int kKeyFieldNumber = 1;
238 inline const ::std::string& key()
const;
239 inline void set_key(const ::std::string& value);
240 inline void set_key(
const char* value);
241 inline void set_key(
const char* value,
size_t size);
242 inline ::std::string* mutable_key();
243 inline ::std::string* release_key();
244 inline void set_allocated_key(::std::string* key);
247 inline bool has_value()
const;
248 inline void clear_value();
249 static const int kValueFieldNumber = 2;
250 inline ::google::protobuf::int64 value()
const;
251 inline void set_value(::google::protobuf::int64 value);
255 inline void set_has_key();
256 inline void clear_has_key();
257 inline void set_has_value();
258 inline void clear_has_value();
260 ::google::protobuf::UnknownFieldSet _unknown_fields_;
263 ::google::protobuf::int64 value_;
265 mutable int _cached_size_;
266 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
268 friend void protobuf_AddDesc_ProMCHeader_2eproto();
269 friend void protobuf_AssignDesc_ProMCHeader_2eproto();
270 friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
272 void InitAsDefaultInstance();
289 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
290 return _unknown_fields_;
293 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
294 return &_unknown_fields_;
297 static const ::google::protobuf::Descriptor* descriptor();
305 void CopyFrom(const ::google::protobuf::Message& from);
306 void MergeFrom(const ::google::protobuf::Message& from);
310 bool IsInitialized()
const;
312 int ByteSize()
const;
313 bool MergePartialFromCodedStream(
314 ::google::protobuf::io::CodedInputStream* input);
315 void SerializeWithCachedSizes(
316 ::google::protobuf::io::CodedOutputStream* output)
const;
317 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
318 int GetCachedSize()
const {
return _cached_size_; }
322 void SetCachedSize(
int size)
const;
325 ::google::protobuf::Metadata GetMetadata()
const;
332 inline bool has_key()
const;
333 inline void clear_key();
334 static const int kKeyFieldNumber = 1;
335 inline const ::std::string& key()
const;
336 inline void set_key(const ::std::string& value);
337 inline void set_key(
const char* value);
338 inline void set_key(
const char* value,
size_t size);
339 inline ::std::string* mutable_key();
340 inline ::std::string* release_key();
341 inline void set_allocated_key(::std::string* key);
344 inline bool has_value()
const;
345 inline void clear_value();
346 static const int kValueFieldNumber = 2;
347 inline double value()
const;
348 inline void set_value(
double value);
352 inline void set_has_key();
353 inline void clear_has_key();
354 inline void set_has_value();
355 inline void clear_has_value();
357 ::google::protobuf::UnknownFieldSet _unknown_fields_;
362 mutable int _cached_size_;
363 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
365 friend void protobuf_AddDesc_ProMCHeader_2eproto();
366 friend void protobuf_AssignDesc_ProMCHeader_2eproto();
367 friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
369 void InitAsDefaultInstance();
386 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
387 return _unknown_fields_;
390 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
391 return &_unknown_fields_;
394 static const ::google::protobuf::Descriptor* descriptor();
402 void CopyFrom(const ::google::protobuf::Message& from);
403 void MergeFrom(const ::google::protobuf::Message& from);
407 bool IsInitialized()
const;
409 int ByteSize()
const;
410 bool MergePartialFromCodedStream(
411 ::google::protobuf::io::CodedInputStream* input);
412 void SerializeWithCachedSizes(
413 ::google::protobuf::io::CodedOutputStream* output)
const;
414 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
415 int GetCachedSize()
const {
return _cached_size_; }
419 void SetCachedSize(
int size)
const;
422 ::google::protobuf::Metadata GetMetadata()
const;
433 inline bool has_id1()
const;
434 inline void clear_id1();
435 static const int kId1FieldNumber = 1;
436 inline ::google::protobuf::int32 id1()
const;
437 inline void set_id1(::google::protobuf::int32 value);
440 inline bool has_id2()
const;
441 inline void clear_id2();
442 static const int kId2FieldNumber = 2;
443 inline ::google::protobuf::int32 id2()
const;
444 inline void set_id2(::google::protobuf::int32 value);
447 inline bool has_pdf_id1()
const;
448 inline void clear_pdf_id1();
449 static const int kPdfId1FieldNumber = 3;
450 inline ::google::protobuf::int32 pdf_id1()
const;
451 inline void set_pdf_id1(::google::protobuf::int32 value);
454 inline bool has_pdf_id2()
const;
455 inline void clear_pdf_id2();
456 static const int kPdfId2FieldNumber = 4;
457 inline ::google::protobuf::int32 pdf_id2()
const;
458 inline void set_pdf_id2(::google::protobuf::int32 value);
461 inline bool has_x1()
const;
462 inline void clear_x1();
463 static const int kX1FieldNumber = 5;
464 inline double x1()
const;
465 inline void set_x1(
double value);
468 inline bool has_x2()
const;
469 inline void clear_x2();
470 static const int kX2FieldNumber = 6;
471 inline double x2()
const;
472 inline void set_x2(
double value);
475 inline bool has_scalepdf()
const;
476 inline void clear_scalepdf();
477 static const int kScalepdfFieldNumber = 7;
478 inline double scalepdf()
const;
479 inline void set_scalepdf(
double value);
482 inline bool has_pdf1()
const;
483 inline void clear_pdf1();
484 static const int kPdf1FieldNumber = 8;
485 inline ::google::protobuf::int32 pdf1()
const;
486 inline void set_pdf1(::google::protobuf::int32 value);
489 inline bool has_pdf2()
const;
490 inline void clear_pdf2();
491 static const int kPdf2FieldNumber = 9;
492 inline ::google::protobuf::int32 pdf2()
const;
493 inline void set_pdf2(::google::protobuf::int32 value);
496 inline bool has_ecm()
const;
497 inline void clear_ecm();
498 static const int kECMFieldNumber = 10;
499 inline double ecm()
const;
500 inline void set_ecm(
double value);
503 inline bool has_s()
const;
504 inline void clear_s();
505 static const int kSFieldNumber = 11;
506 inline double s()
const;
507 inline void set_s(
double value);
510 inline bool has_name()
const;
511 inline void clear_name();
512 static const int kNameFieldNumber = 12;
513 inline const ::std::string& name()
const;
514 inline void set_name(const ::std::string& value);
515 inline void set_name(
const char* value);
516 inline void set_name(
const char* value,
size_t size);
517 inline ::std::string* mutable_name();
518 inline ::std::string* release_name();
519 inline void set_allocated_name(::std::string* name);
522 inline bool has_code()
const;
523 inline void clear_code();
524 static const int kCodeFieldNumber = 13;
525 inline ::google::protobuf::int32 code()
const;
526 inline void set_code(::google::protobuf::int32 value);
529 inline bool has_cross_section()
const;
530 inline void clear_cross_section();
531 static const int kCrossSectionFieldNumber = 14;
532 inline double cross_section()
const;
533 inline void set_cross_section(
double value);
536 inline bool has_cross_section_error()
const;
537 inline void clear_cross_section_error();
538 static const int kCrossSectionErrorFieldNumber = 15;
539 inline double cross_section_error()
const;
540 inline void set_cross_section_error(
double value);
543 inline bool has_momentumunit()
const;
544 inline void clear_momentumunit();
545 static const int kMomentumUnitFieldNumber = 16;
546 inline ::google::protobuf::int32 momentumunit()
const;
547 inline void set_momentumunit(::google::protobuf::int32 value);
550 inline bool has_lengthunit()
const;
551 inline void clear_lengthunit();
552 static const int kLengthUnitFieldNumber = 17;
553 inline ::google::protobuf::int32 lengthunit()
const;
554 inline void set_lengthunit(::google::protobuf::int32 value);
557 inline bool has_namemomentumunit()
const;
558 inline void clear_namemomentumunit();
559 static const int kNameMomentumUnitFieldNumber = 18;
560 inline const ::std::string& namemomentumunit()
const;
561 inline void set_namemomentumunit(const ::std::string& value);
562 inline void set_namemomentumunit(
const char* value);
563 inline void set_namemomentumunit(
const char* value,
size_t size);
564 inline ::std::string* mutable_namemomentumunit();
565 inline ::std::string* release_namemomentumunit();
566 inline void set_allocated_namemomentumunit(::std::string* namemomentumunit);
569 inline bool has_namelengthunit()
const;
570 inline void clear_namelengthunit();
571 static const int kNameLengthUnitFieldNumber = 19;
572 inline const ::std::string& namelengthunit()
const;
573 inline void set_namelengthunit(const ::std::string& value);
574 inline void set_namelengthunit(
const char* value);
575 inline void set_namelengthunit(
const char* value,
size_t size);
576 inline ::std::string* mutable_namelengthunit();
577 inline ::std::string* release_namelengthunit();
578 inline void set_allocated_namelengthunit(::std::string* namelengthunit);
581 inline bool has_weight()
const;
582 inline void clear_weight();
583 static const int kWeightFieldNumber = 20;
584 inline double weight()
const;
585 inline void set_weight(
double value);
588 inline bool has_requested_events()
const;
589 inline void clear_requested_events();
590 static const int kRequestedEventsFieldNumber = 21;
591 inline double requested_events()
const;
592 inline void set_requested_events(
double value);
595 inline int particledata_size()
const;
596 inline void clear_particledata();
597 static const int kParticleDataFieldNumber = 30;
598 inline const ::promc::ProMCHeader_ParticleData& particledata(
int index)
const;
599 inline ::promc::ProMCHeader_ParticleData* mutable_particledata(
int index);
600 inline ::promc::ProMCHeader_ParticleData* add_particledata();
601 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData >&
602 particledata()
const;
603 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData >*
604 mutable_particledata();
607 inline int metaint_size()
const;
608 inline void clear_metaint();
609 static const int kMetaIntFieldNumber = 31;
610 inline const ::promc::ProMCHeader_MetaInt& metaint(
int index)
const;
611 inline ::promc::ProMCHeader_MetaInt* mutable_metaint(
int index);
612 inline ::promc::ProMCHeader_MetaInt* add_metaint();
613 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >&
615 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >*
619 inline int metafloat_size()
const;
620 inline void clear_metafloat();
621 static const int kMetaFloatFieldNumber = 32;
622 inline const ::promc::ProMCHeader_MetaFloat& metafloat(
int index)
const;
623 inline ::promc::ProMCHeader_MetaFloat* mutable_metafloat(
int index);
624 inline ::promc::ProMCHeader_MetaFloat* add_metafloat();
625 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >&
627 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >*
632 inline void set_has_id1();
633 inline void clear_has_id1();
634 inline void set_has_id2();
635 inline void clear_has_id2();
636 inline void set_has_pdf_id1();
637 inline void clear_has_pdf_id1();
638 inline void set_has_pdf_id2();
639 inline void clear_has_pdf_id2();
640 inline void set_has_x1();
641 inline void clear_has_x1();
642 inline void set_has_x2();
643 inline void clear_has_x2();
644 inline void set_has_scalepdf();
645 inline void clear_has_scalepdf();
646 inline void set_has_pdf1();
647 inline void clear_has_pdf1();
648 inline void set_has_pdf2();
649 inline void clear_has_pdf2();
650 inline void set_has_ecm();
651 inline void clear_has_ecm();
652 inline void set_has_s();
653 inline void clear_has_s();
654 inline void set_has_name();
655 inline void clear_has_name();
656 inline void set_has_code();
657 inline void clear_has_code();
658 inline void set_has_cross_section();
659 inline void clear_has_cross_section();
660 inline void set_has_cross_section_error();
661 inline void clear_has_cross_section_error();
662 inline void set_has_momentumunit();
663 inline void clear_has_momentumunit();
664 inline void set_has_lengthunit();
665 inline void clear_has_lengthunit();
666 inline void set_has_namemomentumunit();
667 inline void clear_has_namemomentumunit();
668 inline void set_has_namelengthunit();
669 inline void clear_has_namelengthunit();
670 inline void set_has_weight();
671 inline void clear_has_weight();
672 inline void set_has_requested_events();
673 inline void clear_has_requested_events();
675 ::google::protobuf::UnknownFieldSet _unknown_fields_;
677 ::google::protobuf::int32 id1_;
678 ::google::protobuf::int32 id2_;
679 ::google::protobuf::int32 pdf_id1_;
680 ::google::protobuf::int32 pdf_id2_;
684 ::google::protobuf::int32 pdf1_;
685 ::google::protobuf::int32 pdf2_;
688 ::std::string* name_;
689 double cross_section_;
690 ::google::protobuf::int32 code_;
691 ::google::protobuf::int32 momentumunit_;
692 double cross_section_error_;
693 ::std::string* namemomentumunit_;
694 ::std::string* namelengthunit_;
696 double requested_events_;
697 ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData > particledata_;
698 ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt > metaint_;
699 ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat > metafloat_;
700 ::google::protobuf::int32 lengthunit_;
702 mutable int _cached_size_;
703 ::google::protobuf::uint32 _has_bits_[(24 + 31) / 32];
705 friend void protobuf_AddDesc_ProMCHeader_2eproto();
706 friend void protobuf_AssignDesc_ProMCHeader_2eproto();
707 friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
709 void InitAsDefaultInstance();
720 inline bool ProMCHeader_ParticleData::has_id()
const {
721 return (_has_bits_[0] & 0x00000001u) != 0;
723 inline void ProMCHeader_ParticleData::set_has_id() {
724 _has_bits_[0] |= 0x00000001u;
726 inline void ProMCHeader_ParticleData::clear_has_id() {
727 _has_bits_[0] &= ~0x00000001u;
729 inline void ProMCHeader_ParticleData::clear_id() {
733 inline ::google::protobuf::int32 ProMCHeader_ParticleData::id()
const {
736 inline void ProMCHeader_ParticleData::set_id(::google::protobuf::int32 value) {
742 inline bool ProMCHeader_ParticleData::has_mass()
const {
743 return (_has_bits_[0] & 0x00000002u) != 0;
745 inline void ProMCHeader_ParticleData::set_has_mass() {
746 _has_bits_[0] |= 0x00000002u;
748 inline void ProMCHeader_ParticleData::clear_has_mass() {
749 _has_bits_[0] &= ~0x00000002u;
751 inline void ProMCHeader_ParticleData::clear_mass() {
755 inline double ProMCHeader_ParticleData::mass()
const {
758 inline void ProMCHeader_ParticleData::set_mass(
double value) {
764 inline bool ProMCHeader_ParticleData::has_name()
const {
765 return (_has_bits_[0] & 0x00000004u) != 0;
767 inline void ProMCHeader_ParticleData::set_has_name() {
768 _has_bits_[0] |= 0x00000004u;
770 inline void ProMCHeader_ParticleData::clear_has_name() {
771 _has_bits_[0] &= ~0x00000004u;
773 inline void ProMCHeader_ParticleData::clear_name() {
774 if (name_ != &::google::protobuf::internal::kEmptyString) {
779 inline const ::std::string& ProMCHeader_ParticleData::name()
const {
782 inline void ProMCHeader_ParticleData::set_name(const ::std::string& value) {
784 if (name_ == &::google::protobuf::internal::kEmptyString) {
785 name_ = new ::std::string;
787 name_->assign(value);
789 inline void ProMCHeader_ParticleData::set_name(
const char* value) {
791 if (name_ == &::google::protobuf::internal::kEmptyString) {
792 name_ = new ::std::string;
794 name_->assign(value);
796 inline void ProMCHeader_ParticleData::set_name(
const char* value,
size_t size) {
798 if (name_ == &::google::protobuf::internal::kEmptyString) {
799 name_ = new ::std::string;
801 name_->assign(reinterpret_cast<const char*>(value), size);
803 inline ::std::string* ProMCHeader_ParticleData::mutable_name() {
805 if (name_ == &::google::protobuf::internal::kEmptyString) {
806 name_ = new ::std::string;
810 inline ::std::string* ProMCHeader_ParticleData::release_name() {
812 if (name_ == &::google::protobuf::internal::kEmptyString) {
815 ::std::string* temp = name_;
816 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
820 inline void ProMCHeader_ParticleData::set_allocated_name(::std::string* name) {
821 if (name_ != &::google::protobuf::internal::kEmptyString) {
829 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
834 inline bool ProMCHeader_ParticleData::has_width()
const {
835 return (_has_bits_[0] & 0x00000008u) != 0;
837 inline void ProMCHeader_ParticleData::set_has_width() {
838 _has_bits_[0] |= 0x00000008u;
840 inline void ProMCHeader_ParticleData::clear_has_width() {
841 _has_bits_[0] &= ~0x00000008u;
843 inline void ProMCHeader_ParticleData::clear_width() {
847 inline float ProMCHeader_ParticleData::width()
const {
850 inline void ProMCHeader_ParticleData::set_width(
float value) {
856 inline bool ProMCHeader_ParticleData::has_lifetime()
const {
857 return (_has_bits_[0] & 0x00000010u) != 0;
859 inline void ProMCHeader_ParticleData::set_has_lifetime() {
860 _has_bits_[0] |= 0x00000010u;
862 inline void ProMCHeader_ParticleData::clear_has_lifetime() {
863 _has_bits_[0] &= ~0x00000010u;
865 inline void ProMCHeader_ParticleData::clear_lifetime() {
867 clear_has_lifetime();
869 inline float ProMCHeader_ParticleData::lifetime()
const {
872 inline void ProMCHeader_ParticleData::set_lifetime(
float value) {
878 inline bool ProMCHeader_ParticleData::has_charge()
const {
879 return (_has_bits_[0] & 0x00000020u) != 0;
881 inline void ProMCHeader_ParticleData::set_has_charge() {
882 _has_bits_[0] |= 0x00000020u;
884 inline void ProMCHeader_ParticleData::clear_has_charge() {
885 _has_bits_[0] &= ~0x00000020u;
887 inline void ProMCHeader_ParticleData::clear_charge() {
891 inline ::google::protobuf::int32 ProMCHeader_ParticleData::charge()
const {
894 inline void ProMCHeader_ParticleData::set_charge(::google::protobuf::int32 value) {
904 inline bool ProMCHeader_MetaInt::has_key()
const {
905 return (_has_bits_[0] & 0x00000001u) != 0;
907 inline void ProMCHeader_MetaInt::set_has_key() {
908 _has_bits_[0] |= 0x00000001u;
910 inline void ProMCHeader_MetaInt::clear_has_key() {
911 _has_bits_[0] &= ~0x00000001u;
913 inline void ProMCHeader_MetaInt::clear_key() {
914 if (key_ != &::google::protobuf::internal::kEmptyString) {
919 inline const ::std::string& ProMCHeader_MetaInt::key()
const {
922 inline void ProMCHeader_MetaInt::set_key(const ::std::string& value) {
924 if (key_ == &::google::protobuf::internal::kEmptyString) {
925 key_ = new ::std::string;
929 inline void ProMCHeader_MetaInt::set_key(
const char* value) {
931 if (key_ == &::google::protobuf::internal::kEmptyString) {
932 key_ = new ::std::string;
936 inline void ProMCHeader_MetaInt::set_key(
const char* value,
size_t size) {
938 if (key_ == &::google::protobuf::internal::kEmptyString) {
939 key_ = new ::std::string;
941 key_->assign(reinterpret_cast<const char*>(value), size);
943 inline ::std::string* ProMCHeader_MetaInt::mutable_key() {
945 if (key_ == &::google::protobuf::internal::kEmptyString) {
946 key_ = new ::std::string;
950 inline ::std::string* ProMCHeader_MetaInt::release_key() {
952 if (key_ == &::google::protobuf::internal::kEmptyString) {
955 ::std::string* temp = key_;
956 key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
960 inline void ProMCHeader_MetaInt::set_allocated_key(::std::string* key) {
961 if (key_ != &::google::protobuf::internal::kEmptyString) {
969 key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
974 inline bool ProMCHeader_MetaInt::has_value()
const {
975 return (_has_bits_[0] & 0x00000002u) != 0;
977 inline void ProMCHeader_MetaInt::set_has_value() {
978 _has_bits_[0] |= 0x00000002u;
980 inline void ProMCHeader_MetaInt::clear_has_value() {
981 _has_bits_[0] &= ~0x00000002u;
983 inline void ProMCHeader_MetaInt::clear_value() {
984 value_ = GOOGLE_LONGLONG(0);
987 inline ::google::protobuf::int64 ProMCHeader_MetaInt::value()
const {
990 inline void ProMCHeader_MetaInt::set_value(::google::protobuf::int64 value) {
1000 inline bool ProMCHeader_MetaFloat::has_key()
const {
1001 return (_has_bits_[0] & 0x00000001u) != 0;
1003 inline void ProMCHeader_MetaFloat::set_has_key() {
1004 _has_bits_[0] |= 0x00000001u;
1006 inline void ProMCHeader_MetaFloat::clear_has_key() {
1007 _has_bits_[0] &= ~0x00000001u;
1009 inline void ProMCHeader_MetaFloat::clear_key() {
1010 if (key_ != &::google::protobuf::internal::kEmptyString) {
1015 inline const ::std::string& ProMCHeader_MetaFloat::key()
const {
1018 inline void ProMCHeader_MetaFloat::set_key(const ::std::string& value) {
1020 if (key_ == &::google::protobuf::internal::kEmptyString) {
1021 key_ = new ::std::string;
1023 key_->assign(value);
1025 inline void ProMCHeader_MetaFloat::set_key(
const char* value) {
1027 if (key_ == &::google::protobuf::internal::kEmptyString) {
1028 key_ = new ::std::string;
1030 key_->assign(value);
1032 inline void ProMCHeader_MetaFloat::set_key(
const char* value,
size_t size) {
1034 if (key_ == &::google::protobuf::internal::kEmptyString) {
1035 key_ = new ::std::string;
1037 key_->assign(reinterpret_cast<const char*>(value), size);
1039 inline ::std::string* ProMCHeader_MetaFloat::mutable_key() {
1041 if (key_ == &::google::protobuf::internal::kEmptyString) {
1042 key_ = new ::std::string;
1046 inline ::std::string* ProMCHeader_MetaFloat::release_key() {
1048 if (key_ == &::google::protobuf::internal::kEmptyString) {
1051 ::std::string* temp = key_;
1052 key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1056 inline void ProMCHeader_MetaFloat::set_allocated_key(::std::string* key) {
1057 if (key_ != &::google::protobuf::internal::kEmptyString) {
1065 key_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1070 inline bool ProMCHeader_MetaFloat::has_value()
const {
1071 return (_has_bits_[0] & 0x00000002u) != 0;
1073 inline void ProMCHeader_MetaFloat::set_has_value() {
1074 _has_bits_[0] |= 0x00000002u;
1076 inline void ProMCHeader_MetaFloat::clear_has_value() {
1077 _has_bits_[0] &= ~0x00000002u;
1079 inline void ProMCHeader_MetaFloat::clear_value() {
1083 inline double ProMCHeader_MetaFloat::value()
const {
1086 inline void ProMCHeader_MetaFloat::set_value(
double value) {
1096 inline bool ProMCHeader::has_id1()
const {
1097 return (_has_bits_[0] & 0x00000001u) != 0;
1099 inline void ProMCHeader::set_has_id1() {
1100 _has_bits_[0] |= 0x00000001u;
1102 inline void ProMCHeader::clear_has_id1() {
1103 _has_bits_[0] &= ~0x00000001u;
1105 inline void ProMCHeader::clear_id1() {
1109 inline ::google::protobuf::int32 ProMCHeader::id1()
const {
1112 inline void ProMCHeader::set_id1(::google::protobuf::int32 value) {
1118 inline bool ProMCHeader::has_id2()
const {
1119 return (_has_bits_[0] & 0x00000002u) != 0;
1121 inline void ProMCHeader::set_has_id2() {
1122 _has_bits_[0] |= 0x00000002u;
1124 inline void ProMCHeader::clear_has_id2() {
1125 _has_bits_[0] &= ~0x00000002u;
1127 inline void ProMCHeader::clear_id2() {
1131 inline ::google::protobuf::int32 ProMCHeader::id2()
const {
1134 inline void ProMCHeader::set_id2(::google::protobuf::int32 value) {
1140 inline bool ProMCHeader::has_pdf_id1()
const {
1141 return (_has_bits_[0] & 0x00000004u) != 0;
1143 inline void ProMCHeader::set_has_pdf_id1() {
1144 _has_bits_[0] |= 0x00000004u;
1146 inline void ProMCHeader::clear_has_pdf_id1() {
1147 _has_bits_[0] &= ~0x00000004u;
1149 inline void ProMCHeader::clear_pdf_id1() {
1151 clear_has_pdf_id1();
1153 inline ::google::protobuf::int32 ProMCHeader::pdf_id1()
const {
1156 inline void ProMCHeader::set_pdf_id1(::google::protobuf::int32 value) {
1162 inline bool ProMCHeader::has_pdf_id2()
const {
1163 return (_has_bits_[0] & 0x00000008u) != 0;
1165 inline void ProMCHeader::set_has_pdf_id2() {
1166 _has_bits_[0] |= 0x00000008u;
1168 inline void ProMCHeader::clear_has_pdf_id2() {
1169 _has_bits_[0] &= ~0x00000008u;
1171 inline void ProMCHeader::clear_pdf_id2() {
1173 clear_has_pdf_id2();
1175 inline ::google::protobuf::int32 ProMCHeader::pdf_id2()
const {
1178 inline void ProMCHeader::set_pdf_id2(::google::protobuf::int32 value) {
1184 inline bool ProMCHeader::has_x1()
const {
1185 return (_has_bits_[0] & 0x00000010u) != 0;
1187 inline void ProMCHeader::set_has_x1() {
1188 _has_bits_[0] |= 0x00000010u;
1190 inline void ProMCHeader::clear_has_x1() {
1191 _has_bits_[0] &= ~0x00000010u;
1193 inline void ProMCHeader::clear_x1() {
1197 inline double ProMCHeader::x1()
const {
1200 inline void ProMCHeader::set_x1(
double value) {
1206 inline bool ProMCHeader::has_x2()
const {
1207 return (_has_bits_[0] & 0x00000020u) != 0;
1209 inline void ProMCHeader::set_has_x2() {
1210 _has_bits_[0] |= 0x00000020u;
1212 inline void ProMCHeader::clear_has_x2() {
1213 _has_bits_[0] &= ~0x00000020u;
1215 inline void ProMCHeader::clear_x2() {
1219 inline double ProMCHeader::x2()
const {
1222 inline void ProMCHeader::set_x2(
double value) {
1228 inline bool ProMCHeader::has_scalepdf()
const {
1229 return (_has_bits_[0] & 0x00000040u) != 0;
1231 inline void ProMCHeader::set_has_scalepdf() {
1232 _has_bits_[0] |= 0x00000040u;
1234 inline void ProMCHeader::clear_has_scalepdf() {
1235 _has_bits_[0] &= ~0x00000040u;
1237 inline void ProMCHeader::clear_scalepdf() {
1239 clear_has_scalepdf();
1241 inline double ProMCHeader::scalepdf()
const {
1244 inline void ProMCHeader::set_scalepdf(
double value) {
1250 inline bool ProMCHeader::has_pdf1()
const {
1251 return (_has_bits_[0] & 0x00000080u) != 0;
1253 inline void ProMCHeader::set_has_pdf1() {
1254 _has_bits_[0] |= 0x00000080u;
1256 inline void ProMCHeader::clear_has_pdf1() {
1257 _has_bits_[0] &= ~0x00000080u;
1259 inline void ProMCHeader::clear_pdf1() {
1263 inline ::google::protobuf::int32 ProMCHeader::pdf1()
const {
1266 inline void ProMCHeader::set_pdf1(::google::protobuf::int32 value) {
1272 inline bool ProMCHeader::has_pdf2()
const {
1273 return (_has_bits_[0] & 0x00000100u) != 0;
1275 inline void ProMCHeader::set_has_pdf2() {
1276 _has_bits_[0] |= 0x00000100u;
1278 inline void ProMCHeader::clear_has_pdf2() {
1279 _has_bits_[0] &= ~0x00000100u;
1281 inline void ProMCHeader::clear_pdf2() {
1285 inline ::google::protobuf::int32 ProMCHeader::pdf2()
const {
1288 inline void ProMCHeader::set_pdf2(::google::protobuf::int32 value) {
1294 inline bool ProMCHeader::has_ecm()
const {
1295 return (_has_bits_[0] & 0x00000200u) != 0;
1297 inline void ProMCHeader::set_has_ecm() {
1298 _has_bits_[0] |= 0x00000200u;
1300 inline void ProMCHeader::clear_has_ecm() {
1301 _has_bits_[0] &= ~0x00000200u;
1303 inline void ProMCHeader::clear_ecm() {
1307 inline double ProMCHeader::ecm()
const {
1310 inline void ProMCHeader::set_ecm(
double value) {
1316 inline bool ProMCHeader::has_s()
const {
1317 return (_has_bits_[0] & 0x00000400u) != 0;
1319 inline void ProMCHeader::set_has_s() {
1320 _has_bits_[0] |= 0x00000400u;
1322 inline void ProMCHeader::clear_has_s() {
1323 _has_bits_[0] &= ~0x00000400u;
1325 inline void ProMCHeader::clear_s() {
1329 inline double ProMCHeader::s()
const {
1332 inline void ProMCHeader::set_s(
double value) {
1338 inline bool ProMCHeader::has_name()
const {
1339 return (_has_bits_[0] & 0x00000800u) != 0;
1341 inline void ProMCHeader::set_has_name() {
1342 _has_bits_[0] |= 0x00000800u;
1344 inline void ProMCHeader::clear_has_name() {
1345 _has_bits_[0] &= ~0x00000800u;
1347 inline void ProMCHeader::clear_name() {
1348 if (name_ != &::google::protobuf::internal::kEmptyString) {
1353 inline const ::std::string& ProMCHeader::name()
const {
1356 inline void ProMCHeader::set_name(const ::std::string& value) {
1358 if (name_ == &::google::protobuf::internal::kEmptyString) {
1359 name_ = new ::std::string;
1361 name_->assign(value);
1363 inline void ProMCHeader::set_name(
const char* value) {
1365 if (name_ == &::google::protobuf::internal::kEmptyString) {
1366 name_ = new ::std::string;
1368 name_->assign(value);
1370 inline void ProMCHeader::set_name(
const char* value,
size_t size) {
1372 if (name_ == &::google::protobuf::internal::kEmptyString) {
1373 name_ = new ::std::string;
1375 name_->assign(reinterpret_cast<const char*>(value), size);
1377 inline ::std::string* ProMCHeader::mutable_name() {
1379 if (name_ == &::google::protobuf::internal::kEmptyString) {
1380 name_ = new ::std::string;
1384 inline ::std::string* ProMCHeader::release_name() {
1386 if (name_ == &::google::protobuf::internal::kEmptyString) {
1389 ::std::string* temp = name_;
1390 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1394 inline void ProMCHeader::set_allocated_name(::std::string* name) {
1395 if (name_ != &::google::protobuf::internal::kEmptyString) {
1403 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1408 inline bool ProMCHeader::has_code()
const {
1409 return (_has_bits_[0] & 0x00001000u) != 0;
1411 inline void ProMCHeader::set_has_code() {
1412 _has_bits_[0] |= 0x00001000u;
1414 inline void ProMCHeader::clear_has_code() {
1415 _has_bits_[0] &= ~0x00001000u;
1417 inline void ProMCHeader::clear_code() {
1421 inline ::google::protobuf::int32 ProMCHeader::code()
const {
1424 inline void ProMCHeader::set_code(::google::protobuf::int32 value) {
1430 inline bool ProMCHeader::has_cross_section()
const {
1431 return (_has_bits_[0] & 0x00002000u) != 0;
1433 inline void ProMCHeader::set_has_cross_section() {
1434 _has_bits_[0] |= 0x00002000u;
1436 inline void ProMCHeader::clear_has_cross_section() {
1437 _has_bits_[0] &= ~0x00002000u;
1439 inline void ProMCHeader::clear_cross_section() {
1441 clear_has_cross_section();
1443 inline double ProMCHeader::cross_section()
const {
1444 return cross_section_;
1446 inline void ProMCHeader::set_cross_section(
double value) {
1447 set_has_cross_section();
1448 cross_section_ = value;
1452 inline bool ProMCHeader::has_cross_section_error()
const {
1453 return (_has_bits_[0] & 0x00004000u) != 0;
1455 inline void ProMCHeader::set_has_cross_section_error() {
1456 _has_bits_[0] |= 0x00004000u;
1458 inline void ProMCHeader::clear_has_cross_section_error() {
1459 _has_bits_[0] &= ~0x00004000u;
1461 inline void ProMCHeader::clear_cross_section_error() {
1462 cross_section_error_ = 0;
1463 clear_has_cross_section_error();
1465 inline double ProMCHeader::cross_section_error()
const {
1466 return cross_section_error_;
1468 inline void ProMCHeader::set_cross_section_error(
double value) {
1469 set_has_cross_section_error();
1470 cross_section_error_ = value;
1474 inline bool ProMCHeader::has_momentumunit()
const {
1475 return (_has_bits_[0] & 0x00008000u) != 0;
1477 inline void ProMCHeader::set_has_momentumunit() {
1478 _has_bits_[0] |= 0x00008000u;
1480 inline void ProMCHeader::clear_has_momentumunit() {
1481 _has_bits_[0] &= ~0x00008000u;
1483 inline void ProMCHeader::clear_momentumunit() {
1485 clear_has_momentumunit();
1487 inline ::google::protobuf::int32 ProMCHeader::momentumunit()
const {
1488 return momentumunit_;
1490 inline void ProMCHeader::set_momentumunit(::google::protobuf::int32 value) {
1491 set_has_momentumunit();
1492 momentumunit_ = value;
1496 inline bool ProMCHeader::has_lengthunit()
const {
1497 return (_has_bits_[0] & 0x00010000u) != 0;
1499 inline void ProMCHeader::set_has_lengthunit() {
1500 _has_bits_[0] |= 0x00010000u;
1502 inline void ProMCHeader::clear_has_lengthunit() {
1503 _has_bits_[0] &= ~0x00010000u;
1505 inline void ProMCHeader::clear_lengthunit() {
1507 clear_has_lengthunit();
1509 inline ::google::protobuf::int32 ProMCHeader::lengthunit()
const {
1512 inline void ProMCHeader::set_lengthunit(::google::protobuf::int32 value) {
1513 set_has_lengthunit();
1514 lengthunit_ = value;
1518 inline bool ProMCHeader::has_namemomentumunit()
const {
1519 return (_has_bits_[0] & 0x00020000u) != 0;
1521 inline void ProMCHeader::set_has_namemomentumunit() {
1522 _has_bits_[0] |= 0x00020000u;
1524 inline void ProMCHeader::clear_has_namemomentumunit() {
1525 _has_bits_[0] &= ~0x00020000u;
1527 inline void ProMCHeader::clear_namemomentumunit() {
1528 if (namemomentumunit_ != &::google::protobuf::internal::kEmptyString) {
1529 namemomentumunit_->clear();
1531 clear_has_namemomentumunit();
1533 inline const ::std::string& ProMCHeader::namemomentumunit()
const {
1534 return *namemomentumunit_;
1536 inline void ProMCHeader::set_namemomentumunit(const ::std::string& value) {
1537 set_has_namemomentumunit();
1538 if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
1539 namemomentumunit_ = new ::std::string;
1541 namemomentumunit_->assign(value);
1543 inline void ProMCHeader::set_namemomentumunit(
const char* value) {
1544 set_has_namemomentumunit();
1545 if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
1546 namemomentumunit_ = new ::std::string;
1548 namemomentumunit_->assign(value);
1550 inline void ProMCHeader::set_namemomentumunit(
const char* value,
size_t size) {
1551 set_has_namemomentumunit();
1552 if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
1553 namemomentumunit_ = new ::std::string;
1555 namemomentumunit_->assign(reinterpret_cast<const char*>(value), size);
1557 inline ::std::string* ProMCHeader::mutable_namemomentumunit() {
1558 set_has_namemomentumunit();
1559 if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
1560 namemomentumunit_ = new ::std::string;
1562 return namemomentumunit_;
1564 inline ::std::string* ProMCHeader::release_namemomentumunit() {
1565 clear_has_namemomentumunit();
1566 if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
1569 ::std::string* temp = namemomentumunit_;
1570 namemomentumunit_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1574 inline void ProMCHeader::set_allocated_namemomentumunit(::std::string* namemomentumunit) {
1575 if (namemomentumunit_ != &::google::protobuf::internal::kEmptyString) {
1576 delete namemomentumunit_;
1578 if (namemomentumunit) {
1579 set_has_namemomentumunit();
1580 namemomentumunit_ = namemomentumunit;
1582 clear_has_namemomentumunit();
1583 namemomentumunit_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1588 inline bool ProMCHeader::has_namelengthunit()
const {
1589 return (_has_bits_[0] & 0x00040000u) != 0;
1591 inline void ProMCHeader::set_has_namelengthunit() {
1592 _has_bits_[0] |= 0x00040000u;
1594 inline void ProMCHeader::clear_has_namelengthunit() {
1595 _has_bits_[0] &= ~0x00040000u;
1597 inline void ProMCHeader::clear_namelengthunit() {
1598 if (namelengthunit_ != &::google::protobuf::internal::kEmptyString) {
1599 namelengthunit_->clear();
1601 clear_has_namelengthunit();
1603 inline const ::std::string& ProMCHeader::namelengthunit()
const {
1604 return *namelengthunit_;
1606 inline void ProMCHeader::set_namelengthunit(const ::std::string& value) {
1607 set_has_namelengthunit();
1608 if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
1609 namelengthunit_ = new ::std::string;
1611 namelengthunit_->assign(value);
1613 inline void ProMCHeader::set_namelengthunit(
const char* value) {
1614 set_has_namelengthunit();
1615 if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
1616 namelengthunit_ = new ::std::string;
1618 namelengthunit_->assign(value);
1620 inline void ProMCHeader::set_namelengthunit(
const char* value,
size_t size) {
1621 set_has_namelengthunit();
1622 if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
1623 namelengthunit_ = new ::std::string;
1625 namelengthunit_->assign(reinterpret_cast<const char*>(value), size);
1627 inline ::std::string* ProMCHeader::mutable_namelengthunit() {
1628 set_has_namelengthunit();
1629 if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
1630 namelengthunit_ = new ::std::string;
1632 return namelengthunit_;
1634 inline ::std::string* ProMCHeader::release_namelengthunit() {
1635 clear_has_namelengthunit();
1636 if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
1639 ::std::string* temp = namelengthunit_;
1640 namelengthunit_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1644 inline void ProMCHeader::set_allocated_namelengthunit(::std::string* namelengthunit) {
1645 if (namelengthunit_ != &::google::protobuf::internal::kEmptyString) {
1646 delete namelengthunit_;
1648 if (namelengthunit) {
1649 set_has_namelengthunit();
1650 namelengthunit_ = namelengthunit;
1652 clear_has_namelengthunit();
1653 namelengthunit_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1658 inline bool ProMCHeader::has_weight()
const {
1659 return (_has_bits_[0] & 0x00080000u) != 0;
1661 inline void ProMCHeader::set_has_weight() {
1662 _has_bits_[0] |= 0x00080000u;
1664 inline void ProMCHeader::clear_has_weight() {
1665 _has_bits_[0] &= ~0x00080000u;
1667 inline void ProMCHeader::clear_weight() {
1671 inline double ProMCHeader::weight()
const {
1674 inline void ProMCHeader::set_weight(
double value) {
1680 inline bool ProMCHeader::has_requested_events()
const {
1681 return (_has_bits_[0] & 0x00100000u) != 0;
1683 inline void ProMCHeader::set_has_requested_events() {
1684 _has_bits_[0] |= 0x00100000u;
1686 inline void ProMCHeader::clear_has_requested_events() {
1687 _has_bits_[0] &= ~0x00100000u;
1689 inline void ProMCHeader::clear_requested_events() {
1690 requested_events_ = 0;
1691 clear_has_requested_events();
1693 inline double ProMCHeader::requested_events()
const {
1694 return requested_events_;
1696 inline void ProMCHeader::set_requested_events(
double value) {
1697 set_has_requested_events();
1698 requested_events_ = value;
1702 inline int ProMCHeader::particledata_size()
const {
1703 return particledata_.size();
1705 inline void ProMCHeader::clear_particledata() {
1706 particledata_.Clear();
1708 inline const ::promc::ProMCHeader_ParticleData& ProMCHeader::particledata(
int index)
const {
1709 return particledata_.Get(index);
1711 inline ::promc::ProMCHeader_ParticleData* ProMCHeader::mutable_particledata(
int index) {
1712 return particledata_.Mutable(index);
1714 inline ::promc::ProMCHeader_ParticleData* ProMCHeader::add_particledata() {
1715 return particledata_.Add();
1717 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData >&
1718 ProMCHeader::particledata()
const {
1719 return particledata_;
1721 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData >*
1722 ProMCHeader::mutable_particledata() {
1723 return &particledata_;
1727 inline int ProMCHeader::metaint_size()
const {
1728 return metaint_.size();
1730 inline void ProMCHeader::clear_metaint() {
1733 inline const ::promc::ProMCHeader_MetaInt& ProMCHeader::metaint(
int index)
const {
1734 return metaint_.Get(index);
1736 inline ::promc::ProMCHeader_MetaInt* ProMCHeader::mutable_metaint(
int index) {
1737 return metaint_.Mutable(index);
1739 inline ::promc::ProMCHeader_MetaInt* ProMCHeader::add_metaint() {
1740 return metaint_.Add();
1742 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >&
1743 ProMCHeader::metaint()
const {
1746 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >*
1747 ProMCHeader::mutable_metaint() {
1752 inline int ProMCHeader::metafloat_size()
const {
1753 return metafloat_.size();
1755 inline void ProMCHeader::clear_metafloat() {
1758 inline const ::promc::ProMCHeader_MetaFloat& ProMCHeader::metafloat(
int index)
const {
1759 return metafloat_.Get(index);
1761 inline ::promc::ProMCHeader_MetaFloat* ProMCHeader::mutable_metafloat(
int index) {
1762 return metafloat_.Mutable(index);
1764 inline ::promc::ProMCHeader_MetaFloat* ProMCHeader::add_metafloat() {
1765 return metafloat_.Add();
1767 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >&
1768 ProMCHeader::metafloat()
const {
1771 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >*
1772 ProMCHeader::mutable_metafloat() {
1783 namespace protobuf {
1792 #endif // PROTOBUF_ProMCHeader_2eproto__INCLUDED
Definition: ProMCHeader.pb.h:43