[1173] | 1 | // Generated by the protocol buffer compiler. DO NOT EDIT!
|
---|
| 2 | // source: ProMCStat.proto
|
---|
| 3 |
|
---|
| 4 | #ifndef PROTOBUF_ProMCStat_2eproto__INCLUDED
|
---|
| 5 | #define PROTOBUF_ProMCStat_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_ProMCStat_2eproto();
|
---|
| 33 | void protobuf_AssignDesc_ProMCStat_2eproto();
|
---|
| 34 | void protobuf_ShutdownFile_ProMCStat_2eproto();
|
---|
| 35 |
|
---|
| 36 | class ProMCStat;
|
---|
| 37 | class ProMCStat_ProcessData;
|
---|
| 38 |
|
---|
| 39 | // ===================================================================
|
---|
| 40 |
|
---|
| 41 | class ProMCStat_ProcessData : public ::google::protobuf::Message {
|
---|
| 42 | public:
|
---|
| 43 | ProMCStat_ProcessData();
|
---|
| 44 | virtual ~ProMCStat_ProcessData();
|
---|
| 45 |
|
---|
| 46 | ProMCStat_ProcessData(const ProMCStat_ProcessData& from);
|
---|
| 47 |
|
---|
| 48 | inline ProMCStat_ProcessData& operator=(const ProMCStat_ProcessData& from) {
|
---|
| 49 | CopyFrom(from);
|
---|
| 50 | return *this;
|
---|
| 51 | }
|
---|
| 52 |
|
---|
| 53 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
---|
| 54 | return _unknown_fields_;
|
---|
| 55 | }
|
---|
| 56 |
|
---|
| 57 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
---|
| 58 | return &_unknown_fields_;
|
---|
| 59 | }
|
---|
| 60 |
|
---|
| 61 | static const ::google::protobuf::Descriptor* descriptor();
|
---|
| 62 | static const ProMCStat_ProcessData& default_instance();
|
---|
| 63 |
|
---|
| 64 | void Swap(ProMCStat_ProcessData* other);
|
---|
| 65 |
|
---|
| 66 | // implements Message ----------------------------------------------
|
---|
| 67 |
|
---|
| 68 | ProMCStat_ProcessData* New() const;
|
---|
| 69 | void CopyFrom(const ::google::protobuf::Message& from);
|
---|
| 70 | void MergeFrom(const ::google::protobuf::Message& from);
|
---|
| 71 | void CopyFrom(const ProMCStat_ProcessData& from);
|
---|
| 72 | void MergeFrom(const ProMCStat_ProcessData& from);
|
---|
| 73 | void Clear();
|
---|
| 74 | bool IsInitialized() const;
|
---|
| 75 |
|
---|
| 76 | int ByteSize() const;
|
---|
| 77 | bool MergePartialFromCodedStream(
|
---|
| 78 | ::google::protobuf::io::CodedInputStream* input);
|
---|
| 79 | void SerializeWithCachedSizes(
|
---|
| 80 | ::google::protobuf::io::CodedOutputStream* output) const;
|
---|
| 81 | ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
---|
| 82 | int GetCachedSize() const { return _cached_size_; }
|
---|
| 83 | private:
|
---|
| 84 | void SharedCtor();
|
---|
| 85 | void SharedDtor();
|
---|
| 86 | void SetCachedSize(int size) const;
|
---|
| 87 | public:
|
---|
| 88 |
|
---|
| 89 | ::google::protobuf::Metadata GetMetadata() const;
|
---|
| 90 |
|
---|
| 91 | // nested types ----------------------------------------------------
|
---|
| 92 |
|
---|
| 93 | // accessors -------------------------------------------------------
|
---|
| 94 |
|
---|
| 95 | // required sint32 id = 1;
|
---|
| 96 | inline bool has_id() const;
|
---|
| 97 | inline void clear_id();
|
---|
| 98 | static const int kIdFieldNumber = 1;
|
---|
| 99 | inline ::google::protobuf::int32 id() const;
|
---|
| 100 | inline void set_id(::google::protobuf::int32 value);
|
---|
| 101 |
|
---|
| 102 | // required double cross_section = 2;
|
---|
| 103 | inline bool has_cross_section() const;
|
---|
| 104 | inline void clear_cross_section();
|
---|
| 105 | static const int kCrossSectionFieldNumber = 2;
|
---|
| 106 | inline double cross_section() const;
|
---|
| 107 | inline void set_cross_section(double value);
|
---|
| 108 |
|
---|
| 109 | // required double cross_section_error = 3;
|
---|
| 110 | inline bool has_cross_section_error() const;
|
---|
| 111 | inline void clear_cross_section_error();
|
---|
| 112 | static const int kCrossSectionErrorFieldNumber = 3;
|
---|
| 113 | inline double cross_section_error() const;
|
---|
| 114 | inline void set_cross_section_error(double value);
|
---|
| 115 |
|
---|
| 116 | // required string name = 4;
|
---|
| 117 | inline bool has_name() const;
|
---|
| 118 | inline void clear_name();
|
---|
| 119 | static const int kNameFieldNumber = 4;
|
---|
| 120 | inline const ::std::string& name() const;
|
---|
| 121 | inline void set_name(const ::std::string& value);
|
---|
| 122 | inline void set_name(const char* value);
|
---|
| 123 | inline void set_name(const char* value, size_t size);
|
---|
| 124 | inline ::std::string* mutable_name();
|
---|
| 125 | inline ::std::string* release_name();
|
---|
| 126 | inline void set_allocated_name(::std::string* name);
|
---|
| 127 |
|
---|
| 128 | // @@protoc_insertion_point(class_scope:promc.ProMCStat.ProcessData)
|
---|
| 129 | private:
|
---|
| 130 | inline void set_has_id();
|
---|
| 131 | inline void clear_has_id();
|
---|
| 132 | inline void set_has_cross_section();
|
---|
| 133 | inline void clear_has_cross_section();
|
---|
| 134 | inline void set_has_cross_section_error();
|
---|
| 135 | inline void clear_has_cross_section_error();
|
---|
| 136 | inline void set_has_name();
|
---|
| 137 | inline void clear_has_name();
|
---|
| 138 |
|
---|
| 139 | ::google::protobuf::UnknownFieldSet _unknown_fields_;
|
---|
| 140 |
|
---|
| 141 | double cross_section_;
|
---|
| 142 | double cross_section_error_;
|
---|
| 143 | ::std::string* name_;
|
---|
| 144 | ::google::protobuf::int32 id_;
|
---|
| 145 |
|
---|
| 146 | mutable int _cached_size_;
|
---|
| 147 | ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
|
---|
| 148 |
|
---|
| 149 | friend void protobuf_AddDesc_ProMCStat_2eproto();
|
---|
| 150 | friend void protobuf_AssignDesc_ProMCStat_2eproto();
|
---|
| 151 | friend void protobuf_ShutdownFile_ProMCStat_2eproto();
|
---|
| 152 |
|
---|
| 153 | void InitAsDefaultInstance();
|
---|
| 154 | static ProMCStat_ProcessData* default_instance_;
|
---|
| 155 | };
|
---|
| 156 | // -------------------------------------------------------------------
|
---|
| 157 |
|
---|
| 158 | class ProMCStat : public ::google::protobuf::Message {
|
---|
| 159 | public:
|
---|
| 160 | ProMCStat();
|
---|
| 161 | virtual ~ProMCStat();
|
---|
| 162 |
|
---|
| 163 | ProMCStat(const ProMCStat& from);
|
---|
| 164 |
|
---|
| 165 | inline ProMCStat& operator=(const ProMCStat& from) {
|
---|
| 166 | CopyFrom(from);
|
---|
| 167 | return *this;
|
---|
| 168 | }
|
---|
| 169 |
|
---|
| 170 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
---|
| 171 | return _unknown_fields_;
|
---|
| 172 | }
|
---|
| 173 |
|
---|
| 174 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
---|
| 175 | return &_unknown_fields_;
|
---|
| 176 | }
|
---|
| 177 |
|
---|
| 178 | static const ::google::protobuf::Descriptor* descriptor();
|
---|
| 179 | static const ProMCStat& default_instance();
|
---|
| 180 |
|
---|
| 181 | void Swap(ProMCStat* other);
|
---|
| 182 |
|
---|
| 183 | // implements Message ----------------------------------------------
|
---|
| 184 |
|
---|
| 185 | ProMCStat* New() const;
|
---|
| 186 | void CopyFrom(const ::google::protobuf::Message& from);
|
---|
| 187 | void MergeFrom(const ::google::protobuf::Message& from);
|
---|
| 188 | void CopyFrom(const ProMCStat& from);
|
---|
| 189 | void MergeFrom(const ProMCStat& from);
|
---|
| 190 | void Clear();
|
---|
| 191 | bool IsInitialized() const;
|
---|
| 192 |
|
---|
| 193 | int ByteSize() const;
|
---|
| 194 | bool MergePartialFromCodedStream(
|
---|
| 195 | ::google::protobuf::io::CodedInputStream* input);
|
---|
| 196 | void SerializeWithCachedSizes(
|
---|
| 197 | ::google::protobuf::io::CodedOutputStream* output) const;
|
---|
| 198 | ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
---|
| 199 | int GetCachedSize() const { return _cached_size_; }
|
---|
| 200 | private:
|
---|
| 201 | void SharedCtor();
|
---|
| 202 | void SharedDtor();
|
---|
| 203 | void SetCachedSize(int size) const;
|
---|
| 204 | public:
|
---|
| 205 |
|
---|
| 206 | ::google::protobuf::Metadata GetMetadata() const;
|
---|
| 207 |
|
---|
| 208 | // nested types ----------------------------------------------------
|
---|
| 209 |
|
---|
| 210 | typedef ProMCStat_ProcessData ProcessData;
|
---|
| 211 |
|
---|
| 212 | // accessors -------------------------------------------------------
|
---|
| 213 |
|
---|
| 214 | // optional int32 nevents_requested = 1;
|
---|
| 215 | inline bool has_nevents_requested() const;
|
---|
| 216 | inline void clear_nevents_requested();
|
---|
| 217 | static const int kNeventsRequestedFieldNumber = 1;
|
---|
| 218 | inline ::google::protobuf::int32 nevents_requested() const;
|
---|
| 219 | inline void set_nevents_requested(::google::protobuf::int32 value);
|
---|
| 220 |
|
---|
| 221 | // optional int32 nevents_failed = 2;
|
---|
| 222 | inline bool has_nevents_failed() const;
|
---|
| 223 | inline void clear_nevents_failed();
|
---|
| 224 | static const int kNeventsFailedFieldNumber = 2;
|
---|
| 225 | inline ::google::protobuf::int32 nevents_failed() const;
|
---|
| 226 | inline void set_nevents_failed(::google::protobuf::int32 value);
|
---|
| 227 |
|
---|
| 228 | // optional double cross_section_accumulated = 3;
|
---|
| 229 | inline bool has_cross_section_accumulated() const;
|
---|
| 230 | inline void clear_cross_section_accumulated();
|
---|
| 231 | static const int kCrossSectionAccumulatedFieldNumber = 3;
|
---|
| 232 | inline double cross_section_accumulated() const;
|
---|
| 233 | inline void set_cross_section_accumulated(double value);
|
---|
| 234 |
|
---|
| 235 | // optional double cross_section_error_accumulated = 4;
|
---|
| 236 | inline bool has_cross_section_error_accumulated() const;
|
---|
| 237 | inline void clear_cross_section_error_accumulated();
|
---|
| 238 | static const int kCrossSectionErrorAccumulatedFieldNumber = 4;
|
---|
| 239 | inline double cross_section_error_accumulated() const;
|
---|
| 240 | inline void set_cross_section_error_accumulated(double value);
|
---|
| 241 |
|
---|
| 242 | // optional double luminosity_accumulated = 5;
|
---|
| 243 | inline bool has_luminosity_accumulated() const;
|
---|
| 244 | inline void clear_luminosity_accumulated();
|
---|
| 245 | static const int kLuminosityAccumulatedFieldNumber = 5;
|
---|
| 246 | inline double luminosity_accumulated() const;
|
---|
| 247 | inline void set_luminosity_accumulated(double value);
|
---|
| 248 |
|
---|
| 249 | // optional int32 nTried = 6;
|
---|
| 250 | inline bool has_ntried() const;
|
---|
| 251 | inline void clear_ntried();
|
---|
| 252 | static const int kNTriedFieldNumber = 6;
|
---|
| 253 | inline ::google::protobuf::int32 ntried() const;
|
---|
| 254 | inline void set_ntried(::google::protobuf::int32 value);
|
---|
| 255 |
|
---|
| 256 | // optional int32 nSelected = 7;
|
---|
| 257 | inline bool has_nselected() const;
|
---|
| 258 | inline void clear_nselected();
|
---|
| 259 | static const int kNSelectedFieldNumber = 7;
|
---|
| 260 | inline ::google::protobuf::int32 nselected() const;
|
---|
| 261 | inline void set_nselected(::google::protobuf::int32 value);
|
---|
| 262 |
|
---|
| 263 | // optional int32 nAccepted = 8;
|
---|
| 264 | inline bool has_naccepted() const;
|
---|
| 265 | inline void clear_naccepted();
|
---|
| 266 | static const int kNAcceptedFieldNumber = 8;
|
---|
| 267 | inline ::google::protobuf::int32 naccepted() const;
|
---|
| 268 | inline void set_naccepted(::google::protobuf::int32 value);
|
---|
| 269 |
|
---|
| 270 | // repeated .promc.ProMCStat.ProcessData processData = 10;
|
---|
| 271 | inline int processdata_size() const;
|
---|
| 272 | inline void clear_processdata();
|
---|
| 273 | static const int kProcessDataFieldNumber = 10;
|
---|
| 274 | inline const ::promc::ProMCStat_ProcessData& processdata(int index) const;
|
---|
| 275 | inline ::promc::ProMCStat_ProcessData* mutable_processdata(int index);
|
---|
| 276 | inline ::promc::ProMCStat_ProcessData* add_processdata();
|
---|
| 277 | inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCStat_ProcessData >&
|
---|
| 278 | processdata() const;
|
---|
| 279 | inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCStat_ProcessData >*
|
---|
| 280 | mutable_processdata();
|
---|
| 281 |
|
---|
| 282 | // @@protoc_insertion_point(class_scope:promc.ProMCStat)
|
---|
| 283 | private:
|
---|
| 284 | inline void set_has_nevents_requested();
|
---|
| 285 | inline void clear_has_nevents_requested();
|
---|
| 286 | inline void set_has_nevents_failed();
|
---|
| 287 | inline void clear_has_nevents_failed();
|
---|
| 288 | inline void set_has_cross_section_accumulated();
|
---|
| 289 | inline void clear_has_cross_section_accumulated();
|
---|
| 290 | inline void set_has_cross_section_error_accumulated();
|
---|
| 291 | inline void clear_has_cross_section_error_accumulated();
|
---|
| 292 | inline void set_has_luminosity_accumulated();
|
---|
| 293 | inline void clear_has_luminosity_accumulated();
|
---|
| 294 | inline void set_has_ntried();
|
---|
| 295 | inline void clear_has_ntried();
|
---|
| 296 | inline void set_has_nselected();
|
---|
| 297 | inline void clear_has_nselected();
|
---|
| 298 | inline void set_has_naccepted();
|
---|
| 299 | inline void clear_has_naccepted();
|
---|
| 300 |
|
---|
| 301 | ::google::protobuf::UnknownFieldSet _unknown_fields_;
|
---|
| 302 |
|
---|
| 303 | ::google::protobuf::int32 nevents_requested_;
|
---|
| 304 | ::google::protobuf::int32 nevents_failed_;
|
---|
| 305 | double cross_section_accumulated_;
|
---|
| 306 | double cross_section_error_accumulated_;
|
---|
| 307 | double luminosity_accumulated_;
|
---|
| 308 | ::google::protobuf::int32 ntried_;
|
---|
| 309 | ::google::protobuf::int32 nselected_;
|
---|
| 310 | ::google::protobuf::RepeatedPtrField< ::promc::ProMCStat_ProcessData > processdata_;
|
---|
| 311 | ::google::protobuf::int32 naccepted_;
|
---|
| 312 |
|
---|
| 313 | mutable int _cached_size_;
|
---|
| 314 | ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
|
---|
| 315 |
|
---|
| 316 | friend void protobuf_AddDesc_ProMCStat_2eproto();
|
---|
| 317 | friend void protobuf_AssignDesc_ProMCStat_2eproto();
|
---|
| 318 | friend void protobuf_ShutdownFile_ProMCStat_2eproto();
|
---|
| 319 |
|
---|
| 320 | void InitAsDefaultInstance();
|
---|
| 321 | static ProMCStat* default_instance_;
|
---|
| 322 | };
|
---|
| 323 | // ===================================================================
|
---|
| 324 |
|
---|
| 325 |
|
---|
| 326 | // ===================================================================
|
---|
| 327 |
|
---|
| 328 | // ProMCStat_ProcessData
|
---|
| 329 |
|
---|
| 330 | // required sint32 id = 1;
|
---|
| 331 | inline bool ProMCStat_ProcessData::has_id() const {
|
---|
| 332 | return (_has_bits_[0] & 0x00000001u) != 0;
|
---|
| 333 | }
|
---|
| 334 | inline void ProMCStat_ProcessData::set_has_id() {
|
---|
| 335 | _has_bits_[0] |= 0x00000001u;
|
---|
| 336 | }
|
---|
| 337 | inline void ProMCStat_ProcessData::clear_has_id() {
|
---|
| 338 | _has_bits_[0] &= ~0x00000001u;
|
---|
| 339 | }
|
---|
| 340 | inline void ProMCStat_ProcessData::clear_id() {
|
---|
| 341 | id_ = 0;
|
---|
| 342 | clear_has_id();
|
---|
| 343 | }
|
---|
| 344 | inline ::google::protobuf::int32 ProMCStat_ProcessData::id() const {
|
---|
| 345 | return id_;
|
---|
| 346 | }
|
---|
| 347 | inline void ProMCStat_ProcessData::set_id(::google::protobuf::int32 value) {
|
---|
| 348 | set_has_id();
|
---|
| 349 | id_ = value;
|
---|
| 350 | }
|
---|
| 351 |
|
---|
| 352 | // required double cross_section = 2;
|
---|
| 353 | inline bool ProMCStat_ProcessData::has_cross_section() const {
|
---|
| 354 | return (_has_bits_[0] & 0x00000002u) != 0;
|
---|
| 355 | }
|
---|
| 356 | inline void ProMCStat_ProcessData::set_has_cross_section() {
|
---|
| 357 | _has_bits_[0] |= 0x00000002u;
|
---|
| 358 | }
|
---|
| 359 | inline void ProMCStat_ProcessData::clear_has_cross_section() {
|
---|
| 360 | _has_bits_[0] &= ~0x00000002u;
|
---|
| 361 | }
|
---|
| 362 | inline void ProMCStat_ProcessData::clear_cross_section() {
|
---|
| 363 | cross_section_ = 0;
|
---|
| 364 | clear_has_cross_section();
|
---|
| 365 | }
|
---|
| 366 | inline double ProMCStat_ProcessData::cross_section() const {
|
---|
| 367 | return cross_section_;
|
---|
| 368 | }
|
---|
| 369 | inline void ProMCStat_ProcessData::set_cross_section(double value) {
|
---|
| 370 | set_has_cross_section();
|
---|
| 371 | cross_section_ = value;
|
---|
| 372 | }
|
---|
| 373 |
|
---|
| 374 | // required double cross_section_error = 3;
|
---|
| 375 | inline bool ProMCStat_ProcessData::has_cross_section_error() const {
|
---|
| 376 | return (_has_bits_[0] & 0x00000004u) != 0;
|
---|
| 377 | }
|
---|
| 378 | inline void ProMCStat_ProcessData::set_has_cross_section_error() {
|
---|
| 379 | _has_bits_[0] |= 0x00000004u;
|
---|
| 380 | }
|
---|
| 381 | inline void ProMCStat_ProcessData::clear_has_cross_section_error() {
|
---|
| 382 | _has_bits_[0] &= ~0x00000004u;
|
---|
| 383 | }
|
---|
| 384 | inline void ProMCStat_ProcessData::clear_cross_section_error() {
|
---|
| 385 | cross_section_error_ = 0;
|
---|
| 386 | clear_has_cross_section_error();
|
---|
| 387 | }
|
---|
| 388 | inline double ProMCStat_ProcessData::cross_section_error() const {
|
---|
| 389 | return cross_section_error_;
|
---|
| 390 | }
|
---|
| 391 | inline void ProMCStat_ProcessData::set_cross_section_error(double value) {
|
---|
| 392 | set_has_cross_section_error();
|
---|
| 393 | cross_section_error_ = value;
|
---|
| 394 | }
|
---|
| 395 |
|
---|
| 396 | // required string name = 4;
|
---|
| 397 | inline bool ProMCStat_ProcessData::has_name() const {
|
---|
| 398 | return (_has_bits_[0] & 0x00000008u) != 0;
|
---|
| 399 | }
|
---|
| 400 | inline void ProMCStat_ProcessData::set_has_name() {
|
---|
| 401 | _has_bits_[0] |= 0x00000008u;
|
---|
| 402 | }
|
---|
| 403 | inline void ProMCStat_ProcessData::clear_has_name() {
|
---|
| 404 | _has_bits_[0] &= ~0x00000008u;
|
---|
| 405 | }
|
---|
| 406 | inline void ProMCStat_ProcessData::clear_name() {
|
---|
| 407 | if (name_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 408 | name_->clear();
|
---|
| 409 | }
|
---|
| 410 | clear_has_name();
|
---|
| 411 | }
|
---|
| 412 | inline const ::std::string& ProMCStat_ProcessData::name() const {
|
---|
| 413 | return *name_;
|
---|
| 414 | }
|
---|
| 415 | inline void ProMCStat_ProcessData::set_name(const ::std::string& value) {
|
---|
| 416 | set_has_name();
|
---|
| 417 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 418 | name_ = new ::std::string;
|
---|
| 419 | }
|
---|
| 420 | name_->assign(value);
|
---|
| 421 | }
|
---|
| 422 | inline void ProMCStat_ProcessData::set_name(const char* value) {
|
---|
| 423 | set_has_name();
|
---|
| 424 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 425 | name_ = new ::std::string;
|
---|
| 426 | }
|
---|
| 427 | name_->assign(value);
|
---|
| 428 | }
|
---|
| 429 | inline void ProMCStat_ProcessData::set_name(const char* value, size_t size) {
|
---|
| 430 | set_has_name();
|
---|
| 431 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 432 | name_ = new ::std::string;
|
---|
| 433 | }
|
---|
| 434 | name_->assign(reinterpret_cast<const char*>(value), size);
|
---|
| 435 | }
|
---|
| 436 | inline ::std::string* ProMCStat_ProcessData::mutable_name() {
|
---|
| 437 | set_has_name();
|
---|
| 438 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 439 | name_ = new ::std::string;
|
---|
| 440 | }
|
---|
| 441 | return name_;
|
---|
| 442 | }
|
---|
| 443 | inline ::std::string* ProMCStat_ProcessData::release_name() {
|
---|
| 444 | clear_has_name();
|
---|
| 445 | if (name_ == &::google::protobuf::internal::kEmptyString) {
|
---|
| 446 | return NULL;
|
---|
| 447 | } else {
|
---|
| 448 | ::std::string* temp = name_;
|
---|
| 449 | name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 450 | return temp;
|
---|
| 451 | }
|
---|
| 452 | }
|
---|
| 453 | inline void ProMCStat_ProcessData::set_allocated_name(::std::string* name) {
|
---|
| 454 | if (name_ != &::google::protobuf::internal::kEmptyString) {
|
---|
| 455 | delete name_;
|
---|
| 456 | }
|
---|
| 457 | if (name) {
|
---|
| 458 | set_has_name();
|
---|
| 459 | name_ = name;
|
---|
| 460 | } else {
|
---|
| 461 | clear_has_name();
|
---|
| 462 | name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
---|
| 463 | }
|
---|
| 464 | }
|
---|
| 465 |
|
---|
| 466 | // -------------------------------------------------------------------
|
---|
| 467 |
|
---|
| 468 | // ProMCStat
|
---|
| 469 |
|
---|
| 470 | // optional int32 nevents_requested = 1;
|
---|
| 471 | inline bool ProMCStat::has_nevents_requested() const {
|
---|
| 472 | return (_has_bits_[0] & 0x00000001u) != 0;
|
---|
| 473 | }
|
---|
| 474 | inline void ProMCStat::set_has_nevents_requested() {
|
---|
| 475 | _has_bits_[0] |= 0x00000001u;
|
---|
| 476 | }
|
---|
| 477 | inline void ProMCStat::clear_has_nevents_requested() {
|
---|
| 478 | _has_bits_[0] &= ~0x00000001u;
|
---|
| 479 | }
|
---|
| 480 | inline void ProMCStat::clear_nevents_requested() {
|
---|
| 481 | nevents_requested_ = 0;
|
---|
| 482 | clear_has_nevents_requested();
|
---|
| 483 | }
|
---|
| 484 | inline ::google::protobuf::int32 ProMCStat::nevents_requested() const {
|
---|
| 485 | return nevents_requested_;
|
---|
| 486 | }
|
---|
| 487 | inline void ProMCStat::set_nevents_requested(::google::protobuf::int32 value) {
|
---|
| 488 | set_has_nevents_requested();
|
---|
| 489 | nevents_requested_ = value;
|
---|
| 490 | }
|
---|
| 491 |
|
---|
| 492 | // optional int32 nevents_failed = 2;
|
---|
| 493 | inline bool ProMCStat::has_nevents_failed() const {
|
---|
| 494 | return (_has_bits_[0] & 0x00000002u) != 0;
|
---|
| 495 | }
|
---|
| 496 | inline void ProMCStat::set_has_nevents_failed() {
|
---|
| 497 | _has_bits_[0] |= 0x00000002u;
|
---|
| 498 | }
|
---|
| 499 | inline void ProMCStat::clear_has_nevents_failed() {
|
---|
| 500 | _has_bits_[0] &= ~0x00000002u;
|
---|
| 501 | }
|
---|
| 502 | inline void ProMCStat::clear_nevents_failed() {
|
---|
| 503 | nevents_failed_ = 0;
|
---|
| 504 | clear_has_nevents_failed();
|
---|
| 505 | }
|
---|
| 506 | inline ::google::protobuf::int32 ProMCStat::nevents_failed() const {
|
---|
| 507 | return nevents_failed_;
|
---|
| 508 | }
|
---|
| 509 | inline void ProMCStat::set_nevents_failed(::google::protobuf::int32 value) {
|
---|
| 510 | set_has_nevents_failed();
|
---|
| 511 | nevents_failed_ = value;
|
---|
| 512 | }
|
---|
| 513 |
|
---|
| 514 | // optional double cross_section_accumulated = 3;
|
---|
| 515 | inline bool ProMCStat::has_cross_section_accumulated() const {
|
---|
| 516 | return (_has_bits_[0] & 0x00000004u) != 0;
|
---|
| 517 | }
|
---|
| 518 | inline void ProMCStat::set_has_cross_section_accumulated() {
|
---|
| 519 | _has_bits_[0] |= 0x00000004u;
|
---|
| 520 | }
|
---|
| 521 | inline void ProMCStat::clear_has_cross_section_accumulated() {
|
---|
| 522 | _has_bits_[0] &= ~0x00000004u;
|
---|
| 523 | }
|
---|
| 524 | inline void ProMCStat::clear_cross_section_accumulated() {
|
---|
| 525 | cross_section_accumulated_ = 0;
|
---|
| 526 | clear_has_cross_section_accumulated();
|
---|
| 527 | }
|
---|
| 528 | inline double ProMCStat::cross_section_accumulated() const {
|
---|
| 529 | return cross_section_accumulated_;
|
---|
| 530 | }
|
---|
| 531 | inline void ProMCStat::set_cross_section_accumulated(double value) {
|
---|
| 532 | set_has_cross_section_accumulated();
|
---|
| 533 | cross_section_accumulated_ = value;
|
---|
| 534 | }
|
---|
| 535 |
|
---|
| 536 | // optional double cross_section_error_accumulated = 4;
|
---|
| 537 | inline bool ProMCStat::has_cross_section_error_accumulated() const {
|
---|
| 538 | return (_has_bits_[0] & 0x00000008u) != 0;
|
---|
| 539 | }
|
---|
| 540 | inline void ProMCStat::set_has_cross_section_error_accumulated() {
|
---|
| 541 | _has_bits_[0] |= 0x00000008u;
|
---|
| 542 | }
|
---|
| 543 | inline void ProMCStat::clear_has_cross_section_error_accumulated() {
|
---|
| 544 | _has_bits_[0] &= ~0x00000008u;
|
---|
| 545 | }
|
---|
| 546 | inline void ProMCStat::clear_cross_section_error_accumulated() {
|
---|
| 547 | cross_section_error_accumulated_ = 0;
|
---|
| 548 | clear_has_cross_section_error_accumulated();
|
---|
| 549 | }
|
---|
| 550 | inline double ProMCStat::cross_section_error_accumulated() const {
|
---|
| 551 | return cross_section_error_accumulated_;
|
---|
| 552 | }
|
---|
| 553 | inline void ProMCStat::set_cross_section_error_accumulated(double value) {
|
---|
| 554 | set_has_cross_section_error_accumulated();
|
---|
| 555 | cross_section_error_accumulated_ = value;
|
---|
| 556 | }
|
---|
| 557 |
|
---|
| 558 | // optional double luminosity_accumulated = 5;
|
---|
| 559 | inline bool ProMCStat::has_luminosity_accumulated() const {
|
---|
| 560 | return (_has_bits_[0] & 0x00000010u) != 0;
|
---|
| 561 | }
|
---|
| 562 | inline void ProMCStat::set_has_luminosity_accumulated() {
|
---|
| 563 | _has_bits_[0] |= 0x00000010u;
|
---|
| 564 | }
|
---|
| 565 | inline void ProMCStat::clear_has_luminosity_accumulated() {
|
---|
| 566 | _has_bits_[0] &= ~0x00000010u;
|
---|
| 567 | }
|
---|
| 568 | inline void ProMCStat::clear_luminosity_accumulated() {
|
---|
| 569 | luminosity_accumulated_ = 0;
|
---|
| 570 | clear_has_luminosity_accumulated();
|
---|
| 571 | }
|
---|
| 572 | inline double ProMCStat::luminosity_accumulated() const {
|
---|
| 573 | return luminosity_accumulated_;
|
---|
| 574 | }
|
---|
| 575 | inline void ProMCStat::set_luminosity_accumulated(double value) {
|
---|
| 576 | set_has_luminosity_accumulated();
|
---|
| 577 | luminosity_accumulated_ = value;
|
---|
| 578 | }
|
---|
| 579 |
|
---|
| 580 | // optional int32 nTried = 6;
|
---|
| 581 | inline bool ProMCStat::has_ntried() const {
|
---|
| 582 | return (_has_bits_[0] & 0x00000020u) != 0;
|
---|
| 583 | }
|
---|
| 584 | inline void ProMCStat::set_has_ntried() {
|
---|
| 585 | _has_bits_[0] |= 0x00000020u;
|
---|
| 586 | }
|
---|
| 587 | inline void ProMCStat::clear_has_ntried() {
|
---|
| 588 | _has_bits_[0] &= ~0x00000020u;
|
---|
| 589 | }
|
---|
| 590 | inline void ProMCStat::clear_ntried() {
|
---|
| 591 | ntried_ = 0;
|
---|
| 592 | clear_has_ntried();
|
---|
| 593 | }
|
---|
| 594 | inline ::google::protobuf::int32 ProMCStat::ntried() const {
|
---|
| 595 | return ntried_;
|
---|
| 596 | }
|
---|
| 597 | inline void ProMCStat::set_ntried(::google::protobuf::int32 value) {
|
---|
| 598 | set_has_ntried();
|
---|
| 599 | ntried_ = value;
|
---|
| 600 | }
|
---|
| 601 |
|
---|
| 602 | // optional int32 nSelected = 7;
|
---|
| 603 | inline bool ProMCStat::has_nselected() const {
|
---|
| 604 | return (_has_bits_[0] & 0x00000040u) != 0;
|
---|
| 605 | }
|
---|
| 606 | inline void ProMCStat::set_has_nselected() {
|
---|
| 607 | _has_bits_[0] |= 0x00000040u;
|
---|
| 608 | }
|
---|
| 609 | inline void ProMCStat::clear_has_nselected() {
|
---|
| 610 | _has_bits_[0] &= ~0x00000040u;
|
---|
| 611 | }
|
---|
| 612 | inline void ProMCStat::clear_nselected() {
|
---|
| 613 | nselected_ = 0;
|
---|
| 614 | clear_has_nselected();
|
---|
| 615 | }
|
---|
| 616 | inline ::google::protobuf::int32 ProMCStat::nselected() const {
|
---|
| 617 | return nselected_;
|
---|
| 618 | }
|
---|
| 619 | inline void ProMCStat::set_nselected(::google::protobuf::int32 value) {
|
---|
| 620 | set_has_nselected();
|
---|
| 621 | nselected_ = value;
|
---|
| 622 | }
|
---|
| 623 |
|
---|
| 624 | // optional int32 nAccepted = 8;
|
---|
| 625 | inline bool ProMCStat::has_naccepted() const {
|
---|
| 626 | return (_has_bits_[0] & 0x00000080u) != 0;
|
---|
| 627 | }
|
---|
| 628 | inline void ProMCStat::set_has_naccepted() {
|
---|
| 629 | _has_bits_[0] |= 0x00000080u;
|
---|
| 630 | }
|
---|
| 631 | inline void ProMCStat::clear_has_naccepted() {
|
---|
| 632 | _has_bits_[0] &= ~0x00000080u;
|
---|
| 633 | }
|
---|
| 634 | inline void ProMCStat::clear_naccepted() {
|
---|
| 635 | naccepted_ = 0;
|
---|
| 636 | clear_has_naccepted();
|
---|
| 637 | }
|
---|
| 638 | inline ::google::protobuf::int32 ProMCStat::naccepted() const {
|
---|
| 639 | return naccepted_;
|
---|
| 640 | }
|
---|
| 641 | inline void ProMCStat::set_naccepted(::google::protobuf::int32 value) {
|
---|
| 642 | set_has_naccepted();
|
---|
| 643 | naccepted_ = value;
|
---|
| 644 | }
|
---|
| 645 |
|
---|
| 646 | // repeated .promc.ProMCStat.ProcessData processData = 10;
|
---|
| 647 | inline int ProMCStat::processdata_size() const {
|
---|
| 648 | return processdata_.size();
|
---|
| 649 | }
|
---|
| 650 | inline void ProMCStat::clear_processdata() {
|
---|
| 651 | processdata_.Clear();
|
---|
| 652 | }
|
---|
| 653 | inline const ::promc::ProMCStat_ProcessData& ProMCStat::processdata(int index) const {
|
---|
| 654 | return processdata_.Get(index);
|
---|
| 655 | }
|
---|
| 656 | inline ::promc::ProMCStat_ProcessData* ProMCStat::mutable_processdata(int index) {
|
---|
| 657 | return processdata_.Mutable(index);
|
---|
| 658 | }
|
---|
| 659 | inline ::promc::ProMCStat_ProcessData* ProMCStat::add_processdata() {
|
---|
| 660 | return processdata_.Add();
|
---|
| 661 | }
|
---|
| 662 | inline const ::google::protobuf::RepeatedPtrField< ::promc::ProMCStat_ProcessData >&
|
---|
| 663 | ProMCStat::processdata() const {
|
---|
| 664 | return processdata_;
|
---|
| 665 | }
|
---|
| 666 | inline ::google::protobuf::RepeatedPtrField< ::promc::ProMCStat_ProcessData >*
|
---|
| 667 | ProMCStat::mutable_processdata() {
|
---|
| 668 | return &processdata_;
|
---|
| 669 | }
|
---|
| 670 |
|
---|
| 671 |
|
---|
| 672 | // @@protoc_insertion_point(namespace_scope)
|
---|
| 673 |
|
---|
| 674 | } // namespace promc
|
---|
| 675 |
|
---|
| 676 | #ifndef SWIG
|
---|
| 677 | namespace google {
|
---|
| 678 | namespace protobuf {
|
---|
| 679 |
|
---|
| 680 |
|
---|
| 681 | } // namespace google
|
---|
| 682 | } // namespace protobuf
|
---|
| 683 | #endif // SWIG
|
---|
| 684 |
|
---|
| 685 | // @@protoc_insertion_point(global_scope)
|
---|
| 686 |
|
---|
| 687 | #endif // PROTOBUF_ProMCStat_2eproto__INCLUDED
|
---|