CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | Friends
dqmstorepb::ROOTFilePB_Histo Class Reference

#include <ROOTFilePB.pb.h>

Inheritance diagram for dqmstorepb::ROOTFilePB_Histo:

Public Member Functions

int ByteSize () const
 
void Clear ()
 
void clear_flags ()
 
void clear_full_pathname ()
 
void clear_size ()
 
void clear_streamed_histo ()
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const ROOTFilePB_Histo &from)
 
inline::google::protobuf::uint32 flags () const
 
const ::std::string & full_pathname () const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_flags () const
 
bool has_full_pathname () const
 
bool has_size () const
 
bool has_streamed_histo () const
 
bool IsInitialized () const
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ROOTFilePB_Histo &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
inline::std::string * mutable_full_pathname ()
 
inline::std::string * mutable_streamed_histo ()
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
ROOTFilePB_HistoNew () const
 
ROOTFilePB_Histooperator= (const ROOTFilePB_Histo &from)
 
inline::std::string * release_full_pathname ()
 
inline::std::string * release_streamed_histo ()
 
 ROOTFilePB_Histo ()
 
 ROOTFilePB_Histo (const ROOTFilePB_Histo &from)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
void set_flags (::google::protobuf::uint32 value)
 
void set_full_pathname (const ::std::string &value)
 
void set_full_pathname (const char *value)
 
void set_full_pathname (const char *value, size_t size)
 
void set_size (::google::protobuf::uint32 value)
 
void set_streamed_histo (const ::std::string &value)
 
void set_streamed_histo (const char *value)
 
void set_streamed_histo (const void *value, size_t size)
 
inline::google::protobuf::uint32 size () const
 
const ::std::string & streamed_histo () const
 
void Swap (ROOTFilePB_Histo *other)
 
const
::google::protobuf::UnknownFieldSet & 
unknown_fields () const
 
virtual ~ROOTFilePB_Histo ()
 

Static Public Member Functions

static const ROOTFilePB_Histodefault_instance ()
 
static const
::google::protobuf::Descriptor * 
descriptor ()
 

Static Public Attributes

static const int kFlagsFieldNumber = 4
 
static const int kFullPathnameFieldNumber = 1
 
static const int kSizeFieldNumber = 2
 
static const int kStreamedHistoFieldNumber = 3
 

Private Member Functions

void clear_has_flags ()
 
void clear_has_full_pathname ()
 
void clear_has_size ()
 
void clear_has_streamed_histo ()
 
void InitAsDefaultInstance ()
 
void set_has_flags ()
 
void set_has_full_pathname ()
 
void set_has_size ()
 
void set_has_streamed_histo ()
 
void SetCachedSize (int size) const
 
void SharedCtor ()
 
void SharedDtor ()
 

Private Attributes

int _cached_size_
 
::google::protobuf::uint32 _has_bits_ [(4+31)/32]
 
::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 flags_
 
::std::string * full_pathname_
 
::google::protobuf::uint32 size_
 
::std::string * streamed_histo_
 

Static Private Attributes

static ROOTFilePB_Histodefault_instance_ = NULL
 

Friends

void protobuf_AddDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto ()
 
void protobuf_AssignDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto ()
 
void protobuf_ShutdownFile_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto ()
 

Detailed Description

Definition at line 40 of file ROOTFilePB.pb.h.

Constructor & Destructor Documentation

dqmstorepb::ROOTFilePB_Histo::ROOTFilePB_Histo ( )

Definition at line 134 of file ROOTFilePB.pb.cc.

References SharedCtor().

Referenced by New().

135  : ::google::protobuf::Message() {
136  SharedCtor();
137 }
dqmstorepb::ROOTFilePB_Histo::~ROOTFilePB_Histo ( )
virtual

Definition at line 157 of file ROOTFilePB.pb.cc.

References SharedDtor().

157  {
158  SharedDtor();
159 }
dqmstorepb::ROOTFilePB_Histo::ROOTFilePB_Histo ( const ROOTFilePB_Histo from)

Definition at line 142 of file ROOTFilePB.pb.cc.

References MergeFrom(), and SharedCtor().

143  : ::google::protobuf::Message() {
144  SharedCtor();
145  MergeFrom(from);
146 }
void MergeFrom(const ::google::protobuf::Message &from)

Member Function Documentation

int dqmstorepb::ROOTFilePB_Histo::ByteSize ( ) const

Definition at line 364 of file ROOTFilePB.pb.cc.

References _cached_size_, _has_bits_, relativeConstraints::empty, flags(), full_pathname(), has_flags(), has_full_pathname(), has_size(), has_streamed_histo(), size(), streamed_histo(), and unknown_fields().

364  {
365  int total_size = 0;
366 
367  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
368  // required string full_pathname = 1;
369  if (has_full_pathname()) {
370  total_size += 1 +
371  ::google::protobuf::internal::WireFormatLite::StringSize(
372  this->full_pathname());
373  }
374 
375  // required uint32 size = 2;
376  if (has_size()) {
377  total_size += 1 +
378  ::google::protobuf::internal::WireFormatLite::UInt32Size(
379  this->size());
380  }
381 
382  // required bytes streamed_histo = 3;
383  if (has_streamed_histo()) {
384  total_size += 1 +
385  ::google::protobuf::internal::WireFormatLite::BytesSize(
386  this->streamed_histo());
387  }
388 
389  // required uint32 flags = 4;
390  if (has_flags()) {
391  total_size += 1 +
392  ::google::protobuf::internal::WireFormatLite::UInt32Size(
393  this->flags());
394  }
395 
396  }
397  if (!unknown_fields().empty()) {
398  total_size +=
399  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
400  unknown_fields());
401  }
402  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
403  _cached_size_ = total_size;
404  GOOGLE_SAFE_CONCURRENT_WRITES_END();
405  return total_size;
406 }
inline::google::protobuf::uint32 size() const
const ::std::string & full_pathname() const
const ::std::string & streamed_histo() const
::google::protobuf::uint32 _has_bits_[(4+31)/32]
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: ROOTFilePB.pb.h:52
inline::google::protobuf::uint32 flags() const
void dqmstorepb::ROOTFilePB_Histo::Clear ( )

Definition at line 192 of file ROOTFilePB.pb.cc.

References _has_bits_, flags_, full_pathname_, has_full_pathname(), has_streamed_histo(), mutable_unknown_fields(), size_, and streamed_histo_.

Referenced by CopyFrom().

192  {
193  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
194  if (has_full_pathname()) {
195  if (full_pathname_ != &::google::protobuf::internal::kEmptyString) {
196  full_pathname_->clear();
197  }
198  }
199  size_ = 0u;
200  if (has_streamed_histo()) {
201  if (streamed_histo_ != &::google::protobuf::internal::kEmptyString) {
202  streamed_histo_->clear();
203  }
204  }
205  flags_ = 0u;
206  }
207  ::memset(_has_bits_, 0, sizeof(_has_bits_));
208  mutable_unknown_fields()->Clear();
209 }
::google::protobuf::uint32 flags_
::std::string * streamed_histo_
::google::protobuf::uint32 _has_bits_[(4+31)/32]
::google::protobuf::uint32 size_
::std::string * full_pathname_
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: ROOTFilePB.pb.h:56
void dqmstorepb::ROOTFilePB_Histo::clear_flags ( )
inline

Definition at line 400 of file ROOTFilePB.pb.h.

References clear_has_flags(), and flags_.

400  {
401  flags_ = 0u;
402  clear_has_flags();
403 }
::google::protobuf::uint32 flags_
void dqmstorepb::ROOTFilePB_Histo::clear_full_pathname ( )
inline

Definition at line 262 of file ROOTFilePB.pb.h.

References clear_has_full_pathname(), and full_pathname_.

262  {
263  if (full_pathname_ != &::google::protobuf::internal::kEmptyString) {
264  full_pathname_->clear();
265  }
267 }
::std::string * full_pathname_
void dqmstorepb::ROOTFilePB_Histo::clear_has_flags ( )
inlineprivate

Definition at line 397 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by clear_flags().

397  {
398  _has_bits_[0] &= ~0x00000008u;
399 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void dqmstorepb::ROOTFilePB_Histo::clear_has_full_pathname ( )
inlineprivate

Definition at line 259 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by clear_full_pathname(), and release_full_pathname().

259  {
260  _has_bits_[0] &= ~0x00000001u;
261 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void dqmstorepb::ROOTFilePB_Histo::clear_has_size ( )
inlineprivate

Definition at line 317 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by clear_size().

317  {
318  _has_bits_[0] &= ~0x00000002u;
319 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void dqmstorepb::ROOTFilePB_Histo::clear_has_streamed_histo ( )
inlineprivate

Definition at line 339 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by clear_streamed_histo(), and release_streamed_histo().

339  {
340  _has_bits_[0] &= ~0x00000004u;
341 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void dqmstorepb::ROOTFilePB_Histo::clear_size ( )
inline

Definition at line 320 of file ROOTFilePB.pb.h.

References clear_has_size(), and size_.

320  {
321  size_ = 0u;
322  clear_has_size();
323 }
::google::protobuf::uint32 size_
void dqmstorepb::ROOTFilePB_Histo::clear_streamed_histo ( )
inline

Definition at line 342 of file ROOTFilePB.pb.h.

References clear_has_streamed_histo(), and streamed_histo_.

342  {
343  if (streamed_histo_ != &::google::protobuf::internal::kEmptyString) {
344  streamed_histo_->clear();
345  }
347 }
::std::string * streamed_histo_
void dqmstorepb::ROOTFilePB_Histo::CopyFrom ( const ::google::protobuf::Message &  from)

Definition at line 439 of file ROOTFilePB.pb.cc.

References Clear(), and MergeFrom().

Referenced by operator=().

439  {
440  if (&from == this) return;
441  Clear();
442  MergeFrom(from);
443 }
void MergeFrom(const ::google::protobuf::Message &from)
void dqmstorepb::ROOTFilePB_Histo::CopyFrom ( const ROOTFilePB_Histo from)

Definition at line 445 of file ROOTFilePB.pb.cc.

References Clear(), and MergeFrom().

445  {
446  if (&from == this) return;
447  Clear();
448  MergeFrom(from);
449 }
void MergeFrom(const ::google::protobuf::Message &from)
const ROOTFilePB_Histo & dqmstorepb::ROOTFilePB_Histo::default_instance ( )
static

Definition at line 182 of file ROOTFilePB.pb.cc.

References default_instance_, NULL, and protobuf_AddDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto.

182  {
184 }
friend void protobuf_AddDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
#define NULL
Definition: scimark2.h:8
static ROOTFilePB_Histo * default_instance_
const ::google::protobuf::Descriptor * dqmstorepb::ROOTFilePB_Histo::descriptor ( )
static

Definition at line 177 of file ROOTFilePB.pb.cc.

177  {
178  protobuf_AssignDescriptorsOnce();
179  return ROOTFilePB_Histo_descriptor_;
180 }
google::protobuf::uint32 dqmstorepb::ROOTFilePB_Histo::flags ( void  ) const
inline

Definition at line 404 of file ROOTFilePB.pb.h.

References flags_.

Referenced by addFile(), ByteSize(), dumpFiles(), MergeFrom(), DQMStore::readFilePB(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

404  {
405  return flags_;
406 }
::google::protobuf::uint32 flags_
const ::std::string & dqmstorepb::ROOTFilePB_Histo::full_pathname ( ) const
inline
int dqmstorepb::ROOTFilePB_Histo::GetCachedSize ( ) const
inline

Definition at line 81 of file ROOTFilePB.pb.h.

References _cached_size_.

google::protobuf::Metadata dqmstorepb::ROOTFilePB_Histo::GetMetadata ( ) const

Definition at line 469 of file ROOTFilePB.pb.cc.

469  {
470  protobuf_AssignDescriptorsOnce();
471  ::google::protobuf::Metadata metadata;
472  metadata.descriptor = ROOTFilePB_Histo_descriptor_;
473  metadata.reflection = ROOTFilePB_Histo_reflection_;
474  return metadata;
475 }
bool dqmstorepb::ROOTFilePB_Histo::has_flags ( ) const
inline

Definition at line 391 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by ByteSize(), MergeFrom(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

391  {
392  return (_has_bits_[0] & 0x00000008u) != 0;
393 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
bool dqmstorepb::ROOTFilePB_Histo::has_full_pathname ( ) const
inline

Definition at line 253 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by ByteSize(), Clear(), MergeFrom(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

253  {
254  return (_has_bits_[0] & 0x00000001u) != 0;
255 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
bool dqmstorepb::ROOTFilePB_Histo::has_size ( ) const
inline

Definition at line 311 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by ByteSize(), MergeFrom(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

311  {
312  return (_has_bits_[0] & 0x00000002u) != 0;
313 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
bool dqmstorepb::ROOTFilePB_Histo::has_streamed_histo ( ) const
inline

Definition at line 333 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by ByteSize(), Clear(), MergeFrom(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

333  {
334  return (_has_bits_[0] & 0x00000004u) != 0;
335 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void dqmstorepb::ROOTFilePB_Histo::InitAsDefaultInstance ( )
private
bool dqmstorepb::ROOTFilePB_Histo::IsInitialized ( ) const

Definition at line 451 of file ROOTFilePB.pb.cc.

References _has_bits_.

451  {
452  if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
453 
454  return true;
455 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void dqmstorepb::ROOTFilePB_Histo::MergeFrom ( const ::google::protobuf::Message &  from)

Definition at line 408 of file ROOTFilePB.pb.cc.

References NULL, and source.

Referenced by CopyFrom(), and ROOTFilePB_Histo().

408  {
409  GOOGLE_CHECK_NE(&from, this);
410  const ROOTFilePB_Histo* source =
411  ::google::protobuf::internal::dynamic_cast_if_available<const ROOTFilePB_Histo*>(
412  &from);
413  if (source == NULL) {
414  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
415  } else {
416  MergeFrom(*source);
417  }
418 }
#define NULL
Definition: scimark2.h:8
void MergeFrom(const ::google::protobuf::Message &from)
static std::string const source
Definition: EdmProvDump.cc:43
void dqmstorepb::ROOTFilePB_Histo::MergeFrom ( const ROOTFilePB_Histo from)

Definition at line 420 of file ROOTFilePB.pb.cc.

References _has_bits_, flags(), full_pathname(), has_flags(), has_full_pathname(), has_size(), has_streamed_histo(), mutable_unknown_fields(), set_flags(), set_full_pathname(), set_size(), set_streamed_histo(), size(), streamed_histo(), and unknown_fields().

420  {
421  GOOGLE_CHECK_NE(&from, this);
422  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
423  if (from.has_full_pathname()) {
424  set_full_pathname(from.full_pathname());
425  }
426  if (from.has_size()) {
427  set_size(from.size());
428  }
429  if (from.has_streamed_histo()) {
430  set_streamed_histo(from.streamed_histo());
431  }
432  if (from.has_flags()) {
433  set_flags(from.flags());
434  }
435  }
436  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
437 }
void set_flags(::google::protobuf::uint32 value)
void set_size(::google::protobuf::uint32 value)
void set_full_pathname(const ::std::string &value)
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: ROOTFilePB.pb.h:56
void set_streamed_histo(const ::std::string &value)
bool dqmstorepb::ROOTFilePB_Histo::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)

Definition at line 211 of file ROOTFilePB.pb.cc.

References AlCaHLTBitMon_QueryRunRegistry::data, DO_, flags_, full_pathname(), mutable_full_pathname(), mutable_streamed_histo(), mutable_unknown_fields(), python.rootplot.core::parse_size(), set_has_flags(), set_has_size(), size_, and GlobalPosition_Frontier_DevDB_cff::tag.

212  {
213 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
215  while ((tag = input->ReadTag()) != 0) {
216  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
217  // required string full_pathname = 1;
218  case 1: {
219  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
220  ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
221  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
222  input, this->mutable_full_pathname()));
223  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
224  this->full_pathname().data(), this->full_pathname().length(),
225  ::google::protobuf::internal::WireFormat::PARSE);
226  } else {
227  goto handle_uninterpreted;
228  }
229  if (input->ExpectTag(16)) goto parse_size;
230  break;
231  }
232 
233  // required uint32 size = 2;
234  case 2: {
235  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
236  ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
237  parse_size:
238  DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
239  ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
240  input, &size_)));
241  set_has_size();
242  } else {
243  goto handle_uninterpreted;
244  }
245  if (input->ExpectTag(26)) goto parse_streamed_histo;
246  break;
247  }
248 
249  // required bytes streamed_histo = 3;
250  case 3: {
251  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
252  ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
253  parse_streamed_histo:
254  DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
255  input, this->mutable_streamed_histo()));
256  } else {
257  goto handle_uninterpreted;
258  }
259  if (input->ExpectTag(32)) goto parse_flags;
260  break;
261  }
262 
263  // required uint32 flags = 4;
264  case 4: {
265  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
266  ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
267  parse_flags:
268  DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
269  ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
270  input, &flags_)));
271  set_has_flags();
272  } else {
273  goto handle_uninterpreted;
274  }
275  if (input->ExpectAtEnd()) return true;
276  break;
277  }
278 
279  default: {
280  handle_uninterpreted:
281  if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
282  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
283  return true;
284  }
285  DO_(::google::protobuf::internal::WireFormat::SkipField(
286  input, tag, mutable_unknown_fields()));
287  break;
288  }
289  }
290  }
291  return true;
292 #undef DO_
293 }
::google::protobuf::uint32 flags_
const ::std::string & full_pathname() const
#define DO_(EXPRESSION)
static std::string const input
Definition: EdmProvDump.cc:44
unsigned int uint32
Definition: MsgTools.h:13
::google::protobuf::uint32 size_
inline::std::string * mutable_full_pathname()
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: ROOTFilePB.pb.h:56
inline::std::string * mutable_streamed_histo()
std::string * dqmstorepb::ROOTFilePB_Histo::mutable_full_pathname ( )
inline

Definition at line 292 of file ROOTFilePB.pb.h.

References full_pathname_, set_has_full_pathname(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by MergePartialFromCodedStream().

292  {
294  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
296  }
297  return full_pathname_;
298 }
::std::string * full_pathname_
std::string * dqmstorepb::ROOTFilePB_Histo::mutable_streamed_histo ( )
inline

Definition at line 372 of file ROOTFilePB.pb.h.

References set_has_streamed_histo(), streamed_histo_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by MergePartialFromCodedStream().

372  {
374  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
376  }
377  return streamed_histo_;
378 }
::std::string * streamed_histo_
inline ::google::protobuf::UnknownFieldSet* dqmstorepb::ROOTFilePB_Histo::mutable_unknown_fields ( )
inline

Definition at line 56 of file ROOTFilePB.pb.h.

References _unknown_fields_.

Referenced by Clear(), MergeFrom(), and MergePartialFromCodedStream().

56  {
57  return &_unknown_fields_;
58  }
::google::protobuf::UnknownFieldSet _unknown_fields_
ROOTFilePB_Histo * dqmstorepb::ROOTFilePB_Histo::New ( ) const

Definition at line 188 of file ROOTFilePB.pb.cc.

References ROOTFilePB_Histo().

188  {
189  return new ROOTFilePB_Histo;
190 }
ROOTFilePB_Histo& dqmstorepb::ROOTFilePB_Histo::operator= ( const ROOTFilePB_Histo from)
inline

Definition at line 47 of file ROOTFilePB.pb.h.

References CopyFrom().

47  {
48  CopyFrom(from);
49  return *this;
50  }
void CopyFrom(const ::google::protobuf::Message &from)
std::string * dqmstorepb::ROOTFilePB_Histo::release_full_pathname ( )
inline

Definition at line 299 of file ROOTFilePB.pb.h.

References clear_has_full_pathname(), full_pathname_, NULL, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.

299  {
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 }
#define NULL
Definition: scimark2.h:8
::std::string * full_pathname_
std::string * dqmstorepb::ROOTFilePB_Histo::release_streamed_histo ( )
inline

Definition at line 379 of file ROOTFilePB.pb.h.

References clear_has_streamed_histo(), NULL, streamed_histo_, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.

379  {
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 }
::std::string * streamed_histo_
#define NULL
Definition: scimark2.h:8
void dqmstorepb::ROOTFilePB_Histo::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const

Definition at line 295 of file ROOTFilePB.pb.cc.

References AlCaHLTBitMon_QueryRunRegistry::data, relativeConstraints::empty, flags(), full_pathname(), has_flags(), has_full_pathname(), has_size(), has_streamed_histo(), size(), streamed_histo(), and unknown_fields().

296  {
297  // required string full_pathname = 1;
298  if (has_full_pathname()) {
299  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
300  this->full_pathname().data(), this->full_pathname().length(),
301  ::google::protobuf::internal::WireFormat::SERIALIZE);
302  ::google::protobuf::internal::WireFormatLite::WriteString(
303  1, this->full_pathname(), output);
304  }
305 
306  // required uint32 size = 2;
307  if (has_size()) {
308  ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->size(), output);
309  }
310 
311  // required bytes streamed_histo = 3;
312  if (has_streamed_histo()) {
313  ::google::protobuf::internal::WireFormatLite::WriteBytes(
314  3, this->streamed_histo(), output);
315  }
316 
317  // required uint32 flags = 4;
318  if (has_flags()) {
319  ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->flags(), output);
320  }
321 
322  if (!unknown_fields().empty()) {
323  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
325  }
326 }
inline::google::protobuf::uint32 size() const
const ::std::string & full_pathname() const
const ::std::string & streamed_histo() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: ROOTFilePB.pb.h:52
inline::google::protobuf::uint32 flags() const
google::protobuf::uint8 * dqmstorepb::ROOTFilePB_Histo::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const

Definition at line 328 of file ROOTFilePB.pb.cc.

References AlCaHLTBitMon_QueryRunRegistry::data, relativeConstraints::empty, flags(), full_pathname(), has_flags(), has_full_pathname(), has_size(), has_streamed_histo(), size(), streamed_histo(), filterCSVwithJSON::target, and unknown_fields().

329  {
330  // required string full_pathname = 1;
331  if (has_full_pathname()) {
332  ::google::protobuf::internal::WireFormat::VerifyUTF8String(
333  this->full_pathname().data(), this->full_pathname().length(),
334  ::google::protobuf::internal::WireFormat::SERIALIZE);
335  target =
336  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
337  1, this->full_pathname(), target);
338  }
339 
340  // required uint32 size = 2;
341  if (has_size()) {
342  target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->size(), target);
343  }
344 
345  // required bytes streamed_histo = 3;
346  if (has_streamed_histo()) {
347  target =
348  ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
349  3, this->streamed_histo(), target);
350  }
351 
352  // required uint32 flags = 4;
353  if (has_flags()) {
354  target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->flags(), target);
355  }
356 
357  if (!unknown_fields().empty()) {
358  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
360  }
361  return target;
362 }
inline::google::protobuf::uint32 size() const
const ::std::string & full_pathname() const
const ::std::string & streamed_histo() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: ROOTFilePB.pb.h:52
inline::google::protobuf::uint32 flags() const
void dqmstorepb::ROOTFilePB_Histo::set_flags ( ::google::protobuf::uint32  value)
inline

Definition at line 407 of file ROOTFilePB.pb.h.

References flags_, set_has_flags(), and relativeConstraints::value.

Referenced by fillMessage(), MergeFrom(), DQMStore::savePB(), and tryRootPreload().

407  {
408  set_has_flags();
409  flags_ = value;
410 }
::google::protobuf::uint32 flags_
void dqmstorepb::ROOTFilePB_Histo::set_full_pathname ( const ::std::string &  value)
inline

Definition at line 271 of file ROOTFilePB.pb.h.

References full_pathname_, set_has_full_pathname(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by fillMessage(), MergeFrom(), and DQMStore::savePB().

271  {
273  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
275  }
276  full_pathname_->assign(value);
277 }
::std::string * full_pathname_
void dqmstorepb::ROOTFilePB_Histo::set_full_pathname ( const char *  value)
inline

Definition at line 278 of file ROOTFilePB.pb.h.

References full_pathname_, set_has_full_pathname(), and AlCaHLTBitMon_QueryRunRegistry::string.

278  {
280  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
282  }
283  full_pathname_->assign(value);
284 }
::std::string * full_pathname_
void dqmstorepb::ROOTFilePB_Histo::set_full_pathname ( const char *  value,
size_t  size 
)
inline

Definition at line 285 of file ROOTFilePB.pb.h.

References full_pathname_, set_has_full_pathname(), and AlCaHLTBitMon_QueryRunRegistry::string.

285  {
287  if (full_pathname_ == &::google::protobuf::internal::kEmptyString) {
289  }
290  full_pathname_->assign(reinterpret_cast<const char*>(value), size);
291 }
inline::google::protobuf::uint32 size() const
::std::string * full_pathname_
void dqmstorepb::ROOTFilePB_Histo::set_has_flags ( )
inlineprivate

Definition at line 394 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by MergePartialFromCodedStream(), and set_flags().

394  {
395  _has_bits_[0] |= 0x00000008u;
396 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void dqmstorepb::ROOTFilePB_Histo::set_has_full_pathname ( )
inlineprivate

Definition at line 256 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by mutable_full_pathname(), and set_full_pathname().

256  {
257  _has_bits_[0] |= 0x00000001u;
258 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void dqmstorepb::ROOTFilePB_Histo::set_has_size ( )
inlineprivate

Definition at line 314 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by MergePartialFromCodedStream(), and set_size().

314  {
315  _has_bits_[0] |= 0x00000002u;
316 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void dqmstorepb::ROOTFilePB_Histo::set_has_streamed_histo ( )
inlineprivate

Definition at line 336 of file ROOTFilePB.pb.h.

References _has_bits_.

Referenced by mutable_streamed_histo(), and set_streamed_histo().

336  {
337  _has_bits_[0] |= 0x00000004u;
338 }
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void dqmstorepb::ROOTFilePB_Histo::set_size ( ::google::protobuf::uint32  value)
inline

Definition at line 327 of file ROOTFilePB.pb.h.

References set_has_size(), size_, and relativeConstraints::value.

Referenced by fillMessage(), MergeFrom(), DQMStore::savePB(), and tryRootPreload().

327  {
328  set_has_size();
329  size_ = value;
330 }
::google::protobuf::uint32 size_
void dqmstorepb::ROOTFilePB_Histo::set_streamed_histo ( const ::std::string &  value)
inline

Definition at line 351 of file ROOTFilePB.pb.h.

References set_has_streamed_histo(), streamed_histo_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by fillMessage(), MergeFrom(), DQMStore::savePB(), and tryRootPreload().

351  {
353  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
355  }
356  streamed_histo_->assign(value);
357 }
::std::string * streamed_histo_
void dqmstorepb::ROOTFilePB_Histo::set_streamed_histo ( const char *  value)
inline

Definition at line 358 of file ROOTFilePB.pb.h.

References set_has_streamed_histo(), streamed_histo_, and AlCaHLTBitMon_QueryRunRegistry::string.

358  {
360  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
362  }
363  streamed_histo_->assign(value);
364 }
::std::string * streamed_histo_
void dqmstorepb::ROOTFilePB_Histo::set_streamed_histo ( const void *  value,
size_t  size 
)
inline

Definition at line 365 of file ROOTFilePB.pb.h.

References set_has_streamed_histo(), streamed_histo_, and AlCaHLTBitMon_QueryRunRegistry::string.

365  {
367  if (streamed_histo_ == &::google::protobuf::internal::kEmptyString) {
369  }
370  streamed_histo_->assign(reinterpret_cast<const char*>(value), size);
371 }
inline::google::protobuf::uint32 size() const
::std::string * streamed_histo_
void dqmstorepb::ROOTFilePB_Histo::SetCachedSize ( int  size) const
private

Definition at line 172 of file ROOTFilePB.pb.cc.

References _cached_size_, and size().

172  {
173  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
175  GOOGLE_SAFE_CONCURRENT_WRITES_END();
176 }
inline::google::protobuf::uint32 size() const
void dqmstorepb::ROOTFilePB_Histo::SharedCtor ( )
private

Definition at line 148 of file ROOTFilePB.pb.cc.

References _cached_size_, _has_bits_, flags_, full_pathname_, size_, streamed_histo_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by ROOTFilePB_Histo().

148  {
149  _cached_size_ = 0;
150  full_pathname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
151  size_ = 0u;
152  streamed_histo_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
153  flags_ = 0u;
154  ::memset(_has_bits_, 0, sizeof(_has_bits_));
155 }
::google::protobuf::uint32 flags_
::std::string * streamed_histo_
::google::protobuf::uint32 _has_bits_[(4+31)/32]
::google::protobuf::uint32 size_
::std::string * full_pathname_
void dqmstorepb::ROOTFilePB_Histo::SharedDtor ( )
private

Definition at line 161 of file ROOTFilePB.pb.cc.

References default_instance_, full_pathname_, and streamed_histo_.

Referenced by ~ROOTFilePB_Histo().

161  {
162  if (full_pathname_ != &::google::protobuf::internal::kEmptyString) {
163  delete full_pathname_;
164  }
165  if (streamed_histo_ != &::google::protobuf::internal::kEmptyString) {
166  delete streamed_histo_;
167  }
168  if (this != default_instance_) {
169  }
170 }
::std::string * streamed_histo_
::std::string * full_pathname_
static ROOTFilePB_Histo * default_instance_
google::protobuf::uint32 dqmstorepb::ROOTFilePB_Histo::size ( void  ) const
inline

Definition at line 324 of file ROOTFilePB.pb.h.

References size_.

Referenced by ByteSize(), convertFile(), dumpFiles(), get_info(), DQMStore::get_info(), MergeFrom(), SerializeWithCachedSizes(), SerializeWithCachedSizesToArray(), and SetCachedSize().

324  {
325  return size_;
326 }
::google::protobuf::uint32 size_
const ::std::string & dqmstorepb::ROOTFilePB_Histo::streamed_histo ( ) const
inline
void dqmstorepb::ROOTFilePB_Histo::Swap ( ROOTFilePB_Histo other)

Definition at line 457 of file ROOTFilePB.pb.cc.

References _cached_size_, _has_bits_, _unknown_fields_, flags_, full_pathname_, size_, streamed_histo_, and std::swap().

457  {
458  if (other != this) {
459  std::swap(full_pathname_, other->full_pathname_);
460  std::swap(size_, other->size_);
461  std::swap(streamed_histo_, other->streamed_histo_);
462  std::swap(flags_, other->flags_);
463  std::swap(_has_bits_[0], other->_has_bits_[0]);
464  _unknown_fields_.Swap(&other->_unknown_fields_);
465  std::swap(_cached_size_, other->_cached_size_);
466  }
467 }
::google::protobuf::uint32 flags_
::std::string * streamed_histo_
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::uint32 _has_bits_[(4+31)/32]
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
::google::protobuf::uint32 size_
::std::string * full_pathname_
const ::google::protobuf::UnknownFieldSet& dqmstorepb::ROOTFilePB_Histo::unknown_fields ( ) const
inline

Definition at line 52 of file ROOTFilePB.pb.h.

References _unknown_fields_.

Referenced by ByteSize(), MergeFrom(), SerializeWithCachedSizes(), and SerializeWithCachedSizesToArray().

52  {
53  return _unknown_fields_;
54  }
::google::protobuf::UnknownFieldSet _unknown_fields_

Friends And Related Function Documentation

void protobuf_AddDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto ( )
friend

Definition at line 96 of file ROOTFilePB.pb.cc.

Referenced by default_instance().

96  {
97  static bool already_here = false;
98  if (already_here) return;
99  already_here = true;
100  GOOGLE_PROTOBUF_VERIFY_VERSION;
101 
102  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
103  "\n%DQMServices/Core/src/ROOTFilePB.proto\022"
104  "\ndqmstorepb\"\216\001\n\nROOTFilePB\022+\n\005histo\030\001 \003("
105  "\0132\034.dqmstorepb.ROOTFilePB.Histo\032S\n\005Histo"
106  "\022\025\n\rfull_pathname\030\001 \002(\t\022\014\n\004size\030\002 \002(\r\022\026\n"
107  "\016streamed_histo\030\003 \002(\014\022\r\n\005flags\030\004 \002(\r", 196);
108  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
109  "DQMServices/Core/src/ROOTFilePB.proto", &protobuf_RegisterTypes);
110  ROOTFilePB::default_instance_ = new ROOTFilePB();
114  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto);
115 }
friend void protobuf_ShutdownFile_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
static ROOTFilePB * default_instance_
static ROOTFilePB_Histo * default_instance_
void protobuf_AssignDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto ( )
friend

Definition at line 30 of file ROOTFilePB.pb.cc.

30  {
32  const ::google::protobuf::FileDescriptor* file =
33  ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
34  "DQMServices/Core/src/ROOTFilePB.proto");
35  GOOGLE_CHECK(file != NULL);
36  ROOTFilePB_descriptor_ = file->message_type(0);
37  static const int ROOTFilePB_offsets_[1] = {
38  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB, histo_),
39  };
40  ROOTFilePB_reflection_ =
41  new ::google::protobuf::internal::GeneratedMessageReflection(
42  ROOTFilePB_descriptor_,
44  ROOTFilePB_offsets_,
45  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB, _has_bits_[0]),
46  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB, _unknown_fields_),
47  -1,
48  ::google::protobuf::DescriptorPool::generated_pool(),
49  ::google::protobuf::MessageFactory::generated_factory(),
50  sizeof(ROOTFilePB));
51  ROOTFilePB_Histo_descriptor_ = ROOTFilePB_descriptor_->nested_type(0);
52  static const int ROOTFilePB_Histo_offsets_[4] = {
53  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, full_pathname_),
54  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, size_),
55  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, streamed_histo_),
56  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, flags_),
57  };
58  ROOTFilePB_Histo_reflection_ =
59  new ::google::protobuf::internal::GeneratedMessageReflection(
60  ROOTFilePB_Histo_descriptor_,
62  ROOTFilePB_Histo_offsets_,
63  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, _has_bits_[0]),
64  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ROOTFilePB_Histo, _unknown_fields_),
65  -1,
66  ::google::protobuf::DescriptorPool::generated_pool(),
67  ::google::protobuf::MessageFactory::generated_factory(),
68  sizeof(ROOTFilePB_Histo));
69 }
::google::protobuf::uint32 flags_
::std::string * streamed_histo_
friend void protobuf_AddDesc_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
#define NULL
Definition: scimark2.h:8
static ROOTFilePB * default_instance_
::google::protobuf::uint32 _has_bits_[(4+31)/32]
::google::protobuf::uint32 size_
::std::string * full_pathname_
static ROOTFilePB_Histo * default_instance_
void protobuf_ShutdownFile_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto ( )
friend

Definition at line 89 of file ROOTFilePB.pb.cc.

89  {
91  delete ROOTFilePB_reflection_;
93  delete ROOTFilePB_Histo_reflection_;
94 }
static ROOTFilePB * default_instance_
static ROOTFilePB_Histo * default_instance_

Member Data Documentation

int dqmstorepb::ROOTFilePB_Histo::_cached_size_
mutableprivate

Definition at line 148 of file ROOTFilePB.pb.h.

Referenced by ByteSize(), GetCachedSize(), SetCachedSize(), SharedCtor(), and Swap().

::google::protobuf::uint32 dqmstorepb::ROOTFilePB_Histo::_has_bits_[(4+31)/32]
private
::google::protobuf::UnknownFieldSet dqmstorepb::ROOTFilePB_Histo::_unknown_fields_
private

Definition at line 141 of file ROOTFilePB.pb.h.

Referenced by mutable_unknown_fields(), Swap(), and unknown_fields().

ROOTFilePB_Histo * dqmstorepb::ROOTFilePB_Histo::default_instance_ = NULL
staticprivate
::google::protobuf::uint32 dqmstorepb::ROOTFilePB_Histo::flags_
private
::std::string* dqmstorepb::ROOTFilePB_Histo::full_pathname_
private
const int dqmstorepb::ROOTFilePB_Histo::kFlagsFieldNumber = 4
static

Definition at line 126 of file ROOTFilePB.pb.h.

const int dqmstorepb::ROOTFilePB_Histo::kFullPathnameFieldNumber = 1
static

Definition at line 97 of file ROOTFilePB.pb.h.

const int dqmstorepb::ROOTFilePB_Histo::kSizeFieldNumber = 2
static

Definition at line 108 of file ROOTFilePB.pb.h.

const int dqmstorepb::ROOTFilePB_Histo::kStreamedHistoFieldNumber = 3
static

Definition at line 115 of file ROOTFilePB.pb.h.

::google::protobuf::uint32 dqmstorepb::ROOTFilePB_Histo::size_
private
::std::string* dqmstorepb::ROOTFilePB_Histo::streamed_histo_
private