00001
00002
00003
00004 #ifndef PROTOBUF_ProMCHeader_2eproto__INCLUDED
00005 #define PROTOBUF_ProMCHeader_2eproto__INCLUDED
00006
00007 #include <string>
00008
00009 #include <google/protobuf/stubs/common.h>
00010
00011 #if GOOGLE_PROTOBUF_VERSION < 2005000
00012 #error This file was generated by a newer version of protoc which is
00013 #error incompatible with your Protocol Buffer headers. Please update
00014 #error your headers.
00015 #endif
00016 #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
00017 #error This file was generated by an older version of protoc which is
00018 #error incompatible with your Protocol Buffer headers. Please
00019 #error regenerate this file with a newer version of protoc.
00020 #endif
00021
00022 #include <google/protobuf/generated_message_util.h>
00023 #include <google/protobuf/message.h>
00024 #include <google/protobuf/repeated_field.h>
00025 #include <google/protobuf/extension_set.h>
00026 #include <google/protobuf/unknown_field_set.h>
00027
00028
00029 namespace promc {
00030
00031
00032 void protobuf_AddDesc_ProMCHeader_2eproto();
00033 void protobuf_AssignDesc_ProMCHeader_2eproto();
00034 void protobuf_ShutdownFile_ProMCHeader_2eproto();
00035
00036 class ProMCHeader;
00037 class ProMCHeader_ParticleData;
00038 class ProMCHeader_MetaInt;
00039 class ProMCHeader_MetaFloat;
00040
00041
00042
00043 class ProMCHeader_ParticleData : public ::google::protobuf::Message {
00044 public:
00045 ProMCHeader_ParticleData();
00046 virtual ~ProMCHeader_ParticleData();
00047
00048 ProMCHeader_ParticleData(const ProMCHeader_ParticleData& from);
00049
00050 inline ProMCHeader_ParticleData& operator=(const ProMCHeader_ParticleData& from) {
00051 CopyFrom(from);
00052 return *this;
00053 }
00054
00055 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00056 return _unknown_fields_;
00057 }
00058
00059 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00060 return &_unknown_fields_;
00061 }
00062
00063 static const ::google::protobuf::Descriptor* descriptor();
00064 static const ProMCHeader_ParticleData& default_instance();
00065
00066 void Swap(ProMCHeader_ParticleData* other);
00067
00068
00069
00070 ProMCHeader_ParticleData* New() const;
00071 void CopyFrom(const ::google::protobuf::Message& from);
00072 void MergeFrom(const ::google::protobuf::Message& from);
00073 void CopyFrom(const ProMCHeader_ParticleData& from);
00074 void MergeFrom(const ProMCHeader_ParticleData& from);
00075 void Clear();
00076 bool IsInitialized() const;
00077
00078 int ByteSize() const;
00079 bool MergePartialFromCodedStream(
00080 ::google::protobuf::io::CodedInputStream* input);
00081 void SerializeWithCachedSizes(
00082 ::google::protobuf::io::CodedOutputStream* output) const;
00083 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00084 int GetCachedSize() const { return _cached_size_; }
00085 private:
00086 void SharedCtor();
00087 void SharedDtor();
00088 void SetCachedSize(int size) const;
00089 public:
00090
00091 ::google::protobuf::Metadata GetMetadata() const;
00092
00093
00094
00095
00096
00097
00098 inline bool has_id() const;
00099 inline void clear_id();
00100 static const int kIdFieldNumber = 1;
00101 inline ::google::protobuf::int32 id() const;
00102 inline void set_id(::google::protobuf::int32 value);
00103
00104
00105 inline bool has_mass() const;
00106 inline void clear_mass();
00107 static const int kMassFieldNumber = 2;
00108 inline double mass() const;
00109 inline void set_mass(double value);
00110
00111
00112 inline bool has_name() const;
00113 inline void clear_name();
00114 static const int kNameFieldNumber = 3;
00115 inline const ::std::string& name() const;
00116 inline void set_name(const ::std::string& value);
00117 inline void set_name(const char* value);
00118 inline void set_name(const char* value, size_t size);
00119 inline ::std::string* mutable_name();
00120 inline ::std::string* release_name();
00121 inline void set_allocated_name(::std::string* name);
00122
00123
00124 inline bool has_width() const;
00125 inline void clear_width();
00126 static const int kWidthFieldNumber = 4;
00127 inline float width() const;
00128 inline void set_width(float value);
00129
00130
00131 inline bool has_lifetime() const;
00132 inline void clear_lifetime();
00133 static const int kLifetimeFieldNumber = 5;
00134 inline float lifetime() const;
00135 inline void set_lifetime(float value);
00136
00137
00138 inline bool has_charge() const;
00139 inline void clear_charge();
00140 static const int kChargeFieldNumber = 6;
00141 inline ::google::protobuf::int32 charge() const;
00142 inline void set_charge(::google::protobuf::int32 value);
00143
00144
00145 private:
00146 inline void set_has_id();
00147 inline void clear_has_id();
00148 inline void set_has_mass();
00149 inline void clear_has_mass();
00150 inline void set_has_name();
00151 inline void clear_has_name();
00152 inline void set_has_width();
00153 inline void clear_has_width();
00154 inline void set_has_lifetime();
00155 inline void clear_has_lifetime();
00156 inline void set_has_charge();
00157 inline void clear_has_charge();
00158
00159 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00160
00161 double mass_;
00162 ::google::protobuf::int32 id_;
00163 float width_;
00164 ::std::string* name_;
00165 float lifetime_;
00166 ::google::protobuf::int32 charge_;
00167
00168 mutable int _cached_size_;
00169 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
00170
00171 friend void protobuf_AddDesc_ProMCHeader_2eproto();
00172 friend void protobuf_AssignDesc_ProMCHeader_2eproto();
00173 friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
00174
00175 void InitAsDefaultInstance();
00176 static ProMCHeader_ParticleData* default_instance_;
00177 };
00178
00179
00180 class ProMCHeader_MetaInt : public ::google::protobuf::Message {
00181 public:
00182 ProMCHeader_MetaInt();
00183 virtual ~ProMCHeader_MetaInt();
00184
00185 ProMCHeader_MetaInt(const ProMCHeader_MetaInt& from);
00186
00187 inline ProMCHeader_MetaInt& operator=(const ProMCHeader_MetaInt& from) {
00188 CopyFrom(from);
00189 return *this;
00190 }
00191
00192 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00193 return _unknown_fields_;
00194 }
00195
00196 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00197 return &_unknown_fields_;
00198 }
00199
00200 static const ::google::protobuf::Descriptor* descriptor();
00201 static const ProMCHeader_MetaInt& default_instance();
00202
00203 void Swap(ProMCHeader_MetaInt* other);
00204
00205
00206
00207 ProMCHeader_MetaInt* New() const;
00208 void CopyFrom(const ::google::protobuf::Message& from);
00209 void MergeFrom(const ::google::protobuf::Message& from);
00210 void CopyFrom(const ProMCHeader_MetaInt& from);
00211 void MergeFrom(const ProMCHeader_MetaInt& from);
00212 void Clear();
00213 bool IsInitialized() const;
00214
00215 int ByteSize() const;
00216 bool MergePartialFromCodedStream(
00217 ::google::protobuf::io::CodedInputStream* input);
00218 void SerializeWithCachedSizes(
00219 ::google::protobuf::io::CodedOutputStream* output) const;
00220 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00221 int GetCachedSize() const { return _cached_size_; }
00222 private:
00223 void SharedCtor();
00224 void SharedDtor();
00225 void SetCachedSize(int size) const;
00226 public:
00227
00228 ::google::protobuf::Metadata GetMetadata() const;
00229
00230
00231
00232
00233
00234
00235 inline bool has_key() const;
00236 inline void clear_key();
00237 static const int kKeyFieldNumber = 1;
00238 inline const ::std::string& key() const;
00239 inline void set_key(const ::std::string& value);
00240 inline void set_key(const char* value);
00241 inline void set_key(const char* value, size_t size);
00242 inline ::std::string* mutable_key();
00243 inline ::std::string* release_key();
00244 inline void set_allocated_key(::std::string* key);
00245
00246
00247 inline bool has_value() const;
00248 inline void clear_value();
00249 static const int kValueFieldNumber = 2;
00250 inline ::google::protobuf::int64 value() const;
00251 inline void set_value(::google::protobuf::int64 value);
00252
00253
00254 private:
00255 inline void set_has_key();
00256 inline void clear_has_key();
00257 inline void set_has_value();
00258 inline void clear_has_value();
00259
00260 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00261
00262 ::std::string* key_;
00263 ::google::protobuf::int64 value_;
00264
00265 mutable int _cached_size_;
00266 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
00267
00268 friend void protobuf_AddDesc_ProMCHeader_2eproto();
00269 friend void protobuf_AssignDesc_ProMCHeader_2eproto();
00270 friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
00271
00272 void InitAsDefaultInstance();
00273 static ProMCHeader_MetaInt* default_instance_;
00274 };
00275
00276
00277 class ProMCHeader_MetaFloat : public ::google::protobuf::Message {
00278 public:
00279 ProMCHeader_MetaFloat();
00280 virtual ~ProMCHeader_MetaFloat();
00281
00282 ProMCHeader_MetaFloat(const ProMCHeader_MetaFloat& from);
00283
00284 inline ProMCHeader_MetaFloat& operator=(const ProMCHeader_MetaFloat& from) {
00285 CopyFrom(from);
00286 return *this;
00287 }
00288
00289 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00290 return _unknown_fields_;
00291 }
00292
00293 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00294 return &_unknown_fields_;
00295 }
00296
00297 static const ::google::protobuf::Descriptor* descriptor();
00298 static const ProMCHeader_MetaFloat& default_instance();
00299
00300 void Swap(ProMCHeader_MetaFloat* other);
00301
00302
00303
00304 ProMCHeader_MetaFloat* New() const;
00305 void CopyFrom(const ::google::protobuf::Message& from);
00306 void MergeFrom(const ::google::protobuf::Message& from);
00307 void CopyFrom(const ProMCHeader_MetaFloat& from);
00308 void MergeFrom(const ProMCHeader_MetaFloat& from);
00309 void Clear();
00310 bool IsInitialized() const;
00311
00312 int ByteSize() const;
00313 bool MergePartialFromCodedStream(
00314 ::google::protobuf::io::CodedInputStream* input);
00315 void SerializeWithCachedSizes(
00316 ::google::protobuf::io::CodedOutputStream* output) const;
00317 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00318 int GetCachedSize() const { return _cached_size_; }
00319 private:
00320 void SharedCtor();
00321 void SharedDtor();
00322 void SetCachedSize(int size) const;
00323 public:
00324
00325 ::google::protobuf::Metadata GetMetadata() const;
00326
00327
00328
00329
00330
00331
00332 inline bool has_key() const;
00333 inline void clear_key();
00334 static const int kKeyFieldNumber = 1;
00335 inline const ::std::string& key() const;
00336 inline void set_key(const ::std::string& value);
00337 inline void set_key(const char* value);
00338 inline void set_key(const char* value, size_t size);
00339 inline ::std::string* mutable_key();
00340 inline ::std::string* release_key();
00341 inline void set_allocated_key(::std::string* key);
00342
00343
00344 inline bool has_value() const;
00345 inline void clear_value();
00346 static const int kValueFieldNumber = 2;
00347 inline double value() const;
00348 inline void set_value(double value);
00349
00350
00351 private:
00352 inline void set_has_key();
00353 inline void clear_has_key();
00354 inline void set_has_value();
00355 inline void clear_has_value();
00356
00357 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00358
00359 ::std::string* key_;
00360 double value_;
00361
00362 mutable int _cached_size_;
00363 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
00364
00365 friend void protobuf_AddDesc_ProMCHeader_2eproto();
00366 friend void protobuf_AssignDesc_ProMCHeader_2eproto();
00367 friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
00368
00369 void InitAsDefaultInstance();
00370 static ProMCHeader_MetaFloat* default_instance_;
00371 };
00372
00373
00374 class ProMCHeader : public ::google::protobuf::Message {
00375 public:
00376 ProMCHeader();
00377 virtual ~ProMCHeader();
00378
00379 ProMCHeader(const ProMCHeader& from);
00380
00381 inline ProMCHeader& operator=(const ProMCHeader& from) {
00382 CopyFrom(from);
00383 return *this;
00384 }
00385
00386 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00387 return _unknown_fields_;
00388 }
00389
00390 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00391 return &_unknown_fields_;
00392 }
00393
00394 static const ::google::protobuf::Descriptor* descriptor();
00395 static const ProMCHeader& default_instance();
00396
00397 void Swap(ProMCHeader* other);
00398
00399
00400
00401 ProMCHeader* New() const;
00402 void CopyFrom(const ::google::protobuf::Message& from);
00403 void MergeFrom(const ::google::protobuf::Message& from);
00404 void CopyFrom(const ProMCHeader& from);
00405 void MergeFrom(const ProMCHeader& from);
00406 void Clear();
00407 bool IsInitialized() const;
00408
00409 int ByteSize() const;
00410 bool MergePartialFromCodedStream(
00411 ::google::protobuf::io::CodedInputStream* input);
00412 void SerializeWithCachedSizes(
00413 ::google::protobuf::io::CodedOutputStream* output) const;
00414 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00415 int GetCachedSize() const { return _cached_size_; }
00416 private:
00417 void SharedCtor();
00418 void SharedDtor();
00419 void SetCachedSize(int size) const;
00420 public:
00421
00422 ::google::protobuf::Metadata GetMetadata() const;
00423
00424
00425
00426 typedef ProMCHeader_ParticleData ParticleData;
00427 typedef ProMCHeader_MetaInt MetaInt;
00428 typedef ProMCHeader_MetaFloat MetaFloat;
00429
00430
00431
00432
00433 inline bool has_id1() const;
00434 inline void clear_id1();
00435 static const int kId1FieldNumber = 1;
00436 inline ::google::protobuf::int32 id1() const;
00437 inline void set_id1(::google::protobuf::int32 value);
00438
00439
00440 inline bool has_id2() const;
00441 inline void clear_id2();
00442 static const int kId2FieldNumber = 2;
00443 inline ::google::protobuf::int32 id2() const;
00444 inline void set_id2(::google::protobuf::int32 value);
00445
00446
00447 inline bool has_pdf_id1() const;
00448 inline void clear_pdf_id1();
00449 static const int kPdfId1FieldNumber = 3;
00450 inline ::google::protobuf::int32 pdf_id1() const;
00451 inline void set_pdf_id1(::google::protobuf::int32 value);
00452
00453
00454 inline bool has_pdf_id2() const;
00455 inline void clear_pdf_id2();
00456 static const int kPdfId2FieldNumber = 4;
00457 inline ::google::protobuf::int32 pdf_id2() const;
00458 inline void set_pdf_id2(::google::protobuf::int32 value);
00459
00460
00461 inline bool has_x1() const;
00462 inline void clear_x1();
00463 static const int kX1FieldNumber = 5;
00464 inline double x1() const;
00465 inline void set_x1(double value);
00466
00467
00468 inline bool has_x2() const;
00469 inline void clear_x2();
00470 static const int kX2FieldNumber = 6;
00471 inline double x2() const;
00472 inline void set_x2(double value);
00473
00474
00475 inline bool has_scalepdf() const;
00476 inline void clear_scalepdf();
00477 static const int kScalepdfFieldNumber = 7;
00478 inline double scalepdf() const;
00479 inline void set_scalepdf(double value);
00480
00481
00482 inline bool has_pdf1() const;
00483 inline void clear_pdf1();
00484 static const int kPdf1FieldNumber = 8;
00485 inline ::google::protobuf::int32 pdf1() const;
00486 inline void set_pdf1(::google::protobuf::int32 value);
00487
00488
00489 inline bool has_pdf2() const;
00490 inline void clear_pdf2();
00491 static const int kPdf2FieldNumber = 9;
00492 inline ::google::protobuf::int32 pdf2() const;
00493 inline void set_pdf2(::google::protobuf::int32 value);
00494
00495
00496 inline bool has_ecm() const;
00497 inline void clear_ecm();
00498 static const int kECMFieldNumber = 10;
00499 inline double ecm() const;
00500 inline void set_ecm(double value);
00501
00502
00503 inline bool has_s() const;
00504 inline void clear_s();
00505 static const int kSFieldNumber = 11;
00506 inline double s() const;
00507 inline void set_s(double value);
00508
00509
00510 inline bool has_name() const;
00511 inline void clear_name();
00512 static const int kNameFieldNumber = 12;
00513 inline const ::std::string& name() const;
00514 inline void set_name(const ::std::string& value);
00515 inline void set_name(const char* value);
00516 inline void set_name(const char* value, size_t size);
00517 inline ::std::string* mutable_name();
00518 inline ::std::string* release_name();
00519 inline void set_allocated_name(::std::string* name);
00520
00521
00522 inline bool has_code() const;
00523 inline void clear_code();
00524 static const int kCodeFieldNumber = 13;
00525 inline ::google::protobuf::int32 code() const;
00526 inline void set_code(::google::protobuf::int32 value);
00527
00528
00529 inline bool has_cross_section() const;
00530 inline void clear_cross_section();
00531 static const int kCrossSectionFieldNumber = 14;
00532 inline double cross_section() const;
00533 inline void set_cross_section(double value);
00534
00535
00536 inline bool has_cross_section_error() const;
00537 inline void clear_cross_section_error();
00538 static const int kCrossSectionErrorFieldNumber = 15;
00539 inline double cross_section_error() const;
00540 inline void set_cross_section_error(double value);
00541
00542
00543 inline bool has_momentumunit() const;
00544 inline void clear_momentumunit();
00545 static const int kMomentumUnitFieldNumber = 16;
00546 inline ::google::protobuf::int32 momentumunit() const;
00547 inline void set_momentumunit(::google::protobuf::int32 value);
00548
00549
00550 inline bool has_lengthunit() const;
00551 inline void clear_lengthunit();
00552 static const int kLengthUnitFieldNumber = 17;
00553 inline ::google::protobuf::int32 lengthunit() const;
00554 inline void set_lengthunit(::google::protobuf::int32 value);
00555
00556
00557 inline bool has_namemomentumunit() const;
00558 inline void clear_namemomentumunit();
00559 static const int kNameMomentumUnitFieldNumber = 18;
00560 inline const ::std::string& namemomentumunit() const;
00561 inline void set_namemomentumunit(const ::std::string& value);
00562 inline void set_namemomentumunit(const char* value);
00563 inline void set_namemomentumunit(const char* value, size_t size);
00564 inline ::std::string* mutable_namemomentumunit();
00565 inline ::std::string* release_namemomentumunit();
00566 inline void set_allocated_namemomentumunit(::std::string* namemomentumunit);
00567
00568
00569 inline bool has_namelengthunit() const;
00570 inline void clear_namelengthunit();
00571 static const int kNameLengthUnitFieldNumber = 19;
00572 inline const ::std::string& namelengthunit() const;
00573 inline void set_namelengthunit(const ::std::string& value);
00574 inline void set_namelengthunit(const char* value);
00575 inline void set_namelengthunit(const char* value, size_t size);
00576 inline ::std::string* mutable_namelengthunit();
00577 inline ::std::string* release_namelengthunit();
00578 inline void set_allocated_namelengthunit(::std::string* namelengthunit);
00579
00580
00581 inline bool has_weight() const;
00582 inline void clear_weight();
00583 static const int kWeightFieldNumber = 20;
00584 inline double weight() const;
00585 inline void set_weight(double value);
00586
00587
00588 inline bool has_requested_events() const;
00589 inline void clear_requested_events();
00590 static const int kRequestedEventsFieldNumber = 21;
00591 inline double requested_events() const;
00592 inline void set_requested_events(double value);
00593
00594
00595 inline int particledata_size() const;
00596 inline void clear_particledata();
00597 static const int kParticleDataFieldNumber = 30;
00598 inline const ::promc::ProMCHeader_ParticleData& particledata(int index) const;
00599 inline ::promc::ProMCHeader_ParticleData* mutable_particledata(int index);
00600 inline ::promc::ProMCHeader_ParticleData* add_particledata();
00601 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData >&
00602 particledata() const;
00603 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData >*
00604 mutable_particledata();
00605
00606
00607 inline int metaint_size() const;
00608 inline void clear_metaint();
00609 static const int kMetaIntFieldNumber = 31;
00610 inline const ::promc::ProMCHeader_MetaInt& metaint(int index) const;
00611 inline ::promc::ProMCHeader_MetaInt* mutable_metaint(int index);
00612 inline ::promc::ProMCHeader_MetaInt* add_metaint();
00613 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >&
00614 metaint() const;
00615 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >*
00616 mutable_metaint();
00617
00618
00619 inline int metafloat_size() const;
00620 inline void clear_metafloat();
00621 static const int kMetaFloatFieldNumber = 32;
00622 inline const ::promc::ProMCHeader_MetaFloat& metafloat(int index) const;
00623 inline ::promc::ProMCHeader_MetaFloat* mutable_metafloat(int index);
00624 inline ::promc::ProMCHeader_MetaFloat* add_metafloat();
00625 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >&
00626 metafloat() const;
00627 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >*
00628 mutable_metafloat();
00629
00630
00631 private:
00632 inline void set_has_id1();
00633 inline void clear_has_id1();
00634 inline void set_has_id2();
00635 inline void clear_has_id2();
00636 inline void set_has_pdf_id1();
00637 inline void clear_has_pdf_id1();
00638 inline void set_has_pdf_id2();
00639 inline void clear_has_pdf_id2();
00640 inline void set_has_x1();
00641 inline void clear_has_x1();
00642 inline void set_has_x2();
00643 inline void clear_has_x2();
00644 inline void set_has_scalepdf();
00645 inline void clear_has_scalepdf();
00646 inline void set_has_pdf1();
00647 inline void clear_has_pdf1();
00648 inline void set_has_pdf2();
00649 inline void clear_has_pdf2();
00650 inline void set_has_ecm();
00651 inline void clear_has_ecm();
00652 inline void set_has_s();
00653 inline void clear_has_s();
00654 inline void set_has_name();
00655 inline void clear_has_name();
00656 inline void set_has_code();
00657 inline void clear_has_code();
00658 inline void set_has_cross_section();
00659 inline void clear_has_cross_section();
00660 inline void set_has_cross_section_error();
00661 inline void clear_has_cross_section_error();
00662 inline void set_has_momentumunit();
00663 inline void clear_has_momentumunit();
00664 inline void set_has_lengthunit();
00665 inline void clear_has_lengthunit();
00666 inline void set_has_namemomentumunit();
00667 inline void clear_has_namemomentumunit();
00668 inline void set_has_namelengthunit();
00669 inline void clear_has_namelengthunit();
00670 inline void set_has_weight();
00671 inline void clear_has_weight();
00672 inline void set_has_requested_events();
00673 inline void clear_has_requested_events();
00674
00675 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00676
00677 ::google::protobuf::int32 id1_;
00678 ::google::protobuf::int32 id2_;
00679 ::google::protobuf::int32 pdf_id1_;
00680 ::google::protobuf::int32 pdf_id2_;
00681 double x1_;
00682 double x2_;
00683 double scalepdf_;
00684 ::google::protobuf::int32 pdf1_;
00685 ::google::protobuf::int32 pdf2_;
00686 double ecm_;
00687 double s_;
00688 ::std::string* name_;
00689 double cross_section_;
00690 ::google::protobuf::int32 code_;
00691 ::google::protobuf::int32 momentumunit_;
00692 double cross_section_error_;
00693 ::std::string* namemomentumunit_;
00694 ::std::string* namelengthunit_;
00695 double weight_;
00696 double requested_events_;
00697 ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData > particledata_;
00698 ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt > metaint_;
00699 ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat > metafloat_;
00700 ::google::protobuf::int32 lengthunit_;
00701
00702 mutable int _cached_size_;
00703 ::google::protobuf::uint32 _has_bits_[(24 + 31) / 32];
00704
00705 friend void protobuf_AddDesc_ProMCHeader_2eproto();
00706 friend void protobuf_AssignDesc_ProMCHeader_2eproto();
00707 friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
00708
00709 void InitAsDefaultInstance();
00710 static ProMCHeader* default_instance_;
00711 };
00712
00713
00714
00715
00716
00717
00718
00719
00720 inline bool ProMCHeader_ParticleData::has_id() const {
00721 return (_has_bits_[0] & 0x00000001u) != 0;
00722 }
00723 inline void ProMCHeader_ParticleData::set_has_id() {
00724 _has_bits_[0] |= 0x00000001u;
00725 }
00726 inline void ProMCHeader_ParticleData::clear_has_id() {
00727 _has_bits_[0] &= ~0x00000001u;
00728 }
00729 inline void ProMCHeader_ParticleData::clear_id() {
00730 id_ = 0;
00731 clear_has_id();
00732 }
00733 inline ::google::protobuf::int32 ProMCHeader_ParticleData::id() const {
00734 return id_;
00735 }
00736 inline void ProMCHeader_ParticleData::set_id(::google::protobuf::int32 value) {
00737 set_has_id();
00738 id_ = value;
00739 }
00740
00741
00742 inline bool ProMCHeader_ParticleData::has_mass() const {
00743 return (_has_bits_[0] & 0x00000002u) != 0;
00744 }
00745 inline void ProMCHeader_ParticleData::set_has_mass() {
00746 _has_bits_[0] |= 0x00000002u;
00747 }
00748 inline void ProMCHeader_ParticleData::clear_has_mass() {
00749 _has_bits_[0] &= ~0x00000002u;
00750 }
00751 inline void ProMCHeader_ParticleData::clear_mass() {
00752 mass_ = 0;
00753 clear_has_mass();
00754 }
00755 inline double ProMCHeader_ParticleData::mass() const {
00756 return mass_;
00757 }
00758 inline void ProMCHeader_ParticleData::set_mass(double value) {
00759 set_has_mass();
00760 mass_ = value;
00761 }
00762
00763
00764 inline bool ProMCHeader_ParticleData::has_name() const {
00765 return (_has_bits_[0] & 0x00000004u) != 0;
00766 }
00767 inline void ProMCHeader_ParticleData::set_has_name() {
00768 _has_bits_[0] |= 0x00000004u;
00769 }
00770 inline void ProMCHeader_ParticleData::clear_has_name() {
00771 _has_bits_[0] &= ~0x00000004u;
00772 }
00773 inline void ProMCHeader_ParticleData::clear_name() {
00774 if (name_ != &::google::protobuf::internal::kEmptyString) {
00775 name_->clear();
00776 }
00777 clear_has_name();
00778 }
00779 inline const ::std::string& ProMCHeader_ParticleData::name() const {
00780 return *name_;
00781 }
00782 inline void ProMCHeader_ParticleData::set_name(const ::std::string& value) {
00783 set_has_name();
00784 if (name_ == &::google::protobuf::internal::kEmptyString) {
00785 name_ = new ::std::string;
00786 }
00787 name_->assign(value);
00788 }
00789 inline void ProMCHeader_ParticleData::set_name(const char* value) {
00790 set_has_name();
00791 if (name_ == &::google::protobuf::internal::kEmptyString) {
00792 name_ = new ::std::string;
00793 }
00794 name_->assign(value);
00795 }
00796 inline void ProMCHeader_ParticleData::set_name(const char* value, size_t size) {
00797 set_has_name();
00798 if (name_ == &::google::protobuf::internal::kEmptyString) {
00799 name_ = new ::std::string;
00800 }
00801 name_->assign(reinterpret_cast<const char*>(value), size);
00802 }
00803 inline ::std::string* ProMCHeader_ParticleData::mutable_name() {
00804 set_has_name();
00805 if (name_ == &::google::protobuf::internal::kEmptyString) {
00806 name_ = new ::std::string;
00807 }
00808 return name_;
00809 }
00810 inline ::std::string* ProMCHeader_ParticleData::release_name() {
00811 clear_has_name();
00812 if (name_ == &::google::protobuf::internal::kEmptyString) {
00813 return NULL;
00814 } else {
00815 ::std::string* temp = name_;
00816 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00817 return temp;
00818 }
00819 }
00820 inline void ProMCHeader_ParticleData::set_allocated_name(::std::string* name) {
00821 if (name_ != &::google::protobuf::internal::kEmptyString) {
00822 delete name_;
00823 }
00824 if (name) {
00825 set_has_name();
00826 name_ = name;
00827 } else {
00828 clear_has_name();
00829 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00830 }
00831 }
00832
00833
00834 inline bool ProMCHeader_ParticleData::has_width() const {
00835 return (_has_bits_[0] & 0x00000008u) != 0;
00836 }
00837 inline void ProMCHeader_ParticleData::set_has_width() {
00838 _has_bits_[0] |= 0x00000008u;
00839 }
00840 inline void ProMCHeader_ParticleData::clear_has_width() {
00841 _has_bits_[0] &= ~0x00000008u;
00842 }
00843 inline void ProMCHeader_ParticleData::clear_width() {
00844 width_ = 0;
00845 clear_has_width();
00846 }
00847 inline float ProMCHeader_ParticleData::width() const {
00848 return width_;
00849 }
00850 inline void ProMCHeader_ParticleData::set_width(float value) {
00851 set_has_width();
00852 width_ = value;
00853 }
00854
00855
00856 inline bool ProMCHeader_ParticleData::has_lifetime() const {
00857 return (_has_bits_[0] & 0x00000010u) != 0;
00858 }
00859 inline void ProMCHeader_ParticleData::set_has_lifetime() {
00860 _has_bits_[0] |= 0x00000010u;
00861 }
00862 inline void ProMCHeader_ParticleData::clear_has_lifetime() {
00863 _has_bits_[0] &= ~0x00000010u;
00864 }
00865 inline void ProMCHeader_ParticleData::clear_lifetime() {
00866 lifetime_ = 0;
00867 clear_has_lifetime();
00868 }
00869 inline float ProMCHeader_ParticleData::lifetime() const {
00870 return lifetime_;
00871 }
00872 inline void ProMCHeader_ParticleData::set_lifetime(float value) {
00873 set_has_lifetime();
00874 lifetime_ = value;
00875 }
00876
00877
00878 inline bool ProMCHeader_ParticleData::has_charge() const {
00879 return (_has_bits_[0] & 0x00000020u) != 0;
00880 }
00881 inline void ProMCHeader_ParticleData::set_has_charge() {
00882 _has_bits_[0] |= 0x00000020u;
00883 }
00884 inline void ProMCHeader_ParticleData::clear_has_charge() {
00885 _has_bits_[0] &= ~0x00000020u;
00886 }
00887 inline void ProMCHeader_ParticleData::clear_charge() {
00888 charge_ = 0;
00889 clear_has_charge();
00890 }
00891 inline ::google::protobuf::int32 ProMCHeader_ParticleData::charge() const {
00892 return charge_;
00893 }
00894 inline void ProMCHeader_ParticleData::set_charge(::google::protobuf::int32 value) {
00895 set_has_charge();
00896 charge_ = value;
00897 }
00898
00899
00900
00901
00902
00903
00904 inline bool ProMCHeader_MetaInt::has_key() const {
00905 return (_has_bits_[0] & 0x00000001u) != 0;
00906 }
00907 inline void ProMCHeader_MetaInt::set_has_key() {
00908 _has_bits_[0] |= 0x00000001u;
00909 }
00910 inline void ProMCHeader_MetaInt::clear_has_key() {
00911 _has_bits_[0] &= ~0x00000001u;
00912 }
00913 inline void ProMCHeader_MetaInt::clear_key() {
00914 if (key_ != &::google::protobuf::internal::kEmptyString) {
00915 key_->clear();
00916 }
00917 clear_has_key();
00918 }
00919 inline const ::std::string& ProMCHeader_MetaInt::key() const {
00920 return *key_;
00921 }
00922 inline void ProMCHeader_MetaInt::set_key(const ::std::string& value) {
00923 set_has_key();
00924 if (key_ == &::google::protobuf::internal::kEmptyString) {
00925 key_ = new ::std::string;
00926 }
00927 key_->assign(value);
00928 }
00929 inline void ProMCHeader_MetaInt::set_key(const char* value) {
00930 set_has_key();
00931 if (key_ == &::google::protobuf::internal::kEmptyString) {
00932 key_ = new ::std::string;
00933 }
00934 key_->assign(value);
00935 }
00936 inline void ProMCHeader_MetaInt::set_key(const char* value, size_t size) {
00937 set_has_key();
00938 if (key_ == &::google::protobuf::internal::kEmptyString) {
00939 key_ = new ::std::string;
00940 }
00941 key_->assign(reinterpret_cast<const char*>(value), size);
00942 }
00943 inline ::std::string* ProMCHeader_MetaInt::mutable_key() {
00944 set_has_key();
00945 if (key_ == &::google::protobuf::internal::kEmptyString) {
00946 key_ = new ::std::string;
00947 }
00948 return key_;
00949 }
00950 inline ::std::string* ProMCHeader_MetaInt::release_key() {
00951 clear_has_key();
00952 if (key_ == &::google::protobuf::internal::kEmptyString) {
00953 return NULL;
00954 } else {
00955 ::std::string* temp = key_;
00956 key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00957 return temp;
00958 }
00959 }
00960 inline void ProMCHeader_MetaInt::set_allocated_key(::std::string* key) {
00961 if (key_ != &::google::protobuf::internal::kEmptyString) {
00962 delete key_;
00963 }
00964 if (key) {
00965 set_has_key();
00966 key_ = key;
00967 } else {
00968 clear_has_key();
00969 key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00970 }
00971 }
00972
00973
00974 inline bool ProMCHeader_MetaInt::has_value() const {
00975 return (_has_bits_[0] & 0x00000002u) != 0;
00976 }
00977 inline void ProMCHeader_MetaInt::set_has_value() {
00978 _has_bits_[0] |= 0x00000002u;
00979 }
00980 inline void ProMCHeader_MetaInt::clear_has_value() {
00981 _has_bits_[0] &= ~0x00000002u;
00982 }
00983 inline void ProMCHeader_MetaInt::clear_value() {
00984 value_ = GOOGLE_LONGLONG(0);
00985 clear_has_value();
00986 }
00987 inline ::google::protobuf::int64 ProMCHeader_MetaInt::value() const {
00988 return value_;
00989 }
00990 inline void ProMCHeader_MetaInt::set_value(::google::protobuf::int64 value) {
00991 set_has_value();
00992 value_ = value;
00993 }
00994
00995
00996
00997
00998
00999
01000 inline bool ProMCHeader_MetaFloat::has_key() const {
01001 return (_has_bits_[0] & 0x00000001u) != 0;
01002 }
01003 inline void ProMCHeader_MetaFloat::set_has_key() {
01004 _has_bits_[0] |= 0x00000001u;
01005 }
01006 inline void ProMCHeader_MetaFloat::clear_has_key() {
01007 _has_bits_[0] &= ~0x00000001u;
01008 }
01009 inline void ProMCHeader_MetaFloat::clear_key() {
01010 if (key_ != &::google::protobuf::internal::kEmptyString) {
01011 key_->clear();
01012 }
01013 clear_has_key();
01014 }
01015 inline const ::std::string& ProMCHeader_MetaFloat::key() const {
01016 return *key_;
01017 }
01018 inline void ProMCHeader_MetaFloat::set_key(const ::std::string& value) {
01019 set_has_key();
01020 if (key_ == &::google::protobuf::internal::kEmptyString) {
01021 key_ = new ::std::string;
01022 }
01023 key_->assign(value);
01024 }
01025 inline void ProMCHeader_MetaFloat::set_key(const char* value) {
01026 set_has_key();
01027 if (key_ == &::google::protobuf::internal::kEmptyString) {
01028 key_ = new ::std::string;
01029 }
01030 key_->assign(value);
01031 }
01032 inline void ProMCHeader_MetaFloat::set_key(const char* value, size_t size) {
01033 set_has_key();
01034 if (key_ == &::google::protobuf::internal::kEmptyString) {
01035 key_ = new ::std::string;
01036 }
01037 key_->assign(reinterpret_cast<const char*>(value), size);
01038 }
01039 inline ::std::string* ProMCHeader_MetaFloat::mutable_key() {
01040 set_has_key();
01041 if (key_ == &::google::protobuf::internal::kEmptyString) {
01042 key_ = new ::std::string;
01043 }
01044 return key_;
01045 }
01046 inline ::std::string* ProMCHeader_MetaFloat::release_key() {
01047 clear_has_key();
01048 if (key_ == &::google::protobuf::internal::kEmptyString) {
01049 return NULL;
01050 } else {
01051 ::std::string* temp = key_;
01052 key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
01053 return temp;
01054 }
01055 }
01056 inline void ProMCHeader_MetaFloat::set_allocated_key(::std::string* key) {
01057 if (key_ != &::google::protobuf::internal::kEmptyString) {
01058 delete key_;
01059 }
01060 if (key) {
01061 set_has_key();
01062 key_ = key;
01063 } else {
01064 clear_has_key();
01065 key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
01066 }
01067 }
01068
01069
01070 inline bool ProMCHeader_MetaFloat::has_value() const {
01071 return (_has_bits_[0] & 0x00000002u) != 0;
01072 }
01073 inline void ProMCHeader_MetaFloat::set_has_value() {
01074 _has_bits_[0] |= 0x00000002u;
01075 }
01076 inline void ProMCHeader_MetaFloat::clear_has_value() {
01077 _has_bits_[0] &= ~0x00000002u;
01078 }
01079 inline void ProMCHeader_MetaFloat::clear_value() {
01080 value_ = 0;
01081 clear_has_value();
01082 }
01083 inline double ProMCHeader_MetaFloat::value() const {
01084 return value_;
01085 }
01086 inline void ProMCHeader_MetaFloat::set_value(double value) {
01087 set_has_value();
01088 value_ = value;
01089 }
01090
01091
01092
01093
01094
01095
01096 inline bool ProMCHeader::has_id1() const {
01097 return (_has_bits_[0] & 0x00000001u) != 0;
01098 }
01099 inline void ProMCHeader::set_has_id1() {
01100 _has_bits_[0] |= 0x00000001u;
01101 }
01102 inline void ProMCHeader::clear_has_id1() {
01103 _has_bits_[0] &= ~0x00000001u;
01104 }
01105 inline void ProMCHeader::clear_id1() {
01106 id1_ = 0;
01107 clear_has_id1();
01108 }
01109 inline ::google::protobuf::int32 ProMCHeader::id1() const {
01110 return id1_;
01111 }
01112 inline void ProMCHeader::set_id1(::google::protobuf::int32 value) {
01113 set_has_id1();
01114 id1_ = value;
01115 }
01116
01117
01118 inline bool ProMCHeader::has_id2() const {
01119 return (_has_bits_[0] & 0x00000002u) != 0;
01120 }
01121 inline void ProMCHeader::set_has_id2() {
01122 _has_bits_[0] |= 0x00000002u;
01123 }
01124 inline void ProMCHeader::clear_has_id2() {
01125 _has_bits_[0] &= ~0x00000002u;
01126 }
01127 inline void ProMCHeader::clear_id2() {
01128 id2_ = 0;
01129 clear_has_id2();
01130 }
01131 inline ::google::protobuf::int32 ProMCHeader::id2() const {
01132 return id2_;
01133 }
01134 inline void ProMCHeader::set_id2(::google::protobuf::int32 value) {
01135 set_has_id2();
01136 id2_ = value;
01137 }
01138
01139
01140 inline bool ProMCHeader::has_pdf_id1() const {
01141 return (_has_bits_[0] & 0x00000004u) != 0;
01142 }
01143 inline void ProMCHeader::set_has_pdf_id1() {
01144 _has_bits_[0] |= 0x00000004u;
01145 }
01146 inline void ProMCHeader::clear_has_pdf_id1() {
01147 _has_bits_[0] &= ~0x00000004u;
01148 }
01149 inline void ProMCHeader::clear_pdf_id1() {
01150 pdf_id1_ = 0;
01151 clear_has_pdf_id1();
01152 }
01153 inline ::google::protobuf::int32 ProMCHeader::pdf_id1() const {
01154 return pdf_id1_;
01155 }
01156 inline void ProMCHeader::set_pdf_id1(::google::protobuf::int32 value) {
01157 set_has_pdf_id1();
01158 pdf_id1_ = value;
01159 }
01160
01161
01162 inline bool ProMCHeader::has_pdf_id2() const {
01163 return (_has_bits_[0] & 0x00000008u) != 0;
01164 }
01165 inline void ProMCHeader::set_has_pdf_id2() {
01166 _has_bits_[0] |= 0x00000008u;
01167 }
01168 inline void ProMCHeader::clear_has_pdf_id2() {
01169 _has_bits_[0] &= ~0x00000008u;
01170 }
01171 inline void ProMCHeader::clear_pdf_id2() {
01172 pdf_id2_ = 0;
01173 clear_has_pdf_id2();
01174 }
01175 inline ::google::protobuf::int32 ProMCHeader::pdf_id2() const {
01176 return pdf_id2_;
01177 }
01178 inline void ProMCHeader::set_pdf_id2(::google::protobuf::int32 value) {
01179 set_has_pdf_id2();
01180 pdf_id2_ = value;
01181 }
01182
01183
01184 inline bool ProMCHeader::has_x1() const {
01185 return (_has_bits_[0] & 0x00000010u) != 0;
01186 }
01187 inline void ProMCHeader::set_has_x1() {
01188 _has_bits_[0] |= 0x00000010u;
01189 }
01190 inline void ProMCHeader::clear_has_x1() {
01191 _has_bits_[0] &= ~0x00000010u;
01192 }
01193 inline void ProMCHeader::clear_x1() {
01194 x1_ = 0;
01195 clear_has_x1();
01196 }
01197 inline double ProMCHeader::x1() const {
01198 return x1_;
01199 }
01200 inline void ProMCHeader::set_x1(double value) {
01201 set_has_x1();
01202 x1_ = value;
01203 }
01204
01205
01206 inline bool ProMCHeader::has_x2() const {
01207 return (_has_bits_[0] & 0x00000020u) != 0;
01208 }
01209 inline void ProMCHeader::set_has_x2() {
01210 _has_bits_[0] |= 0x00000020u;
01211 }
01212 inline void ProMCHeader::clear_has_x2() {
01213 _has_bits_[0] &= ~0x00000020u;
01214 }
01215 inline void ProMCHeader::clear_x2() {
01216 x2_ = 0;
01217 clear_has_x2();
01218 }
01219 inline double ProMCHeader::x2() const {
01220 return x2_;
01221 }
01222 inline void ProMCHeader::set_x2(double value) {
01223 set_has_x2();
01224 x2_ = value;
01225 }
01226
01227
01228 inline bool ProMCHeader::has_scalepdf() const {
01229 return (_has_bits_[0] & 0x00000040u) != 0;
01230 }
01231 inline void ProMCHeader::set_has_scalepdf() {
01232 _has_bits_[0] |= 0x00000040u;
01233 }
01234 inline void ProMCHeader::clear_has_scalepdf() {
01235 _has_bits_[0] &= ~0x00000040u;
01236 }
01237 inline void ProMCHeader::clear_scalepdf() {
01238 scalepdf_ = 0;
01239 clear_has_scalepdf();
01240 }
01241 inline double ProMCHeader::scalepdf() const {
01242 return scalepdf_;
01243 }
01244 inline void ProMCHeader::set_scalepdf(double value) {
01245 set_has_scalepdf();
01246 scalepdf_ = value;
01247 }
01248
01249
01250 inline bool ProMCHeader::has_pdf1() const {
01251 return (_has_bits_[0] & 0x00000080u) != 0;
01252 }
01253 inline void ProMCHeader::set_has_pdf1() {
01254 _has_bits_[0] |= 0x00000080u;
01255 }
01256 inline void ProMCHeader::clear_has_pdf1() {
01257 _has_bits_[0] &= ~0x00000080u;
01258 }
01259 inline void ProMCHeader::clear_pdf1() {
01260 pdf1_ = 0;
01261 clear_has_pdf1();
01262 }
01263 inline ::google::protobuf::int32 ProMCHeader::pdf1() const {
01264 return pdf1_;
01265 }
01266 inline void ProMCHeader::set_pdf1(::google::protobuf::int32 value) {
01267 set_has_pdf1();
01268 pdf1_ = value;
01269 }
01270
01271
01272 inline bool ProMCHeader::has_pdf2() const {
01273 return (_has_bits_[0] & 0x00000100u) != 0;
01274 }
01275 inline void ProMCHeader::set_has_pdf2() {
01276 _has_bits_[0] |= 0x00000100u;
01277 }
01278 inline void ProMCHeader::clear_has_pdf2() {
01279 _has_bits_[0] &= ~0x00000100u;
01280 }
01281 inline void ProMCHeader::clear_pdf2() {
01282 pdf2_ = 0;
01283 clear_has_pdf2();
01284 }
01285 inline ::google::protobuf::int32 ProMCHeader::pdf2() const {
01286 return pdf2_;
01287 }
01288 inline void ProMCHeader::set_pdf2(::google::protobuf::int32 value) {
01289 set_has_pdf2();
01290 pdf2_ = value;
01291 }
01292
01293
01294 inline bool ProMCHeader::has_ecm() const {
01295 return (_has_bits_[0] & 0x00000200u) != 0;
01296 }
01297 inline void ProMCHeader::set_has_ecm() {
01298 _has_bits_[0] |= 0x00000200u;
01299 }
01300 inline void ProMCHeader::clear_has_ecm() {
01301 _has_bits_[0] &= ~0x00000200u;
01302 }
01303 inline void ProMCHeader::clear_ecm() {
01304 ecm_ = 0;
01305 clear_has_ecm();
01306 }
01307 inline double ProMCHeader::ecm() const {
01308 return ecm_;
01309 }
01310 inline void ProMCHeader::set_ecm(double value) {
01311 set_has_ecm();
01312 ecm_ = value;
01313 }
01314
01315
01316 inline bool ProMCHeader::has_s() const {
01317 return (_has_bits_[0] & 0x00000400u) != 0;
01318 }
01319 inline void ProMCHeader::set_has_s() {
01320 _has_bits_[0] |= 0x00000400u;
01321 }
01322 inline void ProMCHeader::clear_has_s() {
01323 _has_bits_[0] &= ~0x00000400u;
01324 }
01325 inline void ProMCHeader::clear_s() {
01326 s_ = 0;
01327 clear_has_s();
01328 }
01329 inline double ProMCHeader::s() const {
01330 return s_;
01331 }
01332 inline void ProMCHeader::set_s(double value) {
01333 set_has_s();
01334 s_ = value;
01335 }
01336
01337
01338 inline bool ProMCHeader::has_name() const {
01339 return (_has_bits_[0] & 0x00000800u) != 0;
01340 }
01341 inline void ProMCHeader::set_has_name() {
01342 _has_bits_[0] |= 0x00000800u;
01343 }
01344 inline void ProMCHeader::clear_has_name() {
01345 _has_bits_[0] &= ~0x00000800u;
01346 }
01347 inline void ProMCHeader::clear_name() {
01348 if (name_ != &::google::protobuf::internal::kEmptyString) {
01349 name_->clear();
01350 }
01351 clear_has_name();
01352 }
01353 inline const ::std::string& ProMCHeader::name() const {
01354 return *name_;
01355 }
01356 inline void ProMCHeader::set_name(const ::std::string& value) {
01357 set_has_name();
01358 if (name_ == &::google::protobuf::internal::kEmptyString) {
01359 name_ = new ::std::string;
01360 }
01361 name_->assign(value);
01362 }
01363 inline void ProMCHeader::set_name(const char* value) {
01364 set_has_name();
01365 if (name_ == &::google::protobuf::internal::kEmptyString) {
01366 name_ = new ::std::string;
01367 }
01368 name_->assign(value);
01369 }
01370 inline void ProMCHeader::set_name(const char* value, size_t size) {
01371 set_has_name();
01372 if (name_ == &::google::protobuf::internal::kEmptyString) {
01373 name_ = new ::std::string;
01374 }
01375 name_->assign(reinterpret_cast<const char*>(value), size);
01376 }
01377 inline ::std::string* ProMCHeader::mutable_name() {
01378 set_has_name();
01379 if (name_ == &::google::protobuf::internal::kEmptyString) {
01380 name_ = new ::std::string;
01381 }
01382 return name_;
01383 }
01384 inline ::std::string* ProMCHeader::release_name() {
01385 clear_has_name();
01386 if (name_ == &::google::protobuf::internal::kEmptyString) {
01387 return NULL;
01388 } else {
01389 ::std::string* temp = name_;
01390 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
01391 return temp;
01392 }
01393 }
01394 inline void ProMCHeader::set_allocated_name(::std::string* name) {
01395 if (name_ != &::google::protobuf::internal::kEmptyString) {
01396 delete name_;
01397 }
01398 if (name) {
01399 set_has_name();
01400 name_ = name;
01401 } else {
01402 clear_has_name();
01403 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
01404 }
01405 }
01406
01407
01408 inline bool ProMCHeader::has_code() const {
01409 return (_has_bits_[0] & 0x00001000u) != 0;
01410 }
01411 inline void ProMCHeader::set_has_code() {
01412 _has_bits_[0] |= 0x00001000u;
01413 }
01414 inline void ProMCHeader::clear_has_code() {
01415 _has_bits_[0] &= ~0x00001000u;
01416 }
01417 inline void ProMCHeader::clear_code() {
01418 code_ = 0;
01419 clear_has_code();
01420 }
01421 inline ::google::protobuf::int32 ProMCHeader::code() const {
01422 return code_;
01423 }
01424 inline void ProMCHeader::set_code(::google::protobuf::int32 value) {
01425 set_has_code();
01426 code_ = value;
01427 }
01428
01429
01430 inline bool ProMCHeader::has_cross_section() const {
01431 return (_has_bits_[0] & 0x00002000u) != 0;
01432 }
01433 inline void ProMCHeader::set_has_cross_section() {
01434 _has_bits_[0] |= 0x00002000u;
01435 }
01436 inline void ProMCHeader::clear_has_cross_section() {
01437 _has_bits_[0] &= ~0x00002000u;
01438 }
01439 inline void ProMCHeader::clear_cross_section() {
01440 cross_section_ = 0;
01441 clear_has_cross_section();
01442 }
01443 inline double ProMCHeader::cross_section() const {
01444 return cross_section_;
01445 }
01446 inline void ProMCHeader::set_cross_section(double value) {
01447 set_has_cross_section();
01448 cross_section_ = value;
01449 }
01450
01451
01452 inline bool ProMCHeader::has_cross_section_error() const {
01453 return (_has_bits_[0] & 0x00004000u) != 0;
01454 }
01455 inline void ProMCHeader::set_has_cross_section_error() {
01456 _has_bits_[0] |= 0x00004000u;
01457 }
01458 inline void ProMCHeader::clear_has_cross_section_error() {
01459 _has_bits_[0] &= ~0x00004000u;
01460 }
01461 inline void ProMCHeader::clear_cross_section_error() {
01462 cross_section_error_ = 0;
01463 clear_has_cross_section_error();
01464 }
01465 inline double ProMCHeader::cross_section_error() const {
01466 return cross_section_error_;
01467 }
01468 inline void ProMCHeader::set_cross_section_error(double value) {
01469 set_has_cross_section_error();
01470 cross_section_error_ = value;
01471 }
01472
01473
01474 inline bool ProMCHeader::has_momentumunit() const {
01475 return (_has_bits_[0] & 0x00008000u) != 0;
01476 }
01477 inline void ProMCHeader::set_has_momentumunit() {
01478 _has_bits_[0] |= 0x00008000u;
01479 }
01480 inline void ProMCHeader::clear_has_momentumunit() {
01481 _has_bits_[0] &= ~0x00008000u;
01482 }
01483 inline void ProMCHeader::clear_momentumunit() {
01484 momentumunit_ = 0;
01485 clear_has_momentumunit();
01486 }
01487 inline ::google::protobuf::int32 ProMCHeader::momentumunit() const {
01488 return momentumunit_;
01489 }
01490 inline void ProMCHeader::set_momentumunit(::google::protobuf::int32 value) {
01491 set_has_momentumunit();
01492 momentumunit_ = value;
01493 }
01494
01495
01496 inline bool ProMCHeader::has_lengthunit() const {
01497 return (_has_bits_[0] & 0x00010000u) != 0;
01498 }
01499 inline void ProMCHeader::set_has_lengthunit() {
01500 _has_bits_[0] |= 0x00010000u;
01501 }
01502 inline void ProMCHeader::clear_has_lengthunit() {
01503 _has_bits_[0] &= ~0x00010000u;
01504 }
01505 inline void ProMCHeader::clear_lengthunit() {
01506 lengthunit_ = 0;
01507 clear_has_lengthunit();
01508 }
01509 inline ::google::protobuf::int32 ProMCHeader::lengthunit() const {
01510 return lengthunit_;
01511 }
01512 inline void ProMCHeader::set_lengthunit(::google::protobuf::int32 value) {
01513 set_has_lengthunit();
01514 lengthunit_ = value;
01515 }
01516
01517
01518 inline bool ProMCHeader::has_namemomentumunit() const {
01519 return (_has_bits_[0] & 0x00020000u) != 0;
01520 }
01521 inline void ProMCHeader::set_has_namemomentumunit() {
01522 _has_bits_[0] |= 0x00020000u;
01523 }
01524 inline void ProMCHeader::clear_has_namemomentumunit() {
01525 _has_bits_[0] &= ~0x00020000u;
01526 }
01527 inline void ProMCHeader::clear_namemomentumunit() {
01528 if (namemomentumunit_ != &::google::protobuf::internal::kEmptyString) {
01529 namemomentumunit_->clear();
01530 }
01531 clear_has_namemomentumunit();
01532 }
01533 inline const ::std::string& ProMCHeader::namemomentumunit() const {
01534 return *namemomentumunit_;
01535 }
01536 inline void ProMCHeader::set_namemomentumunit(const ::std::string& value) {
01537 set_has_namemomentumunit();
01538 if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
01539 namemomentumunit_ = new ::std::string;
01540 }
01541 namemomentumunit_->assign(value);
01542 }
01543 inline void ProMCHeader::set_namemomentumunit(const char* value) {
01544 set_has_namemomentumunit();
01545 if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
01546 namemomentumunit_ = new ::std::string;
01547 }
01548 namemomentumunit_->assign(value);
01549 }
01550 inline void ProMCHeader::set_namemomentumunit(const char* value, size_t size) {
01551 set_has_namemomentumunit();
01552 if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
01553 namemomentumunit_ = new ::std::string;
01554 }
01555 namemomentumunit_->assign(reinterpret_cast<const char*>(value), size);
01556 }
01557 inline ::std::string* ProMCHeader::mutable_namemomentumunit() {
01558 set_has_namemomentumunit();
01559 if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
01560 namemomentumunit_ = new ::std::string;
01561 }
01562 return namemomentumunit_;
01563 }
01564 inline ::std::string* ProMCHeader::release_namemomentumunit() {
01565 clear_has_namemomentumunit();
01566 if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
01567 return NULL;
01568 } else {
01569 ::std::string* temp = namemomentumunit_;
01570 namemomentumunit_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
01571 return temp;
01572 }
01573 }
01574 inline void ProMCHeader::set_allocated_namemomentumunit(::std::string* namemomentumunit) {
01575 if (namemomentumunit_ != &::google::protobuf::internal::kEmptyString) {
01576 delete namemomentumunit_;
01577 }
01578 if (namemomentumunit) {
01579 set_has_namemomentumunit();
01580 namemomentumunit_ = namemomentumunit;
01581 } else {
01582 clear_has_namemomentumunit();
01583 namemomentumunit_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
01584 }
01585 }
01586
01587
01588 inline bool ProMCHeader::has_namelengthunit() const {
01589 return (_has_bits_[0] & 0x00040000u) != 0;
01590 }
01591 inline void ProMCHeader::set_has_namelengthunit() {
01592 _has_bits_[0] |= 0x00040000u;
01593 }
01594 inline void ProMCHeader::clear_has_namelengthunit() {
01595 _has_bits_[0] &= ~0x00040000u;
01596 }
01597 inline void ProMCHeader::clear_namelengthunit() {
01598 if (namelengthunit_ != &::google::protobuf::internal::kEmptyString) {
01599 namelengthunit_->clear();
01600 }
01601 clear_has_namelengthunit();
01602 }
01603 inline const ::std::string& ProMCHeader::namelengthunit() const {
01604 return *namelengthunit_;
01605 }
01606 inline void ProMCHeader::set_namelengthunit(const ::std::string& value) {
01607 set_has_namelengthunit();
01608 if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
01609 namelengthunit_ = new ::std::string;
01610 }
01611 namelengthunit_->assign(value);
01612 }
01613 inline void ProMCHeader::set_namelengthunit(const char* value) {
01614 set_has_namelengthunit();
01615 if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
01616 namelengthunit_ = new ::std::string;
01617 }
01618 namelengthunit_->assign(value);
01619 }
01620 inline void ProMCHeader::set_namelengthunit(const char* value, size_t size) {
01621 set_has_namelengthunit();
01622 if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
01623 namelengthunit_ = new ::std::string;
01624 }
01625 namelengthunit_->assign(reinterpret_cast<const char*>(value), size);
01626 }
01627 inline ::std::string* ProMCHeader::mutable_namelengthunit() {
01628 set_has_namelengthunit();
01629 if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
01630 namelengthunit_ = new ::std::string;
01631 }
01632 return namelengthunit_;
01633 }
01634 inline ::std::string* ProMCHeader::release_namelengthunit() {
01635 clear_has_namelengthunit();
01636 if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
01637 return NULL;
01638 } else {
01639 ::std::string* temp = namelengthunit_;
01640 namelengthunit_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
01641 return temp;
01642 }
01643 }
01644 inline void ProMCHeader::set_allocated_namelengthunit(::std::string* namelengthunit) {
01645 if (namelengthunit_ != &::google::protobuf::internal::kEmptyString) {
01646 delete namelengthunit_;
01647 }
01648 if (namelengthunit) {
01649 set_has_namelengthunit();
01650 namelengthunit_ = namelengthunit;
01651 } else {
01652 clear_has_namelengthunit();
01653 namelengthunit_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
01654 }
01655 }
01656
01657
01658 inline bool ProMCHeader::has_weight() const {
01659 return (_has_bits_[0] & 0x00080000u) != 0;
01660 }
01661 inline void ProMCHeader::set_has_weight() {
01662 _has_bits_[0] |= 0x00080000u;
01663 }
01664 inline void ProMCHeader::clear_has_weight() {
01665 _has_bits_[0] &= ~0x00080000u;
01666 }
01667 inline void ProMCHeader::clear_weight() {
01668 weight_ = 0;
01669 clear_has_weight();
01670 }
01671 inline double ProMCHeader::weight() const {
01672 return weight_;
01673 }
01674 inline void ProMCHeader::set_weight(double value) {
01675 set_has_weight();
01676 weight_ = value;
01677 }
01678
01679
01680 inline bool ProMCHeader::has_requested_events() const {
01681 return (_has_bits_[0] & 0x00100000u) != 0;
01682 }
01683 inline void ProMCHeader::set_has_requested_events() {
01684 _has_bits_[0] |= 0x00100000u;
01685 }
01686 inline void ProMCHeader::clear_has_requested_events() {
01687 _has_bits_[0] &= ~0x00100000u;
01688 }
01689 inline void ProMCHeader::clear_requested_events() {
01690 requested_events_ = 0;
01691 clear_has_requested_events();
01692 }
01693 inline double ProMCHeader::requested_events() const {
01694 return requested_events_;
01695 }
01696 inline void ProMCHeader::set_requested_events(double value) {
01697 set_has_requested_events();
01698 requested_events_ = value;
01699 }
01700
01701
01702 inline int ProMCHeader::particledata_size() const {
01703 return particledata_.size();
01704 }
01705 inline void ProMCHeader::clear_particledata() {
01706 particledata_.Clear();
01707 }
01708 inline const ::promc::ProMCHeader_ParticleData& ProMCHeader::particledata(int index) const {
01709 return particledata_.Get(index);
01710 }
01711 inline ::promc::ProMCHeader_ParticleData* ProMCHeader::mutable_particledata(int index) {
01712 return particledata_.Mutable(index);
01713 }
01714 inline ::promc::ProMCHeader_ParticleData* ProMCHeader::add_particledata() {
01715 return particledata_.Add();
01716 }
01717 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData >&
01718 ProMCHeader::particledata() const {
01719 return particledata_;
01720 }
01721 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData >*
01722 ProMCHeader::mutable_particledata() {
01723 return &particledata_;
01724 }
01725
01726
01727 inline int ProMCHeader::metaint_size() const {
01728 return metaint_.size();
01729 }
01730 inline void ProMCHeader::clear_metaint() {
01731 metaint_.Clear();
01732 }
01733 inline const ::promc::ProMCHeader_MetaInt& ProMCHeader::metaint(int index) const {
01734 return metaint_.Get(index);
01735 }
01736 inline ::promc::ProMCHeader_MetaInt* ProMCHeader::mutable_metaint(int index) {
01737 return metaint_.Mutable(index);
01738 }
01739 inline ::promc::ProMCHeader_MetaInt* ProMCHeader::add_metaint() {
01740 return metaint_.Add();
01741 }
01742 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >&
01743 ProMCHeader::metaint() const {
01744 return metaint_;
01745 }
01746 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >*
01747 ProMCHeader::mutable_metaint() {
01748 return &metaint_;
01749 }
01750
01751
01752 inline int ProMCHeader::metafloat_size() const {
01753 return metafloat_.size();
01754 }
01755 inline void ProMCHeader::clear_metafloat() {
01756 metafloat_.Clear();
01757 }
01758 inline const ::promc::ProMCHeader_MetaFloat& ProMCHeader::metafloat(int index) const {
01759 return metafloat_.Get(index);
01760 }
01761 inline ::promc::ProMCHeader_MetaFloat* ProMCHeader::mutable_metafloat(int index) {
01762 return metafloat_.Mutable(index);
01763 }
01764 inline ::promc::ProMCHeader_MetaFloat* ProMCHeader::add_metafloat() {
01765 return metafloat_.Add();
01766 }
01767 inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >&
01768 ProMCHeader::metafloat() const {
01769 return metafloat_;
01770 }
01771 inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >*
01772 ProMCHeader::mutable_metafloat() {
01773 return &metafloat_;
01774 }
01775
01776
01777
01778
01779 }
01780
01781 #ifndef SWIG
01782 namespace google {
01783 namespace protobuf {
01784
01785
01786 }
01787 }
01788 #endif // SWIG
01789
01790
01791
01792 #endif // PROTOBUF_ProMCHeader_2eproto__INCLUDED