[6b9b91f] | 1 | // Generated by the protocol buffer compiler. DO NOT EDIT!
|
---|
| 2 | // source: ProMCHeader.proto
|
---|
| 3 |
|
---|
| 4 | #ifndef PROTOBUF_ProMCHeader_2eproto__INCLUDED
|
---|
| 5 | #define PROTOBUF_ProMCHeader_2eproto__INCLUDED
|
---|
| 6 |
|
---|
| 7 | #include <string>
|
---|
| 8 |
|
---|
| 9 | #include <google/protobuf/stubs/common.h>
|
---|
| 10 |
|
---|
| 11 | #if GOOGLE_PROTOBUF_VERSION < 2005000
|
---|
| 12 | #error This file was generated by a newer version of protoc which is
|
---|
| 13 | #error incompatible with your Protocol Buffer headers. Please update
|
---|
| 14 | #error your headers.
|
---|
| 15 | #endif
|
---|
| 16 | #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
|
---|
| 17 | #error This file was generated by an older version of protoc which is
|
---|
| 18 | #error incompatible with your Protocol Buffer headers. Please
|
---|
| 19 | #error regenerate this file with a newer version of protoc.
|
---|
| 20 | #endif
|
---|
| 21 |
|
---|
| 22 | #include <google/protobuf/generated_message_util.h>
|
---|
| 23 | #include <google/protobuf/message.h>
|
---|
| 24 | #include <google/protobuf/repeated_field.h>
|
---|
| 25 | #include <google/protobuf/extension_set.h>
|
---|
| 26 | #include <google/protobuf/unknown_field_set.h>
|
---|
| 27 | // @@protoc_insertion_point(includes)
|
---|
| 28 |
|
---|
| 29 | namespace promc {
|
---|
| 30 |
|
---|
| 31 | // Internal implementation detail -- do not call these.
|
---|
| 32 | void protobuf_AddDesc_ProMCHeader_2eproto();
|
---|
| 33 | void protobuf_AssignDesc_ProMCHeader_2eproto();
|
---|
| 34 | void protobuf_ShutdownFile_ProMCHeader_2eproto();
|
---|
| 35 |
|
---|
| 36 | class ProMCHeader;
|
---|
| 37 | class ProMCHeader_ParticleData;
|
---|
| 38 | class ProMCHeader_MetaInt;
|
---|
| 39 | class ProMCHeader_MetaFloat;
|
---|
| 40 |
|
---|
| 41 | // ===================================================================
|
---|
| 42 |
|
---|
| 43 | class ProMCHeader_ParticleData : public ::google::protobuf::Message {
|
---|
| 44 | public:
|
---|
| 45 | ProMCHeader_ParticleData();
|
---|
| 46 | virtual ~ProMCHeader_ParticleData();
|
---|
| 47 |
|
---|
| 48 | ProMCHeader_ParticleData(const ProMCHeader_ParticleData& from);
|
---|
| 49 |
|
---|
| 50 | inline ProMCHeader_ParticleData& operator=(const ProMCHeader_ParticleData& from) {
|
---|
| 51 | CopyFrom(from);
|
---|
| 52 | return *this;
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
---|
| 56 | return _unknown_fields_;
|
---|
| 57 | }
|
---|
| 58 |
|
---|
| 59 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
---|
| 60 | return &_unknown_fields_;
|
---|
| 61 | }
|
---|
| 62 |
|
---|
| 63 | static const ::google::protobuf::Descriptor* descriptor();
|
---|
| 64 | static const ProMCHeader_ParticleData& default_instance();
|
---|
| 65 |
|
---|
| 66 | void Swap(ProMCHeader_ParticleData* other);
|
---|
| 67 |
|
---|
| 68 | // implements Message ----------------------------------------------
|
---|
| 69 |
|
---|
| 70 | ProMCHeader_ParticleData* New() const;
|
---|
| 71 | void CopyFrom(const ::google::protobuf::Message& from);
|
---|
| 72 | void MergeFrom(const ::google::protobuf::Message& from);
|
---|
| 73 | void CopyFrom(const ProMCHeader_ParticleData& from);
|
---|
| 74 | void MergeFrom(const ProMCHeader_ParticleData& from);
|
---|
| 75 | void Clear();
|
---|
| 76 | bool IsInitialized() const;
|
---|
| 77 |
|
---|
| 78 | int ByteSize() const;
|
---|
| 79 | bool MergePartialFromCodedStream(
|
---|
| 80 | ::google::protobuf::io::CodedInputStream* input);
|
---|
| 81 | void SerializeWithCachedSizes(
|
---|
| 82 | ::google::protobuf::io::CodedOutputStream* output) const;
|
---|
| 83 | ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
---|
| 84 | int GetCachedSize() const { return _cached_size_; }
|
---|
| 85 | private:
|
---|
| 86 | void SharedCtor();
|
---|
| 87 | void SharedDtor();
|
---|
| 88 | void SetCachedSize(int size) const;
|
---|
| 89 | public:
|
---|
| 90 |
|
---|
| 91 | ::google::protobuf::Metadata GetMetadata() const;
|
---|
| 92 |
|
---|
| 93 | // nested types ----------------------------------------------------
|
---|
| 94 |
|
---|
| 95 | // accessors -------------------------------------------------------
|
---|
| 96 |
|
---|
| 97 | // required sint32 id = 1;
|
---|
| 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);
|
---|
| 103 |
|
---|
| 104 | // required double mass = 2;
|
---|
| 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);
|
---|
| 110 |
|
---|
| 111 | // required string name = 3;
|
---|
| 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);
|
---|
| 122 |
|
---|
| 123 | // optional float width = 4;
|
---|
| 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);
|
---|
| 129 |
|
---|
| 130 | // optional float lifetime = 5;
|
---|
| 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);
|
---|
| 136 |
|
---|
| 137 | // optional sint32 charge = 6;
|
---|
| 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);
|
---|
| 143 |
|
---|
| 144 | // @@protoc_insertion_point(class_scope:promc.ProMCHeader.ParticleData)
|
---|
| 145 | private:
|
---|
| 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();
|
---|
| 158 |
|
---|
| 159 | ::google::protobuf::UnknownFieldSet _unknown_fields_;
|
---|
| 160 |
|
---|
| 161 | double mass_;
|
---|
| 162 | ::google::protobuf::int32 id_;
|
---|
| 163 | float width_;
|
---|
| 164 | ::std::string* name_;
|
---|
| 165 | float lifetime_;
|
---|
| 166 | ::google::protobuf::int32 charge_;
|
---|
| 167 |
|
---|
| 168 | mutable int _cached_size_;
|
---|
| 169 | ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
|
---|
| 170 |
|
---|
| 171 | friend void protobuf_AddDesc_ProMCHeader_2eproto();
|
---|
| 172 | friend void protobuf_AssignDesc_ProMCHeader_2eproto();
|
---|
| 173 | friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
|
---|
| 174 |
|
---|
| 175 | void InitAsDefaultInstance();
|
---|
| 176 | static ProMCHeader_ParticleData* default_instance_;
|
---|
| 177 | };
|
---|
| 178 | // -------------------------------------------------------------------
|
---|
| 179 |
|
---|
| 180 | class ProMCHeader_MetaInt : public ::google::protobuf::Message {
|
---|
| 181 | public:
|
---|
| 182 | ProMCHeader_MetaInt();
|
---|
| 183 | virtual ~ProMCHeader_MetaInt();
|
---|
| 184 |
|
---|
| 185 | ProMCHeader_MetaInt(const ProMCHeader_MetaInt& from);
|
---|
| 186 |
|
---|
| 187 | inline ProMCHeader_MetaInt& operator=(const ProMCHeader_MetaInt& from) {
|
---|
| 188 | CopyFrom(from);
|
---|
| 189 | return *this;
|
---|
| 190 | }
|
---|
| 191 |
|
---|
| 192 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
---|
| 193 | return _unknown_fields_;
|
---|
| 194 | }
|
---|
| 195 |
|
---|
| 196 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
---|
| 197 | return &_unknown_fields_;
|
---|
| 198 | }
|
---|
| 199 |
|
---|
| 200 | static const ::google::protobuf::Descriptor* descriptor();
|
---|
| 201 | static const ProMCHeader_MetaInt& default_instance();
|
---|
| 202 |
|
---|
| 203 | void Swap(ProMCHeader_MetaInt* other);
|
---|
| 204 |
|
---|
| 205 | // implements Message ----------------------------------------------
|
---|
| 206 |
|
---|
| 207 | ProMCHeader_MetaInt* New() const;
|
---|
| 208 | void CopyFrom(const ::google::protobuf::Message& from);
|
---|
| 209 | void MergeFrom(const ::google::protobuf::Message& from);
|
---|
| 210 | void CopyFrom(const ProMCHeader_MetaInt& from);
|
---|
| 211 | void MergeFrom(const ProMCHeader_MetaInt& from);
|
---|
| 212 | void Clear();
|
---|
| 213 | bool IsInitialized() const;
|
---|
| 214 |
|
---|
| 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_; }
|
---|
| 222 | private:
|
---|
| 223 | void SharedCtor();
|
---|
| 224 | void SharedDtor();
|
---|
| 225 | void SetCachedSize(int size) const;
|
---|
| 226 | public:
|
---|
| 227 |
|
---|
| 228 | ::google::protobuf::Metadata GetMetadata() const;
|
---|
| 229 |
|
---|
| 230 | // nested types ----------------------------------------------------
|
---|
| 231 |
|
---|
| 232 | // accessors -------------------------------------------------------
|
---|
| 233 |
|
---|
| 234 | // required string key = 1;
|
---|
| 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);
|
---|
| 245 |
|
---|
| 246 | // required sint64 value = 2;
|
---|
| 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);
|
---|
| 252 |
|
---|
| 253 | // @@protoc_insertion_point(class_scope:promc.ProMCHeader.MetaInt)
|
---|
| 254 | private:
|
---|
| 255 | inline void set_has_key();
|
---|
| 256 | inline void clear_has_key();
|
---|
| 257 | inline void set_has_value();
|
---|
| 258 | inline void clear_has_value();
|
---|
| 259 |
|
---|
| 260 | ::google::protobuf::UnknownFieldSet _unknown_fields_;
|
---|
| 261 |
|
---|
| 262 | ::std::string* key_;
|
---|
| 263 | ::google::protobuf::int64 value_;
|
---|
| 264 |
|
---|
| 265 | mutable int _cached_size_;
|
---|
| 266 | ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
|
---|
| 267 |
|
---|
| 268 | friend void protobuf_AddDesc_ProMCHeader_2eproto();
|
---|
| 269 | friend void protobuf_AssignDesc_ProMCHeader_2eproto();
|
---|
| 270 | friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
|
---|
| 271 |
|
---|
| 272 | void InitAsDefaultInstance();
|
---|
| 273 | static ProMCHeader_MetaInt* default_instance_;
|
---|
| 274 | };
|
---|
| 275 | // -------------------------------------------------------------------
|
---|
| 276 |
|
---|
| 277 | class ProMCHeader_MetaFloat : public ::google::protobuf::Message {
|
---|
| 278 | public:
|
---|
| 279 | ProMCHeader_MetaFloat();
|
---|
| 280 | virtual ~ProMCHeader_MetaFloat();
|
---|
| 281 |
|
---|
| 282 | ProMCHeader_MetaFloat(const ProMCHeader_MetaFloat& from);
|
---|
| 283 |
|
---|
| 284 | inline ProMCHeader_MetaFloat& operator=(const ProMCHeader_MetaFloat& from) {
|
---|
| 285 | CopyFrom(from);
|
---|
| 286 | return *this;
|
---|
| 287 | }
|
---|
| 288 |
|
---|
| 289 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
---|
| 290 | return _unknown_fields_;
|
---|
| 291 | }
|
---|
| 292 |
|
---|
| 293 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
---|
| 294 | return &_unknown_fields_;
|
---|
| 295 | }
|
---|
| 296 |
|
---|
| 297 | static const ::google::protobuf::Descriptor* descriptor();
|
---|
| 298 | static const ProMCHeader_MetaFloat& default_instance();
|
---|
| 299 |
|
---|
| 300 | void Swap(ProMCHeader_MetaFloat* other);
|
---|
| 301 |
|
---|
| 302 | // implements Message ----------------------------------------------
|
---|
| 303 |
|
---|
| 304 | ProMCHeader_MetaFloat* New() const;
|
---|
| 305 | void CopyFrom(const ::google::protobuf::Message& from);
|
---|
| 306 | void MergeFrom(const ::google::protobuf::Message& from);
|
---|
| 307 | void CopyFrom(const ProMCHeader_MetaFloat& from);
|
---|
| 308 | void MergeFrom(const ProMCHeader_MetaFloat& from);
|
---|
| 309 | void Clear();
|
---|
| 310 | bool IsInitialized() const;
|
---|
| 311 |
|
---|
| 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_; }
|
---|
| 319 | private:
|
---|
| 320 | void SharedCtor();
|
---|
| 321 | void SharedDtor();
|
---|
| 322 | void SetCachedSize(int size) const;
|
---|
| 323 | public:
|
---|
| 324 |
|
---|
| 325 | ::google::protobuf::Metadata GetMetadata() const;
|
---|
| 326 |
|
---|
| 327 | // nested types ----------------------------------------------------
|
---|
| 328 |
|
---|
| 329 | // accessors -------------------------------------------------------
|
---|
| 330 |
|
---|
| 331 | // required string key = 1;
|
---|
| 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);
|
---|
| 342 |
|
---|
| 343 | // required double value = 2;
|
---|
| 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);
|
---|
| 349 |
|
---|
| 350 | // @@protoc_insertion_point(class_scope:promc.ProMCHeader.MetaFloat)
|
---|
| 351 | private:
|
---|
| 352 | inline void set_has_key();
|
---|
| 353 | inline void clear_has_key();
|
---|
| 354 | inline void set_has_value();
|
---|
| 355 | inline void clear_has_value();
|
---|
| 356 |
|
---|
| 357 | ::google::protobuf::UnknownFieldSet _unknown_fields_;
|
---|
| 358 |
|
---|
| 359 | ::std::string* key_;
|
---|
| 360 | double value_;
|
---|
| 361 |
|
---|
| 362 | mutable int _cached_size_;
|
---|
| 363 | ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
|
---|
| 364 |
|
---|
| 365 | friend void protobuf_AddDesc_ProMCHeader_2eproto();
|
---|
| 366 | friend void protobuf_AssignDesc_ProMCHeader_2eproto();
|
---|
| 367 | friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
|
---|
| 368 |
|
---|
| 369 | void InitAsDefaultInstance();
|
---|
| 370 | static ProMCHeader_MetaFloat* default_instance_;
|
---|
| 371 | };
|
---|
| 372 | // -------------------------------------------------------------------
|
---|
| 373 |
|
---|
| 374 | class ProMCHeader : public ::google::protobuf::Message {
|
---|
| 375 | public:
|
---|
| 376 | ProMCHeader();
|
---|
| 377 | virtual ~ProMCHeader();
|
---|
| 378 |
|
---|
| 379 | ProMCHeader(const ProMCHeader& from);
|
---|
| 380 |
|
---|
| 381 | inline ProMCHeader& operator=(const ProMCHeader& from) {
|
---|
| 382 | CopyFrom(from);
|
---|
| 383 | return *this;
|
---|
| 384 | }
|
---|
| 385 |
|
---|
| 386 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
---|
| 387 | return _unknown_fields_;
|
---|
| 388 | }
|
---|
| 389 |
|
---|
| 390 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
---|
| 391 | return &_unknown_fields_;
|
---|
| 392 | }
|
---|
| 393 |
|
---|
| 394 | static const ::google::protobuf::Descriptor* descriptor();
|
---|
| 395 | static const ProMCHeader& default_instance();
|
---|
| 396 |
|
---|
| 397 | void Swap(ProMCHeader* other);
|
---|
| 398 |
|
---|
| 399 | // implements Message ----------------------------------------------
|
---|
| 400 |
|
---|
| 401 | ProMCHeader* New() const;
|
---|
| 402 | void CopyFrom(const ::google::protobuf::Message& from);
|
---|
| 403 | void MergeFrom(const ::google::protobuf::Message& from);
|
---|
| 404 | void CopyFrom(const ProMCHeader& from);
|
---|
| 405 | void MergeFrom(const ProMCHeader& from);
|
---|
| 406 | void Clear();
|
---|
| 407 | bool IsInitialized() const;
|
---|
| 408 |
|
---|
| 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_; }
|
---|
| 416 | private:
|
---|
| 417 | void SharedCtor();
|
---|
| 418 | void SharedDtor();
|
---|
| 419 | void SetCachedSize(int size) const;
|
---|
| 420 | public:
|
---|
| 421 |
|
---|
| 422 | ::google::protobuf::Metadata GetMetadata() const;
|
---|
| 423 |
|
---|
| 424 | // nested types ----------------------------------------------------
|
---|
| 425 |
|
---|
| 426 | typedef ProMCHeader_ParticleData ParticleData;
|
---|
| 427 | typedef ProMCHeader_MetaInt MetaInt;
|
---|
| 428 | typedef ProMCHeader_MetaFloat MetaFloat;
|
---|
| 429 |
|
---|
| 430 | // accessors -------------------------------------------------------
|
---|
| 431 |
|
---|
| 432 | // optional int32 id1 = 1;
|
---|
| 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);
|
---|
| 438 |
|
---|
| 439 | // optional int32 id2 = 2;
|
---|
| 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);
|
---|
| 445 |
|
---|
| 446 | // optional int32 pdf_id1 = 3;
|
---|
| 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);
|
---|
| 452 |
|
---|
| 453 | // optional int32 pdf_id2 = 4;
|
---|
| 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);
|
---|
| 459 |
|
---|
| 460 | // optional double x1 = 5;
|
---|
| 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);
|
---|
| 466 |
|
---|
| 467 | // optional double x2 = 6;
|
---|
| 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);
|
---|
| 473 |
|
---|
| 474 | // optional double scalepdf = 7;
|
---|
| 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);
|
---|
| 480 |
|
---|
| 481 | // optional int32 pdf1 = 8;
|
---|
| 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);
|
---|
| 487 |
|
---|
| 488 | // optional int32 pdf2 = 9;
|
---|
| 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);
|
---|
| 494 |
|
---|
| 495 | // optional double eCM = 10;
|
---|
| 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);
|
---|
| 501 |
|
---|
| 502 | // optional double s = 11;
|
---|
| 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);
|
---|
| 508 |
|
---|
| 509 | // optional string name = 12;
|
---|
| 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);
|
---|
| 520 |
|
---|
| 521 | // optional int32 code = 13;
|
---|
| 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);
|
---|
| 527 |
|
---|
| 528 | // optional double cross_section = 14;
|
---|
| 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);
|
---|
| 534 |
|
---|
| 535 | // optional double cross_section_error = 15;
|
---|
| 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);
|
---|
| 541 |
|
---|
| 542 | // optional int32 MomentumUnit = 16;
|
---|
| 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);
|
---|
| 548 |
|
---|
| 549 | // optional int32 LengthUnit = 17;
|
---|
| 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);
|
---|
| 555 |
|
---|
| 556 | // optional string NameMomentumUnit = 18;
|
---|
| 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);
|
---|
| 567 |
|
---|
| 568 | // optional string NameLengthUnit = 19;
|
---|
| 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);
|
---|
| 579 |
|
---|
| 580 | // optional double weight = 20;
|
---|
| 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);
|
---|
| 586 |
|
---|
| 587 | // optional double requested_events = 21;
|
---|
| 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);
|
---|
| 593 |
|
---|
| 594 | // repeated .promc.ProMCHeader.ParticleData particleData = 30;
|
---|
| 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();
|
---|
| 605 |
|
---|
| 606 | // repeated .promc.ProMCHeader.MetaInt metaInt = 31;
|
---|
| 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 >&
|
---|
| 614 | metaint() const;
|
---|
| 615 | inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >*
|
---|
| 616 | mutable_metaint();
|
---|
| 617 |
|
---|
| 618 | // repeated .promc.ProMCHeader.MetaFloat metaFloat = 32;
|
---|
| 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 >&
|
---|
| 626 | metafloat() const;
|
---|
| 627 | inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >*
|
---|
| 628 | mutable_metafloat();
|
---|
| 629 |
|
---|
| 630 | // @@protoc_insertion_point(class_scope:promc.ProMCHeader)
|
---|
| 631 | private:
|
---|
| 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();
|
---|
| 674 |
|
---|
| 675 | ::google::protobuf::UnknownFieldSet _unknown_fields_;
|
---|
| 676 |
|
---|
| 677 | ::google::protobuf::int32 id1_;
|
---|
| 678 | ::google::protobuf::int32 id2_;
|
---|
| 679 | ::google::protobuf::int32 pdf_id1_;
|
---|
| 680 | ::google::protobuf::int32 pdf_id2_;
|
---|
| 681 | double x1_;
|
---|
| 682 | double x2_;
|
---|
| 683 | double scalepdf_;
|
---|
| 684 | ::google::protobuf::int32 pdf1_;
|
---|
| 685 | ::google::protobuf::int32 pdf2_;
|
---|
| 686 | double ecm_;
|
---|
| 687 | double s_;
|
---|
| 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_;
|
---|
| 695 | double weight_;
|
---|
| 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_;
|
---|
| 701 |
|
---|
| 702 | mutable int _cached_size_;
|
---|
| 703 | ::google::protobuf::uint32 _has_bits_[(24 + 31) / 32];
|
---|
| 704 |
|
---|
| 705 | friend void protobuf_AddDesc_ProMCHeader_2eproto();
|
---|
| 706 | friend void protobuf_AssignDesc_ProMCHeader_2eproto();
|
---|
| 707 | friend void protobuf_ShutdownFile_ProMCHeader_2eproto();
|
---|
| 708 |
|
---|
| 709 | void InitAsDefaultInstance();
|
---|
| 710 | static ProMCHeader* default_instance_;
|
---|
| 711 | };
|
---|
| 712 | // ===================================================================
|
---|
| 713 |
|
---|
| 714 |
|
---|
| 715 | // ===================================================================
|
---|
| 716 |
|
---|
| 717 | // ProMCHeader_ParticleData
|
---|
| 718 |
|
---|
| 719 | // required sint32 id = 1;
|
---|
| 720 | inline bool ProMCHeader_ParticleData::has_id() const {
|
---|
| 721 | return (_has_bits_[0] & 0x00000001u) != 0;
|
---|
| 722 | }
|
---|
| 723 | inline void ProMCHeader_ParticleData::set_has_id() {
|
---|
| 724 | _has_bits_[0] |= 0x00000001u;
|
---|
| 725 | }
|
---|
| 726 | inline void ProMCHeader_ParticleData::clear_has_id() {
|
---|
| 727 | _has_bits_[0] &= ~0x00000001u;
|
---|
| 728 | }
|
---|
| 729 | inline void ProMCHeader_ParticleData::clear_id() {
|
---|
| 730 | id_ = 0;
|
---|
| 731 | clear_has_id();
|
---|
| 732 | }
|
---|
| 733 | inline ::google::protobuf::int32 ProMCHeader_ParticleData::id() const {
|
---|
| 734 | return id_;
|
---|
| 735 | }
|
---|
| 736 | inline void ProMCHeader_ParticleData::set_id(::google::protobuf::int32 value) {
|
---|
| 737 | set_has_id();
|
---|
| 738 | id_ = value;
|
---|
| 739 | }
|
---|
| 740 |
|
---|
| 741 | // required double mass = 2;
|
---|
| 742 | inline bool ProMCHeader_ParticleData::has_mass() const {
|
---|
| 743 | return (_has_bits_[0] & 0x00000002u) != 0;
|
---|
| 744 | }
|
---|
| 745 | inline void ProMCHeader_ParticleData::set_has_mass() {
|
---|
| 746 | _has_bits_[0] |= 0x00000002u;
|
---|
| 747 | }
|
---|
| 748 | inline void ProMCHeader_ParticleData::clear_has_mass() {
|
---|
| 749 | _has_bits_[0] &= ~0x00000002u;
|
---|
| 750 | }
|
---|
| 751 | inline void ProMCHeader_ParticleData::clear_mass() {
|
---|
| 752 | mass_ = 0;
|
---|
| 753 | clear_has_mass();
|
---|
| 754 | }
|
---|
| 755 | inline double ProMCHeader_ParticleData::mass() const {
|
---|
| 756 | return mass_;
|
---|
| 757 | }
|
---|
| 758 | inline void ProMCHeader_ParticleData::set_mass(double value) {
|
---|
| 759 | set_has_mass();
|
---|
| 760 | mass_ = value;
|
---|
| 761 | }
|
---|
| 762 |
|
---|
| 763 | // required string name = 3;
|
---|
| 764 | inline bool ProMCHeader_ParticleData::has_name() const {
|
---|
| 765 | return (_has_bits_[0] & 0x00000004u) != 0;
|
---|
| 766 | }
|
---|
| 767 | inline void ProMCHeader_ParticleData::set_has_name() {
|
---|
| 768 | _has_bits_[0] |= 0x00000004u;
|
---|
| 769 | }
|
---|
| 770 | inline void ProMCHeader_ParticleData::clear_has_name() {
|
---|
| 771 | _has_bits_[0] &= ~0x00000004u;
|
---|
| 772 | }
|
---|
| 773 | inline void ProMCHeader_ParticleData::clear_name() {
|
---|
| 774 | if (name_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 775 | name_->clear();
|
---|
| 776 | }
|
---|
| 777 | clear_has_name();
|
---|
| 778 | }
|
---|
| 779 | inline const ::std::string& ProMCHeader_ParticleData::name() const {
|
---|
| 780 | return *name_;
|
---|
| 781 | }
|
---|
| 782 | inline void ProMCHeader_ParticleData::set_name(const ::std::string& value) {
|
---|
| 783 | set_has_name();
|
---|
| 784 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 785 | name_ = new ::std::string;
|
---|
| 786 | }
|
---|
| 787 | name_->assign(value);
|
---|
| 788 | }
|
---|
| 789 | inline void ProMCHeader_ParticleData::set_name(const char* value) {
|
---|
| 790 | set_has_name();
|
---|
| 791 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 792 | name_ = new ::std::string;
|
---|
| 793 | }
|
---|
| 794 | name_->assign(value);
|
---|
| 795 | }
|
---|
| 796 | inline void ProMCHeader_ParticleData::set_name(const char* value, size_t size) {
|
---|
| 797 | set_has_name();
|
---|
| 798 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 799 | name_ = new ::std::string;
|
---|
| 800 | }
|
---|
| 801 | name_->assign(reinterpret_cast<const char*>(value), size);
|
---|
| 802 | }
|
---|
| 803 | inline ::std::string* ProMCHeader_ParticleData::mutable_name() {
|
---|
| 804 | set_has_name();
|
---|
| 805 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 806 | name_ = new ::std::string;
|
---|
| 807 | }
|
---|
| 808 | return name_;
|
---|
| 809 | }
|
---|
| 810 | inline ::std::string* ProMCHeader_ParticleData::release_name() {
|
---|
| 811 | clear_has_name();
|
---|
| 812 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 813 | return NULL;
|
---|
| 814 | } else {
|
---|
| 815 | ::std::string* temp = name_;
|
---|
| 816 | name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 817 | return temp;
|
---|
| 818 | }
|
---|
| 819 | }
|
---|
| 820 | inline void ProMCHeader_ParticleData::set_allocated_name(::std::string* name) {
|
---|
| 821 | if (name_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 822 | delete name_;
|
---|
| 823 | }
|
---|
| 824 | if (name) {
|
---|
| 825 | set_has_name();
|
---|
| 826 | name_ = name;
|
---|
| 827 | } else {
|
---|
| 828 | clear_has_name();
|
---|
| 829 | name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 830 | }
|
---|
| 831 | }
|
---|
| 832 |
|
---|
| 833 | // optional float width = 4;
|
---|
| 834 | inline bool ProMCHeader_ParticleData::has_width() const {
|
---|
| 835 | return (_has_bits_[0] & 0x00000008u) != 0;
|
---|
| 836 | }
|
---|
| 837 | inline void ProMCHeader_ParticleData::set_has_width() {
|
---|
| 838 | _has_bits_[0] |= 0x00000008u;
|
---|
| 839 | }
|
---|
| 840 | inline void ProMCHeader_ParticleData::clear_has_width() {
|
---|
| 841 | _has_bits_[0] &= ~0x00000008u;
|
---|
| 842 | }
|
---|
| 843 | inline void ProMCHeader_ParticleData::clear_width() {
|
---|
| 844 | width_ = 0;
|
---|
| 845 | clear_has_width();
|
---|
| 846 | }
|
---|
| 847 | inline float ProMCHeader_ParticleData::width() const {
|
---|
| 848 | return width_;
|
---|
| 849 | }
|
---|
| 850 | inline void ProMCHeader_ParticleData::set_width(float value) {
|
---|
| 851 | set_has_width();
|
---|
| 852 | width_ = value;
|
---|
| 853 | }
|
---|
| 854 |
|
---|
| 855 | // optional float lifetime = 5;
|
---|
| 856 | inline bool ProMCHeader_ParticleData::has_lifetime() const {
|
---|
| 857 | return (_has_bits_[0] & 0x00000010u) != 0;
|
---|
| 858 | }
|
---|
| 859 | inline void ProMCHeader_ParticleData::set_has_lifetime() {
|
---|
| 860 | _has_bits_[0] |= 0x00000010u;
|
---|
| 861 | }
|
---|
| 862 | inline void ProMCHeader_ParticleData::clear_has_lifetime() {
|
---|
| 863 | _has_bits_[0] &= ~0x00000010u;
|
---|
| 864 | }
|
---|
| 865 | inline void ProMCHeader_ParticleData::clear_lifetime() {
|
---|
| 866 | lifetime_ = 0;
|
---|
| 867 | clear_has_lifetime();
|
---|
| 868 | }
|
---|
| 869 | inline float ProMCHeader_ParticleData::lifetime() const {
|
---|
| 870 | return lifetime_;
|
---|
| 871 | }
|
---|
| 872 | inline void ProMCHeader_ParticleData::set_lifetime(float value) {
|
---|
| 873 | set_has_lifetime();
|
---|
| 874 | lifetime_ = value;
|
---|
| 875 | }
|
---|
| 876 |
|
---|
| 877 | // optional sint32 charge = 6;
|
---|
| 878 | inline bool ProMCHeader_ParticleData::has_charge() const {
|
---|
| 879 | return (_has_bits_[0] & 0x00000020u) != 0;
|
---|
| 880 | }
|
---|
| 881 | inline void ProMCHeader_ParticleData::set_has_charge() {
|
---|
| 882 | _has_bits_[0] |= 0x00000020u;
|
---|
| 883 | }
|
---|
| 884 | inline void ProMCHeader_ParticleData::clear_has_charge() {
|
---|
| 885 | _has_bits_[0] &= ~0x00000020u;
|
---|
| 886 | }
|
---|
| 887 | inline void ProMCHeader_ParticleData::clear_charge() {
|
---|
| 888 | charge_ = 0;
|
---|
| 889 | clear_has_charge();
|
---|
| 890 | }
|
---|
| 891 | inline ::google::protobuf::int32 ProMCHeader_ParticleData::charge() const {
|
---|
| 892 | return charge_;
|
---|
| 893 | }
|
---|
| 894 | inline void ProMCHeader_ParticleData::set_charge(::google::protobuf::int32 value) {
|
---|
| 895 | set_has_charge();
|
---|
| 896 | charge_ = value;
|
---|
| 897 | }
|
---|
| 898 |
|
---|
| 899 | // -------------------------------------------------------------------
|
---|
| 900 |
|
---|
| 901 | // ProMCHeader_MetaInt
|
---|
| 902 |
|
---|
| 903 | // required string key = 1;
|
---|
| 904 | inline bool ProMCHeader_MetaInt::has_key() const {
|
---|
| 905 | return (_has_bits_[0] & 0x00000001u) != 0;
|
---|
| 906 | }
|
---|
| 907 | inline void ProMCHeader_MetaInt::set_has_key() {
|
---|
| 908 | _has_bits_[0] |= 0x00000001u;
|
---|
| 909 | }
|
---|
| 910 | inline void ProMCHeader_MetaInt::clear_has_key() {
|
---|
| 911 | _has_bits_[0] &= ~0x00000001u;
|
---|
| 912 | }
|
---|
| 913 | inline void ProMCHeader_MetaInt::clear_key() {
|
---|
| 914 | if (key_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 915 | key_->clear();
|
---|
| 916 | }
|
---|
| 917 | clear_has_key();
|
---|
| 918 | }
|
---|
| 919 | inline const ::std::string& ProMCHeader_MetaInt::key() const {
|
---|
| 920 | return *key_;
|
---|
| 921 | }
|
---|
| 922 | inline void ProMCHeader_MetaInt::set_key(const ::std::string& value) {
|
---|
| 923 | set_has_key();
|
---|
| 924 | if (key_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 925 | key_ = new ::std::string;
|
---|
| 926 | }
|
---|
| 927 | key_->assign(value);
|
---|
| 928 | }
|
---|
| 929 | inline void ProMCHeader_MetaInt::set_key(const char* value) {
|
---|
| 930 | set_has_key();
|
---|
| 931 | if (key_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 932 | key_ = new ::std::string;
|
---|
| 933 | }
|
---|
| 934 | key_->assign(value);
|
---|
| 935 | }
|
---|
| 936 | inline void ProMCHeader_MetaInt::set_key(const char* value, size_t size) {
|
---|
| 937 | set_has_key();
|
---|
| 938 | if (key_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 939 | key_ = new ::std::string;
|
---|
| 940 | }
|
---|
| 941 | key_->assign(reinterpret_cast<const char*>(value), size);
|
---|
| 942 | }
|
---|
| 943 | inline ::std::string* ProMCHeader_MetaInt::mutable_key() {
|
---|
| 944 | set_has_key();
|
---|
| 945 | if (key_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 946 | key_ = new ::std::string;
|
---|
| 947 | }
|
---|
| 948 | return key_;
|
---|
| 949 | }
|
---|
| 950 | inline ::std::string* ProMCHeader_MetaInt::release_key() {
|
---|
| 951 | clear_has_key();
|
---|
| 952 | if (key_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 953 | return NULL;
|
---|
| 954 | } else {
|
---|
| 955 | ::std::string* temp = key_;
|
---|
| 956 | key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 957 | return temp;
|
---|
| 958 | }
|
---|
| 959 | }
|
---|
| 960 | inline void ProMCHeader_MetaInt::set_allocated_key(::std::string* key) {
|
---|
| 961 | if (key_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 962 | delete key_;
|
---|
| 963 | }
|
---|
| 964 | if (key) {
|
---|
| 965 | set_has_key();
|
---|
| 966 | key_ = key;
|
---|
| 967 | } else {
|
---|
| 968 | clear_has_key();
|
---|
| 969 | key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 970 | }
|
---|
| 971 | }
|
---|
| 972 |
|
---|
| 973 | // required sint64 value = 2;
|
---|
| 974 | inline bool ProMCHeader_MetaInt::has_value() const {
|
---|
| 975 | return (_has_bits_[0] & 0x00000002u) != 0;
|
---|
| 976 | }
|
---|
| 977 | inline void ProMCHeader_MetaInt::set_has_value() {
|
---|
| 978 | _has_bits_[0] |= 0x00000002u;
|
---|
| 979 | }
|
---|
| 980 | inline void ProMCHeader_MetaInt::clear_has_value() {
|
---|
| 981 | _has_bits_[0] &= ~0x00000002u;
|
---|
| 982 | }
|
---|
| 983 | inline void ProMCHeader_MetaInt::clear_value() {
|
---|
| 984 | value_ = GOOGLE_LONGLONG(0);
|
---|
| 985 | clear_has_value();
|
---|
| 986 | }
|
---|
| 987 | inline ::google::protobuf::int64 ProMCHeader_MetaInt::value() const {
|
---|
| 988 | return value_;
|
---|
| 989 | }
|
---|
| 990 | inline void ProMCHeader_MetaInt::set_value(::google::protobuf::int64 value) {
|
---|
| 991 | set_has_value();
|
---|
| 992 | value_ = value;
|
---|
| 993 | }
|
---|
| 994 |
|
---|
| 995 | // -------------------------------------------------------------------
|
---|
| 996 |
|
---|
| 997 | // ProMCHeader_MetaFloat
|
---|
| 998 |
|
---|
| 999 | // required string key = 1;
|
---|
| 1000 | inline bool ProMCHeader_MetaFloat::has_key() const {
|
---|
| 1001 | return (_has_bits_[0] & 0x00000001u) != 0;
|
---|
| 1002 | }
|
---|
| 1003 | inline void ProMCHeader_MetaFloat::set_has_key() {
|
---|
| 1004 | _has_bits_[0] |= 0x00000001u;
|
---|
| 1005 | }
|
---|
| 1006 | inline void ProMCHeader_MetaFloat::clear_has_key() {
|
---|
| 1007 | _has_bits_[0] &= ~0x00000001u;
|
---|
| 1008 | }
|
---|
| 1009 | inline void ProMCHeader_MetaFloat::clear_key() {
|
---|
| 1010 | if (key_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 1011 | key_->clear();
|
---|
| 1012 | }
|
---|
| 1013 | clear_has_key();
|
---|
| 1014 | }
|
---|
| 1015 | inline const ::std::string& ProMCHeader_MetaFloat::key() const {
|
---|
| 1016 | return *key_;
|
---|
| 1017 | }
|
---|
| 1018 | inline void ProMCHeader_MetaFloat::set_key(const ::std::string& value) {
|
---|
| 1019 | set_has_key();
|
---|
| 1020 | if (key_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1021 | key_ = new ::std::string;
|
---|
| 1022 | }
|
---|
| 1023 | key_->assign(value);
|
---|
| 1024 | }
|
---|
| 1025 | inline void ProMCHeader_MetaFloat::set_key(const char* value) {
|
---|
| 1026 | set_has_key();
|
---|
| 1027 | if (key_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1028 | key_ = new ::std::string;
|
---|
| 1029 | }
|
---|
| 1030 | key_->assign(value);
|
---|
| 1031 | }
|
---|
| 1032 | inline void ProMCHeader_MetaFloat::set_key(const char* value, size_t size) {
|
---|
| 1033 | set_has_key();
|
---|
| 1034 | if (key_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1035 | key_ = new ::std::string;
|
---|
| 1036 | }
|
---|
| 1037 | key_->assign(reinterpret_cast<const char*>(value), size);
|
---|
| 1038 | }
|
---|
| 1039 | inline ::std::string* ProMCHeader_MetaFloat::mutable_key() {
|
---|
| 1040 | set_has_key();
|
---|
| 1041 | if (key_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1042 | key_ = new ::std::string;
|
---|
| 1043 | }
|
---|
| 1044 | return key_;
|
---|
| 1045 | }
|
---|
| 1046 | inline ::std::string* ProMCHeader_MetaFloat::release_key() {
|
---|
| 1047 | clear_has_key();
|
---|
| 1048 | if (key_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1049 | return NULL;
|
---|
| 1050 | } else {
|
---|
| 1051 | ::std::string* temp = key_;
|
---|
| 1052 | key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 1053 | return temp;
|
---|
| 1054 | }
|
---|
| 1055 | }
|
---|
| 1056 | inline void ProMCHeader_MetaFloat::set_allocated_key(::std::string* key) {
|
---|
| 1057 | if (key_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 1058 | delete key_;
|
---|
| 1059 | }
|
---|
| 1060 | if (key) {
|
---|
| 1061 | set_has_key();
|
---|
| 1062 | key_ = key;
|
---|
| 1063 | } else {
|
---|
| 1064 | clear_has_key();
|
---|
| 1065 | key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 1066 | }
|
---|
| 1067 | }
|
---|
| 1068 |
|
---|
| 1069 | // required double value = 2;
|
---|
| 1070 | inline bool ProMCHeader_MetaFloat::has_value() const {
|
---|
| 1071 | return (_has_bits_[0] & 0x00000002u) != 0;
|
---|
| 1072 | }
|
---|
| 1073 | inline void ProMCHeader_MetaFloat::set_has_value() {
|
---|
| 1074 | _has_bits_[0] |= 0x00000002u;
|
---|
| 1075 | }
|
---|
| 1076 | inline void ProMCHeader_MetaFloat::clear_has_value() {
|
---|
| 1077 | _has_bits_[0] &= ~0x00000002u;
|
---|
| 1078 | }
|
---|
| 1079 | inline void ProMCHeader_MetaFloat::clear_value() {
|
---|
| 1080 | value_ = 0;
|
---|
| 1081 | clear_has_value();
|
---|
| 1082 | }
|
---|
| 1083 | inline double ProMCHeader_MetaFloat::value() const {
|
---|
| 1084 | return value_;
|
---|
| 1085 | }
|
---|
| 1086 | inline void ProMCHeader_MetaFloat::set_value(double value) {
|
---|
| 1087 | set_has_value();
|
---|
| 1088 | value_ = value;
|
---|
| 1089 | }
|
---|
| 1090 |
|
---|
| 1091 | // -------------------------------------------------------------------
|
---|
| 1092 |
|
---|
| 1093 | // ProMCHeader
|
---|
| 1094 |
|
---|
| 1095 | // optional int32 id1 = 1;
|
---|
| 1096 | inline bool ProMCHeader::has_id1() const {
|
---|
| 1097 | return (_has_bits_[0] & 0x00000001u) != 0;
|
---|
| 1098 | }
|
---|
| 1099 | inline void ProMCHeader::set_has_id1() {
|
---|
| 1100 | _has_bits_[0] |= 0x00000001u;
|
---|
| 1101 | }
|
---|
| 1102 | inline void ProMCHeader::clear_has_id1() {
|
---|
| 1103 | _has_bits_[0] &= ~0x00000001u;
|
---|
| 1104 | }
|
---|
| 1105 | inline void ProMCHeader::clear_id1() {
|
---|
| 1106 | id1_ = 0;
|
---|
| 1107 | clear_has_id1();
|
---|
| 1108 | }
|
---|
| 1109 | inline ::google::protobuf::int32 ProMCHeader::id1() const {
|
---|
| 1110 | return id1_;
|
---|
| 1111 | }
|
---|
| 1112 | inline void ProMCHeader::set_id1(::google::protobuf::int32 value) {
|
---|
| 1113 | set_has_id1();
|
---|
| 1114 | id1_ = value;
|
---|
| 1115 | }
|
---|
| 1116 |
|
---|
| 1117 | // optional int32 id2 = 2;
|
---|
| 1118 | inline bool ProMCHeader::has_id2() const {
|
---|
| 1119 | return (_has_bits_[0] & 0x00000002u) != 0;
|
---|
| 1120 | }
|
---|
| 1121 | inline void ProMCHeader::set_has_id2() {
|
---|
| 1122 | _has_bits_[0] |= 0x00000002u;
|
---|
| 1123 | }
|
---|
| 1124 | inline void ProMCHeader::clear_has_id2() {
|
---|
| 1125 | _has_bits_[0] &= ~0x00000002u;
|
---|
| 1126 | }
|
---|
| 1127 | inline void ProMCHeader::clear_id2() {
|
---|
| 1128 | id2_ = 0;
|
---|
| 1129 | clear_has_id2();
|
---|
| 1130 | }
|
---|
| 1131 | inline ::google::protobuf::int32 ProMCHeader::id2() const {
|
---|
| 1132 | return id2_;
|
---|
| 1133 | }
|
---|
| 1134 | inline void ProMCHeader::set_id2(::google::protobuf::int32 value) {
|
---|
| 1135 | set_has_id2();
|
---|
| 1136 | id2_ = value;
|
---|
| 1137 | }
|
---|
| 1138 |
|
---|
| 1139 | // optional int32 pdf_id1 = 3;
|
---|
| 1140 | inline bool ProMCHeader::has_pdf_id1() const {
|
---|
| 1141 | return (_has_bits_[0] & 0x00000004u) != 0;
|
---|
| 1142 | }
|
---|
| 1143 | inline void ProMCHeader::set_has_pdf_id1() {
|
---|
| 1144 | _has_bits_[0] |= 0x00000004u;
|
---|
| 1145 | }
|
---|
| 1146 | inline void ProMCHeader::clear_has_pdf_id1() {
|
---|
| 1147 | _has_bits_[0] &= ~0x00000004u;
|
---|
| 1148 | }
|
---|
| 1149 | inline void ProMCHeader::clear_pdf_id1() {
|
---|
| 1150 | pdf_id1_ = 0;
|
---|
| 1151 | clear_has_pdf_id1();
|
---|
| 1152 | }
|
---|
| 1153 | inline ::google::protobuf::int32 ProMCHeader::pdf_id1() const {
|
---|
| 1154 | return pdf_id1_;
|
---|
| 1155 | }
|
---|
| 1156 | inline void ProMCHeader::set_pdf_id1(::google::protobuf::int32 value) {
|
---|
| 1157 | set_has_pdf_id1();
|
---|
| 1158 | pdf_id1_ = value;
|
---|
| 1159 | }
|
---|
| 1160 |
|
---|
| 1161 | // optional int32 pdf_id2 = 4;
|
---|
| 1162 | inline bool ProMCHeader::has_pdf_id2() const {
|
---|
| 1163 | return (_has_bits_[0] & 0x00000008u) != 0;
|
---|
| 1164 | }
|
---|
| 1165 | inline void ProMCHeader::set_has_pdf_id2() {
|
---|
| 1166 | _has_bits_[0] |= 0x00000008u;
|
---|
| 1167 | }
|
---|
| 1168 | inline void ProMCHeader::clear_has_pdf_id2() {
|
---|
| 1169 | _has_bits_[0] &= ~0x00000008u;
|
---|
| 1170 | }
|
---|
| 1171 | inline void ProMCHeader::clear_pdf_id2() {
|
---|
| 1172 | pdf_id2_ = 0;
|
---|
| 1173 | clear_has_pdf_id2();
|
---|
| 1174 | }
|
---|
| 1175 | inline ::google::protobuf::int32 ProMCHeader::pdf_id2() const {
|
---|
| 1176 | return pdf_id2_;
|
---|
| 1177 | }
|
---|
| 1178 | inline void ProMCHeader::set_pdf_id2(::google::protobuf::int32 value) {
|
---|
| 1179 | set_has_pdf_id2();
|
---|
| 1180 | pdf_id2_ = value;
|
---|
| 1181 | }
|
---|
| 1182 |
|
---|
| 1183 | // optional double x1 = 5;
|
---|
| 1184 | inline bool ProMCHeader::has_x1() const {
|
---|
| 1185 | return (_has_bits_[0] & 0x00000010u) != 0;
|
---|
| 1186 | }
|
---|
| 1187 | inline void ProMCHeader::set_has_x1() {
|
---|
| 1188 | _has_bits_[0] |= 0x00000010u;
|
---|
| 1189 | }
|
---|
| 1190 | inline void ProMCHeader::clear_has_x1() {
|
---|
| 1191 | _has_bits_[0] &= ~0x00000010u;
|
---|
| 1192 | }
|
---|
| 1193 | inline void ProMCHeader::clear_x1() {
|
---|
| 1194 | x1_ = 0;
|
---|
| 1195 | clear_has_x1();
|
---|
| 1196 | }
|
---|
| 1197 | inline double ProMCHeader::x1() const {
|
---|
| 1198 | return x1_;
|
---|
| 1199 | }
|
---|
| 1200 | inline void ProMCHeader::set_x1(double value) {
|
---|
| 1201 | set_has_x1();
|
---|
| 1202 | x1_ = value;
|
---|
| 1203 | }
|
---|
| 1204 |
|
---|
| 1205 | // optional double x2 = 6;
|
---|
| 1206 | inline bool ProMCHeader::has_x2() const {
|
---|
| 1207 | return (_has_bits_[0] & 0x00000020u) != 0;
|
---|
| 1208 | }
|
---|
| 1209 | inline void ProMCHeader::set_has_x2() {
|
---|
| 1210 | _has_bits_[0] |= 0x00000020u;
|
---|
| 1211 | }
|
---|
| 1212 | inline void ProMCHeader::clear_has_x2() {
|
---|
| 1213 | _has_bits_[0] &= ~0x00000020u;
|
---|
| 1214 | }
|
---|
| 1215 | inline void ProMCHeader::clear_x2() {
|
---|
| 1216 | x2_ = 0;
|
---|
| 1217 | clear_has_x2();
|
---|
| 1218 | }
|
---|
| 1219 | inline double ProMCHeader::x2() const {
|
---|
| 1220 | return x2_;
|
---|
| 1221 | }
|
---|
| 1222 | inline void ProMCHeader::set_x2(double value) {
|
---|
| 1223 | set_has_x2();
|
---|
| 1224 | x2_ = value;
|
---|
| 1225 | }
|
---|
| 1226 |
|
---|
| 1227 | // optional double scalepdf = 7;
|
---|
| 1228 | inline bool ProMCHeader::has_scalepdf() const {
|
---|
| 1229 | return (_has_bits_[0] & 0x00000040u) != 0;
|
---|
| 1230 | }
|
---|
| 1231 | inline void ProMCHeader::set_has_scalepdf() {
|
---|
| 1232 | _has_bits_[0] |= 0x00000040u;
|
---|
| 1233 | }
|
---|
| 1234 | inline void ProMCHeader::clear_has_scalepdf() {
|
---|
| 1235 | _has_bits_[0] &= ~0x00000040u;
|
---|
| 1236 | }
|
---|
| 1237 | inline void ProMCHeader::clear_scalepdf() {
|
---|
| 1238 | scalepdf_ = 0;
|
---|
| 1239 | clear_has_scalepdf();
|
---|
| 1240 | }
|
---|
| 1241 | inline double ProMCHeader::scalepdf() const {
|
---|
| 1242 | return scalepdf_;
|
---|
| 1243 | }
|
---|
| 1244 | inline void ProMCHeader::set_scalepdf(double value) {
|
---|
| 1245 | set_has_scalepdf();
|
---|
| 1246 | scalepdf_ = value;
|
---|
| 1247 | }
|
---|
| 1248 |
|
---|
| 1249 | // optional int32 pdf1 = 8;
|
---|
| 1250 | inline bool ProMCHeader::has_pdf1() const {
|
---|
| 1251 | return (_has_bits_[0] & 0x00000080u) != 0;
|
---|
| 1252 | }
|
---|
| 1253 | inline void ProMCHeader::set_has_pdf1() {
|
---|
| 1254 | _has_bits_[0] |= 0x00000080u;
|
---|
| 1255 | }
|
---|
| 1256 | inline void ProMCHeader::clear_has_pdf1() {
|
---|
| 1257 | _has_bits_[0] &= ~0x00000080u;
|
---|
| 1258 | }
|
---|
| 1259 | inline void ProMCHeader::clear_pdf1() {
|
---|
| 1260 | pdf1_ = 0;
|
---|
| 1261 | clear_has_pdf1();
|
---|
| 1262 | }
|
---|
| 1263 | inline ::google::protobuf::int32 ProMCHeader::pdf1() const {
|
---|
| 1264 | return pdf1_;
|
---|
| 1265 | }
|
---|
| 1266 | inline void ProMCHeader::set_pdf1(::google::protobuf::int32 value) {
|
---|
| 1267 | set_has_pdf1();
|
---|
| 1268 | pdf1_ = value;
|
---|
| 1269 | }
|
---|
| 1270 |
|
---|
| 1271 | // optional int32 pdf2 = 9;
|
---|
| 1272 | inline bool ProMCHeader::has_pdf2() const {
|
---|
| 1273 | return (_has_bits_[0] & 0x00000100u) != 0;
|
---|
| 1274 | }
|
---|
| 1275 | inline void ProMCHeader::set_has_pdf2() {
|
---|
| 1276 | _has_bits_[0] |= 0x00000100u;
|
---|
| 1277 | }
|
---|
| 1278 | inline void ProMCHeader::clear_has_pdf2() {
|
---|
| 1279 | _has_bits_[0] &= ~0x00000100u;
|
---|
| 1280 | }
|
---|
| 1281 | inline void ProMCHeader::clear_pdf2() {
|
---|
| 1282 | pdf2_ = 0;
|
---|
| 1283 | clear_has_pdf2();
|
---|
| 1284 | }
|
---|
| 1285 | inline ::google::protobuf::int32 ProMCHeader::pdf2() const {
|
---|
| 1286 | return pdf2_;
|
---|
| 1287 | }
|
---|
| 1288 | inline void ProMCHeader::set_pdf2(::google::protobuf::int32 value) {
|
---|
| 1289 | set_has_pdf2();
|
---|
| 1290 | pdf2_ = value;
|
---|
| 1291 | }
|
---|
| 1292 |
|
---|
| 1293 | // optional double eCM = 10;
|
---|
| 1294 | inline bool ProMCHeader::has_ecm() const {
|
---|
| 1295 | return (_has_bits_[0] & 0x00000200u) != 0;
|
---|
| 1296 | }
|
---|
| 1297 | inline void ProMCHeader::set_has_ecm() {
|
---|
| 1298 | _has_bits_[0] |= 0x00000200u;
|
---|
| 1299 | }
|
---|
| 1300 | inline void ProMCHeader::clear_has_ecm() {
|
---|
| 1301 | _has_bits_[0] &= ~0x00000200u;
|
---|
| 1302 | }
|
---|
| 1303 | inline void ProMCHeader::clear_ecm() {
|
---|
| 1304 | ecm_ = 0;
|
---|
| 1305 | clear_has_ecm();
|
---|
| 1306 | }
|
---|
| 1307 | inline double ProMCHeader::ecm() const {
|
---|
| 1308 | return ecm_;
|
---|
| 1309 | }
|
---|
| 1310 | inline void ProMCHeader::set_ecm(double value) {
|
---|
| 1311 | set_has_ecm();
|
---|
| 1312 | ecm_ = value;
|
---|
| 1313 | }
|
---|
| 1314 |
|
---|
| 1315 | // optional double s = 11;
|
---|
| 1316 | inline bool ProMCHeader::has_s() const {
|
---|
| 1317 | return (_has_bits_[0] & 0x00000400u) != 0;
|
---|
| 1318 | }
|
---|
| 1319 | inline void ProMCHeader::set_has_s() {
|
---|
| 1320 | _has_bits_[0] |= 0x00000400u;
|
---|
| 1321 | }
|
---|
| 1322 | inline void ProMCHeader::clear_has_s() {
|
---|
| 1323 | _has_bits_[0] &= ~0x00000400u;
|
---|
| 1324 | }
|
---|
| 1325 | inline void ProMCHeader::clear_s() {
|
---|
| 1326 | s_ = 0;
|
---|
| 1327 | clear_has_s();
|
---|
| 1328 | }
|
---|
| 1329 | inline double ProMCHeader::s() const {
|
---|
| 1330 | return s_;
|
---|
| 1331 | }
|
---|
| 1332 | inline void ProMCHeader::set_s(double value) {
|
---|
| 1333 | set_has_s();
|
---|
| 1334 | s_ = value;
|
---|
| 1335 | }
|
---|
| 1336 |
|
---|
| 1337 | // optional string name = 12;
|
---|
| 1338 | inline bool ProMCHeader::has_name() const {
|
---|
| 1339 | return (_has_bits_[0] & 0x00000800u) != 0;
|
---|
| 1340 | }
|
---|
| 1341 | inline void ProMCHeader::set_has_name() {
|
---|
| 1342 | _has_bits_[0] |= 0x00000800u;
|
---|
| 1343 | }
|
---|
| 1344 | inline void ProMCHeader::clear_has_name() {
|
---|
| 1345 | _has_bits_[0] &= ~0x00000800u;
|
---|
| 1346 | }
|
---|
| 1347 | inline void ProMCHeader::clear_name() {
|
---|
| 1348 | if (name_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 1349 | name_->clear();
|
---|
| 1350 | }
|
---|
| 1351 | clear_has_name();
|
---|
| 1352 | }
|
---|
| 1353 | inline const ::std::string& ProMCHeader::name() const {
|
---|
| 1354 | return *name_;
|
---|
| 1355 | }
|
---|
| 1356 | inline void ProMCHeader::set_name(const ::std::string& value) {
|
---|
| 1357 | set_has_name();
|
---|
| 1358 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1359 | name_ = new ::std::string;
|
---|
| 1360 | }
|
---|
| 1361 | name_->assign(value);
|
---|
| 1362 | }
|
---|
| 1363 | inline void ProMCHeader::set_name(const char* value) {
|
---|
| 1364 | set_has_name();
|
---|
| 1365 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1366 | name_ = new ::std::string;
|
---|
| 1367 | }
|
---|
| 1368 | name_->assign(value);
|
---|
| 1369 | }
|
---|
| 1370 | inline void ProMCHeader::set_name(const char* value, size_t size) {
|
---|
| 1371 | set_has_name();
|
---|
| 1372 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1373 | name_ = new ::std::string;
|
---|
| 1374 | }
|
---|
| 1375 | name_->assign(reinterpret_cast<const char*>(value), size);
|
---|
| 1376 | }
|
---|
| 1377 | inline ::std::string* ProMCHeader::mutable_name() {
|
---|
| 1378 | set_has_name();
|
---|
| 1379 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1380 | name_ = new ::std::string;
|
---|
| 1381 | }
|
---|
| 1382 | return name_;
|
---|
| 1383 | }
|
---|
| 1384 | inline ::std::string* ProMCHeader::release_name() {
|
---|
| 1385 | clear_has_name();
|
---|
| 1386 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1387 | return NULL;
|
---|
| 1388 | } else {
|
---|
| 1389 | ::std::string* temp = name_;
|
---|
| 1390 | name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 1391 | return temp;
|
---|
| 1392 | }
|
---|
| 1393 | }
|
---|
| 1394 | inline void ProMCHeader::set_allocated_name(::std::string* name) {
|
---|
| 1395 | if (name_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 1396 | delete name_;
|
---|
| 1397 | }
|
---|
| 1398 | if (name) {
|
---|
| 1399 | set_has_name();
|
---|
| 1400 | name_ = name;
|
---|
| 1401 | } else {
|
---|
| 1402 | clear_has_name();
|
---|
| 1403 | name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 1404 | }
|
---|
| 1405 | }
|
---|
| 1406 |
|
---|
| 1407 | // optional int32 code = 13;
|
---|
| 1408 | inline bool ProMCHeader::has_code() const {
|
---|
| 1409 | return (_has_bits_[0] & 0x00001000u) != 0;
|
---|
| 1410 | }
|
---|
| 1411 | inline void ProMCHeader::set_has_code() {
|
---|
| 1412 | _has_bits_[0] |= 0x00001000u;
|
---|
| 1413 | }
|
---|
| 1414 | inline void ProMCHeader::clear_has_code() {
|
---|
| 1415 | _has_bits_[0] &= ~0x00001000u;
|
---|
| 1416 | }
|
---|
| 1417 | inline void ProMCHeader::clear_code() {
|
---|
| 1418 | code_ = 0;
|
---|
| 1419 | clear_has_code();
|
---|
| 1420 | }
|
---|
| 1421 | inline ::google::protobuf::int32 ProMCHeader::code() const {
|
---|
| 1422 | return code_;
|
---|
| 1423 | }
|
---|
| 1424 | inline void ProMCHeader::set_code(::google::protobuf::int32 value) {
|
---|
| 1425 | set_has_code();
|
---|
| 1426 | code_ = value;
|
---|
| 1427 | }
|
---|
| 1428 |
|
---|
| 1429 | // optional double cross_section = 14;
|
---|
| 1430 | inline bool ProMCHeader::has_cross_section() const {
|
---|
| 1431 | return (_has_bits_[0] & 0x00002000u) != 0;
|
---|
| 1432 | }
|
---|
| 1433 | inline void ProMCHeader::set_has_cross_section() {
|
---|
| 1434 | _has_bits_[0] |= 0x00002000u;
|
---|
| 1435 | }
|
---|
| 1436 | inline void ProMCHeader::clear_has_cross_section() {
|
---|
| 1437 | _has_bits_[0] &= ~0x00002000u;
|
---|
| 1438 | }
|
---|
| 1439 | inline void ProMCHeader::clear_cross_section() {
|
---|
| 1440 | cross_section_ = 0;
|
---|
| 1441 | clear_has_cross_section();
|
---|
| 1442 | }
|
---|
| 1443 | inline double ProMCHeader::cross_section() const {
|
---|
| 1444 | return cross_section_;
|
---|
| 1445 | }
|
---|
| 1446 | inline void ProMCHeader::set_cross_section(double value) {
|
---|
| 1447 | set_has_cross_section();
|
---|
| 1448 | cross_section_ = value;
|
---|
| 1449 | }
|
---|
| 1450 |
|
---|
| 1451 | // optional double cross_section_error = 15;
|
---|
| 1452 | inline bool ProMCHeader::has_cross_section_error() const {
|
---|
| 1453 | return (_has_bits_[0] & 0x00004000u) != 0;
|
---|
| 1454 | }
|
---|
| 1455 | inline void ProMCHeader::set_has_cross_section_error() {
|
---|
| 1456 | _has_bits_[0] |= 0x00004000u;
|
---|
| 1457 | }
|
---|
| 1458 | inline void ProMCHeader::clear_has_cross_section_error() {
|
---|
| 1459 | _has_bits_[0] &= ~0x00004000u;
|
---|
| 1460 | }
|
---|
| 1461 | inline void ProMCHeader::clear_cross_section_error() {
|
---|
| 1462 | cross_section_error_ = 0;
|
---|
| 1463 | clear_has_cross_section_error();
|
---|
| 1464 | }
|
---|
| 1465 | inline double ProMCHeader::cross_section_error() const {
|
---|
| 1466 | return cross_section_error_;
|
---|
| 1467 | }
|
---|
| 1468 | inline void ProMCHeader::set_cross_section_error(double value) {
|
---|
| 1469 | set_has_cross_section_error();
|
---|
| 1470 | cross_section_error_ = value;
|
---|
| 1471 | }
|
---|
| 1472 |
|
---|
| 1473 | // optional int32 MomentumUnit = 16;
|
---|
| 1474 | inline bool ProMCHeader::has_momentumunit() const {
|
---|
| 1475 | return (_has_bits_[0] & 0x00008000u) != 0;
|
---|
| 1476 | }
|
---|
| 1477 | inline void ProMCHeader::set_has_momentumunit() {
|
---|
| 1478 | _has_bits_[0] |= 0x00008000u;
|
---|
| 1479 | }
|
---|
| 1480 | inline void ProMCHeader::clear_has_momentumunit() {
|
---|
| 1481 | _has_bits_[0] &= ~0x00008000u;
|
---|
| 1482 | }
|
---|
| 1483 | inline void ProMCHeader::clear_momentumunit() {
|
---|
| 1484 | momentumunit_ = 0;
|
---|
| 1485 | clear_has_momentumunit();
|
---|
| 1486 | }
|
---|
| 1487 | inline ::google::protobuf::int32 ProMCHeader::momentumunit() const {
|
---|
| 1488 | return momentumunit_;
|
---|
| 1489 | }
|
---|
| 1490 | inline void ProMCHeader::set_momentumunit(::google::protobuf::int32 value) {
|
---|
| 1491 | set_has_momentumunit();
|
---|
| 1492 | momentumunit_ = value;
|
---|
| 1493 | }
|
---|
| 1494 |
|
---|
| 1495 | // optional int32 LengthUnit = 17;
|
---|
| 1496 | inline bool ProMCHeader::has_lengthunit() const {
|
---|
| 1497 | return (_has_bits_[0] & 0x00010000u) != 0;
|
---|
| 1498 | }
|
---|
| 1499 | inline void ProMCHeader::set_has_lengthunit() {
|
---|
| 1500 | _has_bits_[0] |= 0x00010000u;
|
---|
| 1501 | }
|
---|
| 1502 | inline void ProMCHeader::clear_has_lengthunit() {
|
---|
| 1503 | _has_bits_[0] &= ~0x00010000u;
|
---|
| 1504 | }
|
---|
| 1505 | inline void ProMCHeader::clear_lengthunit() {
|
---|
| 1506 | lengthunit_ = 0;
|
---|
| 1507 | clear_has_lengthunit();
|
---|
| 1508 | }
|
---|
| 1509 | inline ::google::protobuf::int32 ProMCHeader::lengthunit() const {
|
---|
| 1510 | return lengthunit_;
|
---|
| 1511 | }
|
---|
| 1512 | inline void ProMCHeader::set_lengthunit(::google::protobuf::int32 value) {
|
---|
| 1513 | set_has_lengthunit();
|
---|
| 1514 | lengthunit_ = value;
|
---|
| 1515 | }
|
---|
| 1516 |
|
---|
| 1517 | // optional string NameMomentumUnit = 18;
|
---|
| 1518 | inline bool ProMCHeader::has_namemomentumunit() const {
|
---|
| 1519 | return (_has_bits_[0] & 0x00020000u) != 0;
|
---|
| 1520 | }
|
---|
| 1521 | inline void ProMCHeader::set_has_namemomentumunit() {
|
---|
| 1522 | _has_bits_[0] |= 0x00020000u;
|
---|
| 1523 | }
|
---|
| 1524 | inline void ProMCHeader::clear_has_namemomentumunit() {
|
---|
| 1525 | _has_bits_[0] &= ~0x00020000u;
|
---|
| 1526 | }
|
---|
| 1527 | inline void ProMCHeader::clear_namemomentumunit() {
|
---|
| 1528 | if (namemomentumunit_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 1529 | namemomentumunit_->clear();
|
---|
| 1530 | }
|
---|
| 1531 | clear_has_namemomentumunit();
|
---|
| 1532 | }
|
---|
| 1533 | inline const ::std::string& ProMCHeader::namemomentumunit() const {
|
---|
| 1534 | return *namemomentumunit_;
|
---|
| 1535 | }
|
---|
| 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;
|
---|
| 1540 | }
|
---|
| 1541 | namemomentumunit_->assign(value);
|
---|
| 1542 | }
|
---|
| 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;
|
---|
| 1547 | }
|
---|
| 1548 | namemomentumunit_->assign(value);
|
---|
| 1549 | }
|
---|
| 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;
|
---|
| 1554 | }
|
---|
| 1555 | namemomentumunit_->assign(reinterpret_cast<const char*>(value), size);
|
---|
| 1556 | }
|
---|
| 1557 | inline ::std::string* ProMCHeader::mutable_namemomentumunit() {
|
---|
| 1558 | set_has_namemomentumunit();
|
---|
| 1559 | if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1560 | namemomentumunit_ = new ::std::string;
|
---|
| 1561 | }
|
---|
| 1562 | return namemomentumunit_;
|
---|
| 1563 | }
|
---|
| 1564 | inline ::std::string* ProMCHeader::release_namemomentumunit() {
|
---|
| 1565 | clear_has_namemomentumunit();
|
---|
| 1566 | if (namemomentumunit_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1567 | return NULL;
|
---|
| 1568 | } else {
|
---|
| 1569 | ::std::string* temp = namemomentumunit_;
|
---|
| 1570 | namemomentumunit_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 1571 | return temp;
|
---|
| 1572 | }
|
---|
| 1573 | }
|
---|
| 1574 | inline void ProMCHeader::set_allocated_namemomentumunit(::std::string* namemomentumunit) {
|
---|
| 1575 | if (namemomentumunit_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 1576 | delete namemomentumunit_;
|
---|
| 1577 | }
|
---|
| 1578 | if (namemomentumunit) {
|
---|
| 1579 | set_has_namemomentumunit();
|
---|
| 1580 | namemomentumunit_ = namemomentumunit;
|
---|
| 1581 | } else {
|
---|
| 1582 | clear_has_namemomentumunit();
|
---|
| 1583 | namemomentumunit_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 1584 | }
|
---|
| 1585 | }
|
---|
| 1586 |
|
---|
| 1587 | // optional string NameLengthUnit = 19;
|
---|
| 1588 | inline bool ProMCHeader::has_namelengthunit() const {
|
---|
| 1589 | return (_has_bits_[0] & 0x00040000u) != 0;
|
---|
| 1590 | }
|
---|
| 1591 | inline void ProMCHeader::set_has_namelengthunit() {
|
---|
| 1592 | _has_bits_[0] |= 0x00040000u;
|
---|
| 1593 | }
|
---|
| 1594 | inline void ProMCHeader::clear_has_namelengthunit() {
|
---|
| 1595 | _has_bits_[0] &= ~0x00040000u;
|
---|
| 1596 | }
|
---|
| 1597 | inline void ProMCHeader::clear_namelengthunit() {
|
---|
| 1598 | if (namelengthunit_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 1599 | namelengthunit_->clear();
|
---|
| 1600 | }
|
---|
| 1601 | clear_has_namelengthunit();
|
---|
| 1602 | }
|
---|
| 1603 | inline const ::std::string& ProMCHeader::namelengthunit() const {
|
---|
| 1604 | return *namelengthunit_;
|
---|
| 1605 | }
|
---|
| 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;
|
---|
| 1610 | }
|
---|
| 1611 | namelengthunit_->assign(value);
|
---|
| 1612 | }
|
---|
| 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;
|
---|
| 1617 | }
|
---|
| 1618 | namelengthunit_->assign(value);
|
---|
| 1619 | }
|
---|
| 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;
|
---|
| 1624 | }
|
---|
| 1625 | namelengthunit_->assign(reinterpret_cast<const char*>(value), size);
|
---|
| 1626 | }
|
---|
| 1627 | inline ::std::string* ProMCHeader::mutable_namelengthunit() {
|
---|
| 1628 | set_has_namelengthunit();
|
---|
| 1629 | if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1630 | namelengthunit_ = new ::std::string;
|
---|
| 1631 | }
|
---|
| 1632 | return namelengthunit_;
|
---|
| 1633 | }
|
---|
| 1634 | inline ::std::string* ProMCHeader::release_namelengthunit() {
|
---|
| 1635 | clear_has_namelengthunit();
|
---|
| 1636 | if (namelengthunit_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 1637 | return NULL;
|
---|
| 1638 | } else {
|
---|
| 1639 | ::std::string* temp = namelengthunit_;
|
---|
| 1640 | namelengthunit_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 1641 | return temp;
|
---|
| 1642 | }
|
---|
| 1643 | }
|
---|
| 1644 | inline void ProMCHeader::set_allocated_namelengthunit(::std::string* namelengthunit) {
|
---|
| 1645 | if (namelengthunit_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 1646 | delete namelengthunit_;
|
---|
| 1647 | }
|
---|
| 1648 | if (namelengthunit) {
|
---|
| 1649 | set_has_namelengthunit();
|
---|
| 1650 | namelengthunit_ = namelengthunit;
|
---|
| 1651 | } else {
|
---|
| 1652 | clear_has_namelengthunit();
|
---|
| 1653 | namelengthunit_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 1654 | }
|
---|
| 1655 | }
|
---|
| 1656 |
|
---|
| 1657 | // optional double weight = 20;
|
---|
| 1658 | inline bool ProMCHeader::has_weight() const {
|
---|
| 1659 | return (_has_bits_[0] & 0x00080000u) != 0;
|
---|
| 1660 | }
|
---|
| 1661 | inline void ProMCHeader::set_has_weight() {
|
---|
| 1662 | _has_bits_[0] |= 0x00080000u;
|
---|
| 1663 | }
|
---|
| 1664 | inline void ProMCHeader::clear_has_weight() {
|
---|
| 1665 | _has_bits_[0] &= ~0x00080000u;
|
---|
| 1666 | }
|
---|
| 1667 | inline void ProMCHeader::clear_weight() {
|
---|
| 1668 | weight_ = 0;
|
---|
| 1669 | clear_has_weight();
|
---|
| 1670 | }
|
---|
| 1671 | inline double ProMCHeader::weight() const {
|
---|
| 1672 | return weight_;
|
---|
| 1673 | }
|
---|
| 1674 | inline void ProMCHeader::set_weight(double value) {
|
---|
| 1675 | set_has_weight();
|
---|
| 1676 | weight_ = value;
|
---|
| 1677 | }
|
---|
| 1678 |
|
---|
| 1679 | // optional double requested_events = 21;
|
---|
| 1680 | inline bool ProMCHeader::has_requested_events() const {
|
---|
| 1681 | return (_has_bits_[0] & 0x00100000u) != 0;
|
---|
| 1682 | }
|
---|
| 1683 | inline void ProMCHeader::set_has_requested_events() {
|
---|
| 1684 | _has_bits_[0] |= 0x00100000u;
|
---|
| 1685 | }
|
---|
| 1686 | inline void ProMCHeader::clear_has_requested_events() {
|
---|
| 1687 | _has_bits_[0] &= ~0x00100000u;
|
---|
| 1688 | }
|
---|
| 1689 | inline void ProMCHeader::clear_requested_events() {
|
---|
| 1690 | requested_events_ = 0;
|
---|
| 1691 | clear_has_requested_events();
|
---|
| 1692 | }
|
---|
| 1693 | inline double ProMCHeader::requested_events() const {
|
---|
| 1694 | return requested_events_;
|
---|
| 1695 | }
|
---|
| 1696 | inline void ProMCHeader::set_requested_events(double value) {
|
---|
| 1697 | set_has_requested_events();
|
---|
| 1698 | requested_events_ = value;
|
---|
| 1699 | }
|
---|
| 1700 |
|
---|
| 1701 | // repeated .promc.ProMCHeader.ParticleData particleData = 30;
|
---|
| 1702 | inline int ProMCHeader::particledata_size() const {
|
---|
| 1703 | return particledata_.size();
|
---|
| 1704 | }
|
---|
| 1705 | inline void ProMCHeader::clear_particledata() {
|
---|
| 1706 | particledata_.Clear();
|
---|
| 1707 | }
|
---|
| 1708 | inline const ::promc::ProMCHeader_ParticleData& ProMCHeader::particledata(int index) const {
|
---|
| 1709 | return particledata_.Get(index);
|
---|
| 1710 | }
|
---|
| 1711 | inline ::promc::ProMCHeader_ParticleData* ProMCHeader::mutable_particledata(int index) {
|
---|
| 1712 | return particledata_.Mutable(index);
|
---|
| 1713 | }
|
---|
| 1714 | inline ::promc::ProMCHeader_ParticleData* ProMCHeader::add_particledata() {
|
---|
| 1715 | return particledata_.Add();
|
---|
| 1716 | }
|
---|
| 1717 | inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData >&
|
---|
| 1718 | ProMCHeader::particledata() const {
|
---|
| 1719 | return particledata_;
|
---|
| 1720 | }
|
---|
| 1721 | inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_ParticleData >*
|
---|
| 1722 | ProMCHeader::mutable_particledata() {
|
---|
| 1723 | return &particledata_;
|
---|
| 1724 | }
|
---|
| 1725 |
|
---|
| 1726 | // repeated .promc.ProMCHeader.MetaInt metaInt = 31;
|
---|
| 1727 | inline int ProMCHeader::metaint_size() const {
|
---|
| 1728 | return metaint_.size();
|
---|
| 1729 | }
|
---|
| 1730 | inline void ProMCHeader::clear_metaint() {
|
---|
| 1731 | metaint_.Clear();
|
---|
| 1732 | }
|
---|
| 1733 | inline const ::promc::ProMCHeader_MetaInt& ProMCHeader::metaint(int index) const {
|
---|
| 1734 | return metaint_.Get(index);
|
---|
| 1735 | }
|
---|
| 1736 | inline ::promc::ProMCHeader_MetaInt* ProMCHeader::mutable_metaint(int index) {
|
---|
| 1737 | return metaint_.Mutable(index);
|
---|
| 1738 | }
|
---|
| 1739 | inline ::promc::ProMCHeader_MetaInt* ProMCHeader::add_metaint() {
|
---|
| 1740 | return metaint_.Add();
|
---|
| 1741 | }
|
---|
| 1742 | inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >&
|
---|
| 1743 | ProMCHeader::metaint() const {
|
---|
| 1744 | return metaint_;
|
---|
| 1745 | }
|
---|
| 1746 | inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaInt >*
|
---|
| 1747 | ProMCHeader::mutable_metaint() {
|
---|
| 1748 | return &metaint_;
|
---|
| 1749 | }
|
---|
| 1750 |
|
---|
| 1751 | // repeated .promc.ProMCHeader.MetaFloat metaFloat = 32;
|
---|
| 1752 | inline int ProMCHeader::metafloat_size() const {
|
---|
| 1753 | return metafloat_.size();
|
---|
| 1754 | }
|
---|
| 1755 | inline void ProMCHeader::clear_metafloat() {
|
---|
| 1756 | metafloat_.Clear();
|
---|
| 1757 | }
|
---|
| 1758 | inline const ::promc::ProMCHeader_MetaFloat& ProMCHeader::metafloat(int index) const {
|
---|
| 1759 | return metafloat_.Get(index);
|
---|
| 1760 | }
|
---|
| 1761 | inline ::promc::ProMCHeader_MetaFloat* ProMCHeader::mutable_metafloat(int index) {
|
---|
| 1762 | return metafloat_.Mutable(index);
|
---|
| 1763 | }
|
---|
| 1764 | inline ::promc::ProMCHeader_MetaFloat* ProMCHeader::add_metafloat() {
|
---|
| 1765 | return metafloat_.Add();
|
---|
| 1766 | }
|
---|
| 1767 | inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >&
|
---|
| 1768 | ProMCHeader::metafloat() const {
|
---|
| 1769 | return metafloat_;
|
---|
| 1770 | }
|
---|
| 1771 | inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCHeader_MetaFloat >*
|
---|
| 1772 | ProMCHeader::mutable_metafloat() {
|
---|
| 1773 | return &metafloat_;
|
---|
| 1774 | }
|
---|
| 1775 |
|
---|
| 1776 |
|
---|
| 1777 | // @@protoc_insertion_point(namespace_scope)
|
---|
| 1778 |
|
---|
| 1779 | } // namespace promc
|
---|
| 1780 |
|
---|
| 1781 | #ifndef SWIG
|
---|
| 1782 | namespace google {
|
---|
| 1783 | namespace protobuf {
|
---|
| 1784 |
|
---|
| 1785 |
|
---|
| 1786 | } // namespace google
|
---|
| 1787 | } // namespace protobuf
|
---|
| 1788 | #endif // SWIG
|
---|
| 1789 |
|
---|
| 1790 | // @@protoc_insertion_point(global_scope)
|
---|
| 1791 |
|
---|
| 1792 | #endif // PROTOBUF_ProMCHeader_2eproto__INCLUDED
|
---|