CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ROOTFilePB.pb.h
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 #ifndef PROTOBUF_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto__INCLUDED
5 #define PROTOBUF_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2004000
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 2004001 < 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/repeated_field.h>
24 #include <google/protobuf/extension_set.h>
25 #include <google/protobuf/generated_message_reflection.h>
26 // @@protoc_insertion_point(includes)
27 
28 namespace dqmstorepb {
29 
30 // Internal implementation detail -- do not call these.
34 
35 class ROOTFilePB;
36 class ROOTFilePB_Histo;
37 
38 // ===================================================================
39 
40 class ROOTFilePB_Histo : public ::google::protobuf::Message {
41  public:
43  virtual ~ROOTFilePB_Histo();
44 
46 
48  CopyFrom(from);
49  return *this;
50  }
51 
52  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
53  return _unknown_fields_;
54  }
55 
56  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
57  return &_unknown_fields_;
58  }
59 
60  static const ::google::protobuf::Descriptor* descriptor();
61  static const ROOTFilePB_Histo& default_instance();
62 
63  void Swap(ROOTFilePB_Histo* other);
64 
65  // implements Message ----------------------------------------------
66 
67  ROOTFilePB_Histo* New() const;
68  void CopyFrom(const ::google::protobuf::Message& from);
69  void MergeFrom(const ::google::protobuf::Message& from);
70  void CopyFrom(const ROOTFilePB_Histo& from);
71  void MergeFrom(const ROOTFilePB_Histo& from);
72  void Clear();
73  bool IsInitialized() const;
74 
75  int ByteSize() const;
77  ::google::protobuf::io::CodedInputStream* input);
79  ::google::protobuf::io::CodedOutputStream* output) const;
81  int GetCachedSize() const { return _cached_size_; }
82  private:
83  void SharedCtor();
84  void SharedDtor();
85  void SetCachedSize(int size) const;
86  public:
87 
88  ::google::protobuf::Metadata GetMetadata() const;
89 
90  // nested types ----------------------------------------------------
91 
92  // accessors -------------------------------------------------------
93 
94  // required string full_pathname = 1;
95  inline bool has_full_pathname() const;
96  inline void clear_full_pathname();
97  static const int kFullPathnameFieldNumber = 1;
98  inline const ::std::string& full_pathname() const;
100  inline void set_full_pathname(const char* value);
101  inline void set_full_pathname(const char* value, size_t size);
104 
105  // required uint32 size = 2;
106  inline bool has_size() const;
107  inline void clear_size();
108  static const int kSizeFieldNumber = 2;
110  inline void set_size(::google::protobuf::uint32 value);
111 
112  // required bytes streamed_histo = 3;
113  inline bool has_streamed_histo() const;
114  inline void clear_streamed_histo();
115  static const int kStreamedHistoFieldNumber = 3;
116  inline const ::std::string& streamed_histo() const;
118  inline void set_streamed_histo(const char* value);
119  inline void set_streamed_histo(const void* value, size_t size);
122 
123  // required uint32 flags = 4;
124  inline bool has_flags() const;
125  inline void clear_flags();
126  static const int kFlagsFieldNumber = 4;
129 
130  // @@protoc_insertion_point(class_scope:dqmstorepb.ROOTFilePB.Histo)
131  private:
132  inline void set_has_full_pathname();
133  inline void clear_has_full_pathname();
134  inline void set_has_size();
135  inline void clear_has_size();
136  inline void set_has_streamed_histo();
137  inline void clear_has_streamed_histo();
138  inline void set_has_flags();
139  inline void clear_has_flags();
140 
141  ::google::protobuf::UnknownFieldSet _unknown_fields_;
142 
147 
148  mutable int _cached_size_;
150 
154 
155  void InitAsDefaultInstance();
157 };
158 // -------------------------------------------------------------------
159 
160 class ROOTFilePB : public ::google::protobuf::Message {
161  public:
162  ROOTFilePB();
163  virtual ~ROOTFilePB();
164 
165  ROOTFilePB(const ROOTFilePB& from);
166 
167  inline ROOTFilePB& operator=(const ROOTFilePB& from) {
168  CopyFrom(from);
169  return *this;
170  }
171 
172  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
173  return _unknown_fields_;
174  }
175 
176  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
177  return &_unknown_fields_;
178  }
179 
180  static const ::google::protobuf::Descriptor* descriptor();
181  static const ROOTFilePB& default_instance();
182 
183  void Swap(ROOTFilePB* other);
184 
185  // implements Message ----------------------------------------------
186 
187  ROOTFilePB* New() const;
188  void CopyFrom(const ::google::protobuf::Message& from);
189  void MergeFrom(const ::google::protobuf::Message& from);
190  void CopyFrom(const ROOTFilePB& from);
191  void MergeFrom(const ROOTFilePB& from);
192  void Clear();
193  bool IsInitialized() const;
194 
195  int ByteSize() const;
197  ::google::protobuf::io::CodedInputStream* input);
199  ::google::protobuf::io::CodedOutputStream* output) const;
201  int GetCachedSize() const { return _cached_size_; }
202  private:
203  void SharedCtor();
204  void SharedDtor();
205  void SetCachedSize(int size) const;
206  public:
207 
208  ::google::protobuf::Metadata GetMetadata() const;
209 
210  // nested types ----------------------------------------------------
211 
213 
214  // accessors -------------------------------------------------------
215 
216  // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
217  inline int histo_size() const;
218  inline void clear_histo();
219  static const int kHistoFieldNumber = 1;
220  inline const ::dqmstorepb::ROOTFilePB_Histo& histo(int index) const;
221  inline ::dqmstorepb::ROOTFilePB_Histo* mutable_histo(int index);
222  inline ::dqmstorepb::ROOTFilePB_Histo* add_histo();
223  inline const ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >&
224  histo() const;
225  inline ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >*
226  mutable_histo();
227 
228  // @@protoc_insertion_point(class_scope:dqmstorepb.ROOTFilePB)
229  private:
230 
231  ::google::protobuf::UnknownFieldSet _unknown_fields_;
232 
233  ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > histo_;
234 
235  mutable int _cached_size_;
237 
241 
242  void InitAsDefaultInstance();
244 };
245 // ===================================================================
246 
247 
248 // ===================================================================
249 
250 // ROOTFilePB_Histo
251 
252 // required string full_pathname = 1;
254  return (_has_bits_[0] & 0x00000001u) != 0;
255 }
257  _has_bits_[0] |= 0x00000001u;
258 }
260  _has_bits_[0] &= ~0x00000001u;
261 }
263  if (full_pathname_ != &::google::protobuf::internal::kEmptyString) {
264  full_pathname_->clear();
265  }
267 }
269  return *full_pathname_;
270 }
273  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
275  }
276  full_pathname_->assign(value);
277 }
278 inline void ROOTFilePB_Histo::set_full_pathname(const char* value) {
280  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
282  }
283  full_pathname_->assign(value);
284 }
285 inline void ROOTFilePB_Histo::set_full_pathname(const char* value, size_t size) {
287  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
289  }
290  full_pathname_->assign(reinterpret_cast<const char*>(value), size);
291 }
294  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
296  }
297  return full_pathname_;
298 }
301  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
302  return NULL;
303  } else {
305  full_pathname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
306  return temp;
307  }
308 }
309 
310 // required uint32 size = 2;
311 inline bool ROOTFilePB_Histo::has_size() const {
312  return (_has_bits_[0] & 0x00000002u) != 0;
313 }
315  _has_bits_[0] |= 0x00000002u;
316 }
318  _has_bits_[0] &= ~0x00000002u;
319 }
321  size_ = 0u;
322  clear_has_size();
323 }
325  return size_;
326 }
328  set_has_size();
329  size_ = value;
330 }
331 
332 // required bytes streamed_histo = 3;
334  return (_has_bits_[0] & 0x00000004u) != 0;
335 }
337  _has_bits_[0] |= 0x00000004u;
338 }
340  _has_bits_[0] &= ~0x00000004u;
341 }
343  if (streamed_histo_ != &::google::protobuf::internal::kEmptyString) {
344  streamed_histo_->clear();
345  }
347 }
349  return *streamed_histo_;
350 }
353  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
355  }
356  streamed_histo_->assign(value);
357 }
358 inline void ROOTFilePB_Histo::set_streamed_histo(const char* value) {
360  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
362  }
363  streamed_histo_->assign(value);
364 }
365 inline void ROOTFilePB_Histo::set_streamed_histo(const void* value, size_t size) {
367  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
369  }
370  streamed_histo_->assign(reinterpret_cast<const char*>(value), size);
371 }
374  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
376  }
377  return streamed_histo_;
378 }
381  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
382  return NULL;
383  } else {
385  streamed_histo_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
386  return temp;
387  }
388 }
389 
390 // required uint32 flags = 4;
391 inline bool ROOTFilePB_Histo::has_flags() const {
392  return (_has_bits_[0] & 0x00000008u) != 0;
393 }
395  _has_bits_[0] |= 0x00000008u;
396 }
398  _has_bits_[0] &= ~0x00000008u;
399 }
401  flags_ = 0u;
402  clear_has_flags();
403 }
405  return flags_;
406 }
408  set_has_flags();
409  flags_ = value;
410 }
411 
412 // -------------------------------------------------------------------
413 
414 // ROOTFilePB
415 
416 // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
417 inline int ROOTFilePB::histo_size() const {
418  return histo_.size();
419 }
420 inline void ROOTFilePB::clear_histo() {
421  histo_.Clear();
422 }
423 inline const ::dqmstorepb::ROOTFilePB_Histo& ROOTFilePB::histo(int index) const {
424  return histo_.Get(index);
425 }
426 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::mutable_histo(int index) {
427  return histo_.Mutable(index);
428 }
429 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::add_histo() {
430  return histo_.Add();
431 }
432 inline const ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >&
434  return histo_;
435 }
436 inline ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >*
438  return &histo_;
439 }
440 
441 
442 // @@protoc_insertion_point(namespace_scope)
443 
444 } // namespace dqmstorepb
445 
446 #ifndef SWIG
447 namespace google {
448 namespace protobuf {
449 
450 
451 } // namespace google
452 } // namespace protobuf
453 #endif // SWIG
454 
455 // @@protoc_insertion_point(global_scope)
456 
457 #endif // PROTOBUF_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto__INCLUDED
::google::protobuf::uint32 flags_
void CopyFrom(const ::google::protobuf::Message &from)
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_
friend void protobuf_ShutdownFile_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
::google::protobuf::Metadata GetMetadata() const
ROOTFilePB & operator=(const ROOTFilePB &from)
friend void protobuf_AddDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
::google::protobuf::uint32 _has_bits_[(1+31)/32]
void protobuf_ShutdownFile_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_AssignDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
inline::std::string * release_full_pathname()
static const int kSizeFieldNumber
#define NULL
Definition: scimark2.h:8
void MergeFrom(const ::google::protobuf::Message &from)
friend void protobuf_AssignDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
::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
ROOTFilePB_Histo Histo
static const int kStreamedHistoFieldNumber
::google::protobuf::uint32 _has_bits_[(4+31)/32]
ROOTFilePB * New() const
::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > histo_
void CopyFrom(const ::google::protobuf::Message &from)
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
friend void protobuf_ShutdownFile_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
int GetCachedSize() const
void protobuf_AddDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: ROOTFilePB.pb.h:52
static const int kHistoFieldNumber
unsigned int uint32
Definition: MsgTools.h:13
ROOTFilePB_Histo & operator=(const ROOTFilePB_Histo &from)
Definition: ROOTFilePB.pb.h:47
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_
inline::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > * mutable_histo()
::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()
inline::dqmstorepb::ROOTFilePB_Histo * add_histo()
static const int kFlagsFieldNumber
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: ROOTFilePB.pb.h:56
inline::google::protobuf::uint32 flags() const
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
inline::std::string * mutable_streamed_histo()
void protobuf_AssignDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
inline::std::string * release_streamed_histo()
void Swap(ROOTFilePB_Histo *other)
static ROOTFilePB_Histo * default_instance_
ROOTFilePB_Histo * New() const
static const ::google::protobuf::Descriptor * descriptor()
tuple size
Write out results.
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_streamed_histo(const ::std::string &value)