CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ROOTFilePB.pb.cc
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: DQMServices/Core/src/ROOTFilePB.proto
3 
4 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
6 
7 #include <algorithm>
8 
9 #include <google/protobuf/stubs/common.h>
10 #include <google/protobuf/stubs/once.h>
11 #include <google/protobuf/io/coded_stream.h>
12 #include <google/protobuf/wire_format_lite_inl.h>
13 #include <google/protobuf/descriptor.h>
14 #include <google/protobuf/generated_message_reflection.h>
15 #include <google/protobuf/reflection_ops.h>
16 #include <google/protobuf/wire_format.h>
17 // @@protoc_insertion_point(includes)
18 
19 namespace dqmstorepb {
20 
21 namespace {
22 
23 const ::google::protobuf::Descriptor* ROOTFilePB_descriptor_ = NULL;
24 const ::google::protobuf::internal::GeneratedMessageReflection*
25  ROOTFilePB_reflection_ = NULL;
26 const ::google::protobuf::Descriptor* ROOTFilePB_Histo_descriptor_ = NULL;
27 const ::google::protobuf::internal::GeneratedMessageReflection*
28  ROOTFilePB_Histo_reflection_ = NULL;
29 
30 } // namespace
31 
32 
35  const ::google::protobuf::FileDescriptor* file =
36  ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
37  "DQMServices/Core/src/ROOTFilePB.proto");
38  GOOGLE_CHECK(file != NULL);
39  ROOTFilePB_descriptor_ = file->message_type(0);
40  static const int ROOTFilePB_offsets_[1] = {
41  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB, histo_),
42  };
43  ROOTFilePB_reflection_ =
44  new ::google::protobuf::internal::GeneratedMessageReflection(
45  ROOTFilePB_descriptor_,
47  ROOTFilePB_offsets_,
48  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB, _has_bits_[0]),
49  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB, _unknown_fields_),
50  -1,
51  ::google::protobuf::DescriptorPool::generated_pool(),
52  ::google::protobuf::MessageFactory::generated_factory(),
53  sizeof(ROOTFilePB));
54  ROOTFilePB_Histo_descriptor_ = ROOTFilePB_descriptor_->nested_type(0);
55  static const int ROOTFilePB_Histo_offsets_[4] = {
56  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, full_pathname_),
57  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, size_),
58  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, streamed_histo_),
59  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, flags_),
60  };
61  ROOTFilePB_Histo_reflection_ =
62  new ::google::protobuf::internal::GeneratedMessageReflection(
63  ROOTFilePB_Histo_descriptor_,
65  ROOTFilePB_Histo_offsets_,
66  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, _has_bits_[0]),
67  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, _unknown_fields_),
68  -1,
69  ::google::protobuf::DescriptorPool::generated_pool(),
70  ::google::protobuf::MessageFactory::generated_factory(),
71  sizeof(ROOTFilePB_Histo));
72 }
73 
74 namespace {
75 
76 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
77 inline void protobuf_AssignDescriptorsOnce() {
78  ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
80 }
81 
82 void protobuf_RegisterTypes(const ::std::string&) {
83  protobuf_AssignDescriptorsOnce();
84  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
85  ROOTFilePB_descriptor_, &ROOTFilePB::default_instance());
86  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
87  ROOTFilePB_Histo_descriptor_, &ROOTFilePB_Histo::default_instance());
88 }
89 
90 } // namespace
91 
94  delete ROOTFilePB_reflection_;
96  delete ROOTFilePB_Histo_reflection_;
97 }
98 
100  static bool already_here = false;
101  if (already_here) return;
102  already_here = true;
103  GOOGLE_PROTOBUF_VERIFY_VERSION;
104 
105  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
106  "\n%DQMServices/Core/src/ROOTFilePB.proto\022"
107  "\ndqmstorepb\"\216\001\n\nROOTFilePB\022+\n\005histo\030\001 \003("
108  "\0132\034.dqmstorepb.ROOTFilePB.Histo\032S\n\005Histo"
109  "\022\025\n\rfull_pathname\030\001 \002(\t\022\014\n\004size\030\002 \002(\r\022\026\n"
110  "\016streamed_histo\030\003 \002(\014\022\r\n\005flags\030\004 \002(\r", 196);
111  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
112  "DQMServices/Core/src/ROOTFilePB.proto", &protobuf_RegisterTypes);
117  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto);
118 }
119 
120 // Force AddDescriptors() to be called at static initialization time.
124  }
126 
127 // ===================================================================
128 
129 #ifndef _MSC_VER
134 #endif // !_MSC_VER
135 
137  : ::google::protobuf::Message() {
138  SharedCtor();
139  // @@protoc_insertion_point(constructor:dqmstorepb.ROOTFilePB.Histo)
140 }
141 
143 }
144 
146  : ::google::protobuf::Message() {
147  SharedCtor();
148  MergeFrom(from);
149  // @@protoc_insertion_point(copy_constructor:dqmstorepb.ROOTFilePB.Histo)
150 }
151 
153  ::google::protobuf::internal::GetEmptyString();
154  _cached_size_ = 0;
155  full_pathname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
156  size_ = 0u;
157  streamed_histo_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
158  flags_ = 0u;
159  ::memset(_has_bits_, 0, sizeof(_has_bits_));
160 }
161 
163  // @@protoc_insertion_point(destructor:dqmstorepb.ROOTFilePB.Histo)
164  SharedDtor();
165 }
166 
168  if (full_pathname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
169  delete full_pathname_;
170  }
171  if (streamed_histo_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
172  delete streamed_histo_;
173  }
174  if (this != default_instance_) {
175  }
176 }
177 
179  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
181  GOOGLE_SAFE_CONCURRENT_WRITES_END();
182 }
183 const ::google::protobuf::Descriptor* ROOTFilePB_Histo::descriptor() {
184  protobuf_AssignDescriptorsOnce();
185  return ROOTFilePB_Histo_descriptor_;
186 }
187 
190  return *default_instance_;
191 }
192 
194 
196  return new ROOTFilePB_Histo;
197 }
198 
200 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
201  &reinterpret_cast<ROOTFilePB_Histo*>(16)->f) - \
202  reinterpret_cast<char*>(16))
203 
204 #define ZR_(first, last) do { \
205  size_t f = OFFSET_OF_FIELD_(first); \
206  size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \
207  ::memset(&first, 0, n); \
208  } while (0)
209 
210  if (_has_bits_[0 / 32] & 15) {
211  ZR_(size_, flags_);
212  if (has_full_pathname()) {
213  if (full_pathname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
214  full_pathname_->clear();
215  }
216  }
217  if (has_streamed_histo()) {
218  if (streamed_histo_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
219  streamed_histo_->clear();
220  }
221  }
222  }
223 
224 #undef OFFSET_OF_FIELD_
225 #undef ZR_
226 
227  ::memset(_has_bits_, 0, sizeof(_has_bits_));
228  mutable_unknown_fields()->Clear();
229 }
230 
232  ::google::protobuf::io::CodedInputStream* input) {
233 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
235  // @@protoc_insertion_point(parse_start:dqmstorepb.ROOTFilePB.Histo)
236  for (;;) {
237  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
238  tag = p.first;
239  if (!p.second) goto handle_unusual;
240  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
241  // required string full_pathname = 1;
242  case 1: {
243  if (tag == 10) {
244  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
245  input, this->mutable_full_pathname()));
246  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
247  this->full_pathname().data(), this->full_pathname().length(),
248  ::google::protobuf::internal::WireFormat::PARSE,
249  "full_pathname");
250  } else {
251  goto handle_unusual;
252  }
253  if (input->ExpectTag(16)) goto parse_size;
254  break;
255  }
256 
257  // required uint32 size = 2;
258  case 2: {
259  if (tag == 16) {
260  parse_size:
261  DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
262  ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
263  input, &size_)));
264  set_has_size();
265  } else {
266  goto handle_unusual;
267  }
268  if (input->ExpectTag(26)) goto parse_streamed_histo;
269  break;
270  }
271 
272  // required bytes streamed_histo = 3;
273  case 3: {
274  if (tag == 26) {
275  parse_streamed_histo:
276  DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
277  input, this->mutable_streamed_histo()));
278  } else {
279  goto handle_unusual;
280  }
281  if (input->ExpectTag(32)) goto parse_flags;
282  break;
283  }
284 
285  // required uint32 flags = 4;
286  case 4: {
287  if (tag == 32) {
288  parse_flags:
289  DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
290  ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
291  input, &flags_)));
292  set_has_flags();
293  } else {
294  goto handle_unusual;
295  }
296  if (input->ExpectAtEnd()) goto success;
297  break;
298  }
299 
300  default: {
301  handle_unusual:
302  if (tag == 0 ||
303  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
304  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
305  goto success;
306  }
307  DO_(::google::protobuf::internal::WireFormat::SkipField(
308  input, tag, mutable_unknown_fields()));
309  break;
310  }
311  }
312  }
313 success:
314  // @@protoc_insertion_point(parse_success:dqmstorepb.ROOTFilePB.Histo)
315  return true;
316 failure:
317  // @@protoc_insertion_point(parse_failure:dqmstorepb.ROOTFilePB.Histo)
318  return false;
319 #undef DO_
320 }
321 
323  ::google::protobuf::io::CodedOutputStream* output) const {
324  // @@protoc_insertion_point(serialize_start:dqmstorepb.ROOTFilePB.Histo)
325  // required string full_pathname = 1;
326  if (has_full_pathname()) {
327  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
328  this->full_pathname().data(), this->full_pathname().length(),
329  ::google::protobuf::internal::WireFormat::SERIALIZE,
330  "full_pathname");
331  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
332  1, this->full_pathname(), output);
333  }
334 
335  // required uint32 size = 2;
336  if (has_size()) {
337  ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->size(), output);
338  }
339 
340  // required bytes streamed_histo = 3;
341  if (has_streamed_histo()) {
342  ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
343  3, this->streamed_histo(), output);
344  }
345 
346  // required uint32 flags = 4;
347  if (has_flags()) {
348  ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->flags(), output);
349  }
350 
351  if (!unknown_fields().empty()) {
352  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
353  unknown_fields(), output);
354  }
355  // @@protoc_insertion_point(serialize_end:dqmstorepb.ROOTFilePB.Histo)
356 }
357 
359  ::google::protobuf::uint8* target) const {
360  // @@protoc_insertion_point(serialize_to_array_start:dqmstorepb.ROOTFilePB.Histo)
361  // required string full_pathname = 1;
362  if (has_full_pathname()) {
363  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
364  this->full_pathname().data(), this->full_pathname().length(),
365  ::google::protobuf::internal::WireFormat::SERIALIZE,
366  "full_pathname");
367  target =
368  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
369  1, this->full_pathname(), target);
370  }
371 
372  // required uint32 size = 2;
373  if (has_size()) {
374  target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->size(), target);
375  }
376 
377  // required bytes streamed_histo = 3;
378  if (has_streamed_histo()) {
379  target =
380  ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
381  3, this->streamed_histo(), target);
382  }
383 
384  // required uint32 flags = 4;
385  if (has_flags()) {
386  target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->flags(), target);
387  }
388 
389  if (!unknown_fields().empty()) {
390  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
391  unknown_fields(), target);
392  }
393  // @@protoc_insertion_point(serialize_to_array_end:dqmstorepb.ROOTFilePB.Histo)
394  return target;
395 }
396 
398  int total_size = 0;
399 
400  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
401  // required string full_pathname = 1;
402  if (has_full_pathname()) {
403  total_size += 1 +
404  ::google::protobuf::internal::WireFormatLite::StringSize(
405  this->full_pathname());
406  }
407 
408  // required uint32 size = 2;
409  if (has_size()) {
410  total_size += 1 +
411  ::google::protobuf::internal::WireFormatLite::UInt32Size(
412  this->size());
413  }
414 
415  // required bytes streamed_histo = 3;
416  if (has_streamed_histo()) {
417  total_size += 1 +
418  ::google::protobuf::internal::WireFormatLite::BytesSize(
419  this->streamed_histo());
420  }
421 
422  // required uint32 flags = 4;
423  if (has_flags()) {
424  total_size += 1 +
425  ::google::protobuf::internal::WireFormatLite::UInt32Size(
426  this->flags());
427  }
428 
429  }
430  if (!unknown_fields().empty()) {
431  total_size +=
432  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
433  unknown_fields());
434  }
435  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
436  _cached_size_ = total_size;
437  GOOGLE_SAFE_CONCURRENT_WRITES_END();
438  return total_size;
439 }
440 
441 void ROOTFilePB_Histo::MergeFrom(const ::google::protobuf::Message& from) {
442  GOOGLE_CHECK_NE(&from, this);
443  const ROOTFilePB_Histo* source =
444  ::google::protobuf::internal::dynamic_cast_if_available<const ROOTFilePB_Histo*>(
445  &from);
446  if (source == NULL) {
447  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
448  } else {
449  MergeFrom(*source);
450  }
451 }
452 
454  GOOGLE_CHECK_NE(&from, this);
455  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
456  if (from.has_full_pathname()) {
458  }
459  if (from.has_size()) {
460  set_size(from.size());
461  }
462  if (from.has_streamed_histo()) {
464  }
465  if (from.has_flags()) {
466  set_flags(from.flags());
467  }
468  }
469  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
470 }
471 
472 void ROOTFilePB_Histo::CopyFrom(const ::google::protobuf::Message& from) {
473  if (&from == this) return;
474  Clear();
475  MergeFrom(from);
476 }
477 
479  if (&from == this) return;
480  Clear();
481  MergeFrom(from);
482 }
483 
485  if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
486 
487  return true;
488 }
489 
491  if (other != this) {
493  std::swap(size_, other->size_);
495  std::swap(flags_, other->flags_);
496  std::swap(_has_bits_[0], other->_has_bits_[0]);
497  _unknown_fields_.Swap(&other->_unknown_fields_);
499  }
500 }
501 
502 ::google::protobuf::Metadata ROOTFilePB_Histo::GetMetadata() const {
503  protobuf_AssignDescriptorsOnce();
504  ::google::protobuf::Metadata metadata;
505  metadata.descriptor = ROOTFilePB_Histo_descriptor_;
506  metadata.reflection = ROOTFilePB_Histo_reflection_;
507  return metadata;
508 }
509 
510 
511 // -------------------------------------------------------------------
512 
513 #ifndef _MSC_VER
515 #endif // !_MSC_VER
516 
518  : ::google::protobuf::Message() {
519  SharedCtor();
520  // @@protoc_insertion_point(constructor:dqmstorepb.ROOTFilePB)
521 }
522 
524 }
525 
527  : ::google::protobuf::Message() {
528  SharedCtor();
529  MergeFrom(from);
530  // @@protoc_insertion_point(copy_constructor:dqmstorepb.ROOTFilePB)
531 }
532 
534  _cached_size_ = 0;
535  ::memset(_has_bits_, 0, sizeof(_has_bits_));
536 }
537 
539  // @@protoc_insertion_point(destructor:dqmstorepb.ROOTFilePB)
540  SharedDtor();
541 }
542 
544  if (this != default_instance_) {
545  }
546 }
547 
549  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
551  GOOGLE_SAFE_CONCURRENT_WRITES_END();
552 }
553 const ::google::protobuf::Descriptor* ROOTFilePB::descriptor() {
554  protobuf_AssignDescriptorsOnce();
555  return ROOTFilePB_descriptor_;
556 }
557 
560  return *default_instance_;
561 }
562 
564 
566  return new ROOTFilePB;
567 }
568 
570  histo_.Clear();
571  ::memset(_has_bits_, 0, sizeof(_has_bits_));
572  mutable_unknown_fields()->Clear();
573 }
574 
576  ::google::protobuf::io::CodedInputStream* input) {
577 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
579  // @@protoc_insertion_point(parse_start:dqmstorepb.ROOTFilePB)
580  for (;;) {
581  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
582  tag = p.first;
583  if (!p.second) goto handle_unusual;
584  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
585  // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
586  case 1: {
587  if (tag == 10) {
588  parse_histo:
589  DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
590  input, add_histo()));
591  } else {
592  goto handle_unusual;
593  }
594  if (input->ExpectTag(10)) goto parse_histo;
595  if (input->ExpectAtEnd()) goto success;
596  break;
597  }
598 
599  default: {
600  handle_unusual:
601  if (tag == 0 ||
602  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
603  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
604  goto success;
605  }
606  DO_(::google::protobuf::internal::WireFormat::SkipField(
607  input, tag, mutable_unknown_fields()));
608  break;
609  }
610  }
611  }
612 success:
613  // @@protoc_insertion_point(parse_success:dqmstorepb.ROOTFilePB)
614  return true;
615 failure:
616  // @@protoc_insertion_point(parse_failure:dqmstorepb.ROOTFilePB)
617  return false;
618 #undef DO_
619 }
620 
622  ::google::protobuf::io::CodedOutputStream* output) const {
623  // @@protoc_insertion_point(serialize_start:dqmstorepb.ROOTFilePB)
624  // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
625  for (int i = 0; i < this->histo_size(); i++) {
626  ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
627  1, this->histo(i), output);
628  }
629 
630  if (!unknown_fields().empty()) {
631  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
632  unknown_fields(), output);
633  }
634  // @@protoc_insertion_point(serialize_end:dqmstorepb.ROOTFilePB)
635 }
636 
638  ::google::protobuf::uint8* target) const {
639  // @@protoc_insertion_point(serialize_to_array_start:dqmstorepb.ROOTFilePB)
640  // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
641  for (int i = 0; i < this->histo_size(); i++) {
642  target = ::google::protobuf::internal::WireFormatLite::
643  WriteMessageNoVirtualToArray(
644  1, this->histo(i), target);
645  }
646 
647  if (!unknown_fields().empty()) {
648  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
649  unknown_fields(), target);
650  }
651  // @@protoc_insertion_point(serialize_to_array_end:dqmstorepb.ROOTFilePB)
652  return target;
653 }
654 
655 int ROOTFilePB::ByteSize() const {
656  int total_size = 0;
657 
658  // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
659  total_size += 1 * this->histo_size();
660  for (int i = 0; i < this->histo_size(); i++) {
661  total_size +=
662  ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
663  this->histo(i));
664  }
665 
666  if (!unknown_fields().empty()) {
667  total_size +=
668  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
669  unknown_fields());
670  }
671  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
672  _cached_size_ = total_size;
673  GOOGLE_SAFE_CONCURRENT_WRITES_END();
674  return total_size;
675 }
676 
677 void ROOTFilePB::MergeFrom(const ::google::protobuf::Message& from) {
678  GOOGLE_CHECK_NE(&from, this);
679  const ROOTFilePB* source =
680  ::google::protobuf::internal::dynamic_cast_if_available<const ROOTFilePB*>(
681  &from);
682  if (source == NULL) {
683  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
684  } else {
685  MergeFrom(*source);
686  }
687 }
688 
690  GOOGLE_CHECK_NE(&from, this);
691  histo_.MergeFrom(from.histo_);
692  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
693 }
694 
695 void ROOTFilePB::CopyFrom(const ::google::protobuf::Message& from) {
696  if (&from == this) return;
697  Clear();
698  MergeFrom(from);
699 }
700 
701 void ROOTFilePB::CopyFrom(const ROOTFilePB& from) {
702  if (&from == this) return;
703  Clear();
704  MergeFrom(from);
705 }
706 
708 
709  if (!::google::protobuf::internal::AllAreInitialized(this->histo())) return false;
710  return true;
711 }
712 
714  if (other != this) {
715  histo_.Swap(&other->histo_);
716  std::swap(_has_bits_[0], other->_has_bits_[0]);
717  _unknown_fields_.Swap(&other->_unknown_fields_);
719  }
720 }
721 
722 ::google::protobuf::Metadata ROOTFilePB::GetMetadata() const {
723  protobuf_AssignDescriptorsOnce();
724  ::google::protobuf::Metadata metadata;
725  metadata.descriptor = ROOTFilePB_descriptor_;
726  metadata.reflection = ROOTFilePB_reflection_;
727  return metadata;
728 }
729 
730 
731 // @@protoc_insertion_point(namespace_scope)
732 
733 } // namespace dqmstorepb
734 
735 // @@protoc_insertion_point(global_scope)
::google::protobuf::uint32 flags_
void CopyFrom(const ::google::protobuf::Message &from)
int i
Definition: DBlmapReader.cc:9
static const ROOTFilePB & default_instance()
friend void protobuf_AddDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
inline::google::protobuf::uint32 size() const
bool IsInitialized() const
const ::std::string & full_pathname() const
::std::string * streamed_histo_
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_AddDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
::google::protobuf::uint32 _has_bits_[1]
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
void protobuf_ShutdownFile_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const int kSizeFieldNumber
#define NULL
Definition: scimark2.h:8
void MergeFrom(const ::google::protobuf::Message &from)
#define DO_(EXPRESSION)
static const ::google::protobuf::Descriptor * descriptor()
struct dqmstorepb::StaticDescriptorInitializer_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto static_descriptor_initializer_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto_
::google::protobuf::Metadata GetMetadata() const
void set_flags(::google::protobuf::uint32 value)
static const ROOTFilePB_Histo & default_instance()
const ::std::string & streamed_histo() const
static const int kFullPathnameFieldNumber
Definition: ROOTFilePB.pb.h:97
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
static std::string const input
Definition: EdmProvDump.cc:44
void MergeFrom(const ::google::protobuf::Message &from)
static ROOTFilePB * default_instance_
void SetCachedSize(int size) const
void Swap(ROOTFilePB *other)
void SetCachedSize(int size) const
static const int kStreamedHistoFieldNumber
ROOTFilePB * New() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > histo_
void CopyFrom(const ::google::protobuf::Message &from)
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
void protobuf_AddDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: ROOTFilePB.pb.h:53
::google::protobuf::uint32 _has_bits_[1]
static const int kHistoFieldNumber
unsigned int uint32
Definition: MsgTools.h:13
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
void set_size(::google::protobuf::uint32 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::uint32 size_
::std::string * full_pathname_
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > & histo() const
unsigned char uint8
Definition: MsgTools.h:11
void set_full_pathname(const ::std::string &value)
inline::std::string * mutable_full_pathname()
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
inline::dqmstorepb::ROOTFilePB_Histo * add_histo()
static const int kFlagsFieldNumber
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: ROOTFilePB.pb.h:57
inline::google::protobuf::uint32 flags() const
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
inline::std::string * mutable_streamed_histo()
size_(0)
Definition: OwnArray.h:181
void protobuf_AssignDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
void Swap(ROOTFilePB_Histo *other)
static ROOTFilePB_Histo * default_instance_
ROOTFilePB_Histo * New() const
static const ::google::protobuf::Descriptor * descriptor()
static std::string const source
Definition: EdmProvDump.cc:43
tuple size
Write out results.
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_streamed_histo(const ::std::string &value)
#define ZR_(first, last)