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: ROOTFilePB.proto
3 
4 #ifndef PROTOBUF_ROOTFilePB_2eproto__INCLUDED
5 #define PROTOBUF_ROOTFilePB_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  // @@protoc_insertion_point(class_scope:dqmstorepb.ROOTFilePB.Histo)
124  private:
125  inline void set_has_full_pathname();
126  inline void clear_has_full_pathname();
127  inline void set_has_size();
128  inline void clear_has_size();
129  inline void set_has_streamed_histo();
130  inline void clear_has_streamed_histo();
131 
132  ::google::protobuf::UnknownFieldSet _unknown_fields_;
133 
137 
138  mutable int _cached_size_;
140 
144 
145  void InitAsDefaultInstance();
147 };
148 // -------------------------------------------------------------------
149 
150 class ROOTFilePB : public ::google::protobuf::Message {
151  public:
152  ROOTFilePB();
153  virtual ~ROOTFilePB();
154 
155  ROOTFilePB(const ROOTFilePB& from);
156 
157  inline ROOTFilePB& operator=(const ROOTFilePB& from) {
158  CopyFrom(from);
159  return *this;
160  }
161 
162  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
163  return _unknown_fields_;
164  }
165 
166  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
167  return &_unknown_fields_;
168  }
169 
170  static const ::google::protobuf::Descriptor* descriptor();
171  static const ROOTFilePB& default_instance();
172 
173  void Swap(ROOTFilePB* other);
174 
175  // implements Message ----------------------------------------------
176 
177  ROOTFilePB* New() const;
178  void CopyFrom(const ::google::protobuf::Message& from);
179  void MergeFrom(const ::google::protobuf::Message& from);
180  void CopyFrom(const ROOTFilePB& from);
181  void MergeFrom(const ROOTFilePB& from);
182  void Clear();
183  bool IsInitialized() const;
184 
185  int ByteSize() const;
187  ::google::protobuf::io::CodedInputStream* input);
189  ::google::protobuf::io::CodedOutputStream* output) const;
191  int GetCachedSize() const { return _cached_size_; }
192  private:
193  void SharedCtor();
194  void SharedDtor();
195  void SetCachedSize(int size) const;
196  public:
197 
198  ::google::protobuf::Metadata GetMetadata() const;
199 
200  // nested types ----------------------------------------------------
201 
203 
204  // accessors -------------------------------------------------------
205 
206  // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
207  inline int histo_size() const;
208  inline void clear_histo();
209  static const int kHistoFieldNumber = 1;
210  inline const ::dqmstorepb::ROOTFilePB_Histo& histo(int index) const;
211  inline ::dqmstorepb::ROOTFilePB_Histo* mutable_histo(int index);
212  inline ::dqmstorepb::ROOTFilePB_Histo* add_histo();
213  inline const ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >&
214  histo() const;
215  inline ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >*
216  mutable_histo();
217 
218  // @@protoc_insertion_point(class_scope:dqmstorepb.ROOTFilePB)
219  private:
220 
221  ::google::protobuf::UnknownFieldSet _unknown_fields_;
222 
223  ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > histo_;
224 
225  mutable int _cached_size_;
227 
231 
232  void InitAsDefaultInstance();
234 };
235 // ===================================================================
236 
237 
238 // ===================================================================
239 
240 // ROOTFilePB_Histo
241 
242 // required string full_pathname = 1;
244  return (_has_bits_[0] & 0x00000001u) != 0;
245 }
247  _has_bits_[0] |= 0x00000001u;
248 }
250  _has_bits_[0] &= ~0x00000001u;
251 }
253  if (full_pathname_ != &::google::protobuf::internal::kEmptyString) {
254  full_pathname_->clear();
255  }
257 }
259  return *full_pathname_;
260 }
263  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
265  }
266  full_pathname_->assign(value);
267 }
268 inline void ROOTFilePB_Histo::set_full_pathname(const char* value) {
270  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
272  }
273  full_pathname_->assign(value);
274 }
275 inline void ROOTFilePB_Histo::set_full_pathname(const char* value, size_t size) {
277  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
279  }
280  full_pathname_->assign(reinterpret_cast<const char*>(value), size);
281 }
284  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
286  }
287  return full_pathname_;
288 }
291  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
292  return NULL;
293  } else {
295  full_pathname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
296  return temp;
297  }
298 }
299 
300 // required uint32 size = 2;
301 inline bool ROOTFilePB_Histo::has_size() const {
302  return (_has_bits_[0] & 0x00000002u) != 0;
303 }
305  _has_bits_[0] |= 0x00000002u;
306 }
308  _has_bits_[0] &= ~0x00000002u;
309 }
311  size_ = 0u;
312  clear_has_size();
313 }
315  return size_;
316 }
318  set_has_size();
319  size_ = value;
320 }
321 
322 // required bytes streamed_histo = 3;
324  return (_has_bits_[0] & 0x00000004u) != 0;
325 }
327  _has_bits_[0] |= 0x00000004u;
328 }
330  _has_bits_[0] &= ~0x00000004u;
331 }
333  if (streamed_histo_ != &::google::protobuf::internal::kEmptyString) {
334  streamed_histo_->clear();
335  }
337 }
339  return *streamed_histo_;
340 }
343  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
345  }
346  streamed_histo_->assign(value);
347 }
348 inline void ROOTFilePB_Histo::set_streamed_histo(const char* value) {
350  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
352  }
353  streamed_histo_->assign(value);
354 }
355 inline void ROOTFilePB_Histo::set_streamed_histo(const void* value, size_t size) {
357  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
359  }
360  streamed_histo_->assign(reinterpret_cast<const char*>(value), size);
361 }
364  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
366  }
367  return streamed_histo_;
368 }
371  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
372  return NULL;
373  } else {
375  streamed_histo_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
376  return temp;
377  }
378 }
379 
380 // -------------------------------------------------------------------
381 
382 // ROOTFilePB
383 
384 // repeated .dqmstorepb.ROOTFilePB.Histo histo = 1;
385 inline int ROOTFilePB::histo_size() const {
386  return histo_.size();
387 }
388 inline void ROOTFilePB::clear_histo() {
389  histo_.Clear();
390 }
391 inline const ::dqmstorepb::ROOTFilePB_Histo& ROOTFilePB::histo(int index) const {
392  return histo_.Get(index);
393 }
394 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::mutable_histo(int index) {
395  return histo_.Mutable(index);
396 }
397 inline ::dqmstorepb::ROOTFilePB_Histo* ROOTFilePB::add_histo() {
398  return histo_.Add();
399 }
400 inline const ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >&
402  return histo_;
403 }
404 inline ::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo >*
406  return &histo_;
407 }
408 
409 
410 // @@protoc_insertion_point(namespace_scope)
411 
412 } // namespace dqmstorepb
413 
414 #ifndef SWIG
415 namespace google {
416 namespace protobuf {
417 
418 
419 } // namespace google
420 } // namespace protobuf
421 #endif // SWIG
422 
423 // @@protoc_insertion_point(global_scope)
424 
425 #endif // PROTOBUF_ROOTFilePB_2eproto__INCLUDED
void CopyFrom(const ::google::protobuf::Message &from)
static const ROOTFilePB & default_instance()
inline::google::protobuf::uint32 size() const
bool IsInitialized() const
const ::std::string & full_pathname() const
::std::string * streamed_histo_
::google::protobuf::uint32 _has_bits_[(3+31)/32]
::google::protobuf::Metadata GetMetadata() const
ROOTFilePB & operator=(const ROOTFilePB &from)
void protobuf_ShutdownFile_ROOTFilePB_2eproto()
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
::google::protobuf::uint32 _has_bits_[(1+31)/32]
::google::protobuf::UnknownFieldSet _unknown_fields_
inline::std::string * release_full_pathname()
friend void protobuf_ShutdownFile_ROOTFilePB_2eproto()
static const int kSizeFieldNumber
#define NULL
Definition: scimark2.h:8
void MergeFrom(const ::google::protobuf::Message &from)
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
static const ROOTFilePB_Histo & default_instance()
const ::std::string & streamed_histo() const
void protobuf_AssignDesc_ROOTFilePB_2eproto()
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_
friend void protobuf_ShutdownFile_ROOTFilePB_2eproto()
void SetCachedSize(int size) const
void Swap(ROOTFilePB *other)
void SetCachedSize(int size) const
ROOTFilePB_Histo Histo
static const int kStreamedHistoFieldNumber
ROOTFilePB * New() const
::google::protobuf::RepeatedPtrField< ::dqmstorepb::ROOTFilePB_Histo > histo_
void CopyFrom(const ::google::protobuf::Message &from)
friend void protobuf_AddDesc_ROOTFilePB_2eproto()
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
friend void protobuf_AddDesc_ROOTFilePB_2eproto()
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
int GetCachedSize() const
friend void protobuf_AssignDesc_ROOTFilePB_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()
friend void protobuf_AssignDesc_ROOTFilePB_2eproto()
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()
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: ROOTFilePB.pb.h:56
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
inline::std::string * mutable_streamed_histo()
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 protobuf_AddDesc_ROOTFilePB_2eproto()
void set_streamed_histo(const ::std::string &value)