CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
dqmstorepb::ROOTFilePB_Histo Class Referencefinal

#include <ROOTFilePB.pb.h>

Inheritance diagram for dqmstorepb::ROOTFilePB_Histo:

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int { kFullPathnameFieldNumber = 1, kStreamedHistoFieldNumber = 3, kSizeFieldNumber = 2, kFlagsFieldNumber = 4 }
 

Public Member Functions

const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
uint8_t * _InternalSerialize (uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_flags ()
 
void clear_full_pathname ()
 
void clear_size ()
 
void clear_streamed_histo ()
 
void CopyFrom (const ROOTFilePB_Histo &from)
 
uint32_t flags () const
 
const std::string & full_pathname () const
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_flags () const
 
bool has_full_pathname () const
 
bool has_size () const
 
bool has_streamed_histo () const
 
bool IsInitialized () const final
 
void MergeFrom (const ROOTFilePB_Histo &from)
 
std::string * mutable_full_pathname ()
 
std::string * mutable_streamed_histo ()
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
ROOTFilePB_HistoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
ROOTFilePB_Histooperator= (const ROOTFilePB_Histo &from)
 
ROOTFilePB_Histooperator= (ROOTFilePB_Histo &&from) noexcept
 
PROTOBUF_NODISCARD std::string * release_full_pathname ()
 
PROTOBUF_NODISCARD std::string * release_streamed_histo ()
 
 ROOTFilePB_Histo ()
 
PROTOBUF_CONSTEXPR ROOTFilePB_Histo (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 ROOTFilePB_Histo (const ROOTFilePB_Histo &from)
 
 ROOTFilePB_Histo (ROOTFilePB_Histo &&from) noexcept
 
void set_allocated_full_pathname (std::string *full_pathname)
 
void set_allocated_streamed_histo (std::string *streamed_histo)
 
void set_flags (uint32_t value)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_full_pathname (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_full_pathname (ArgT0 &&arg0, ArgT... args)
 
void set_size (uint32_t value)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_streamed_histo (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_streamed_histo (ArgT0 &&arg0, ArgT... args)
 
uint32_t size () const
 
const std::string & streamed_histo () const
 
void Swap (ROOTFilePB_Histo *other)
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
void UnsafeArenaSwap (ROOTFilePB_Histo *other)
 
 ~ROOTFilePB_Histo () override
 

Static Public Member Functions

static const ROOTFilePB_Histodefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const ROOTFilePB_Histointernal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr int kIndexInFileMessages = 0
 

Protected Member Functions

 ROOTFilePB_Histo (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Private Types

typedef void DestructorSkippable_
 
typedef void InternalArenaConstructable_
 

Private Member Functions

uint32_t _internal_flags () const
 
const std::string & _internal_full_pathname () const
 
bool _internal_has_flags () const
 
bool _internal_has_full_pathname () const
 
bool _internal_has_size () const
 
bool _internal_has_streamed_histo () const
 
std::string * _internal_mutable_full_pathname ()
 
std::string * _internal_mutable_streamed_histo ()
 
void _internal_set_flags (uint32_t value)
 
PROTOBUF_ALWAYS_INLINE void _internal_set_full_pathname (const std::string &value)
 
void _internal_set_size (uint32_t value)
 
PROTOBUF_ALWAYS_INLINE void _internal_set_streamed_histo (const std::string &value)
 
uint32_t _internal_size () const
 
const std::string & _internal_streamed_histo () const
 
void InternalSwap (ROOTFilePB_Histo *other)
 
size_t RequiredFieldsByteSizeFallback () const
 
void SetCachedSize (int size) const final
 
void SharedCtor (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned)
 
void SharedDtor ()
 

Static Private Member Functions

::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName ()
 
static void MergeImpl (::PROTOBUF_NAMESPACE_ID::Message &to_msg, const ::PROTOBUF_NAMESPACE_ID::Message &from_msg)
 

Private Attributes

union {
   Impl_   _impl_
 
}; 
 

Friends

template<typename T >
class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
 
class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
struct ::TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto
 
void swap (ROOTFilePB_Histo &a, ROOTFilePB_Histo &b)
 

Detailed Description

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

Member Typedef Documentation

◆ DestructorSkippable_

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

◆ InternalArenaConstructable_

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kFullPathnameFieldNumber 
kStreamedHistoFieldNumber 
kSizeFieldNumber 
kFlagsFieldNumber 

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

Constructor & Destructor Documentation

◆ ROOTFilePB_Histo() [1/5]

dqmstorepb::ROOTFilePB_Histo::ROOTFilePB_Histo ( )
inline

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

◆ ~ROOTFilePB_Histo()

dqmstorepb::ROOTFilePB_Histo::~ROOTFilePB_Histo ( )
override

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

References SharedDtor(), and funct::void.

199  {
200  // @@protoc_insertion_point(destructor:dqmstorepb.ROOTFilePB.Histo)
201  if (auto* arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
202  (void)arena;
203  return;
204  }
205  SharedDtor();
206  }
TEMPL(T2) struct Divides void
Definition: Factorize.h:24

◆ ROOTFilePB_Histo() [2/5]

PROTOBUF_CONSTEXPR dqmstorepb::ROOTFilePB_Histo::ROOTFilePB_Histo ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicit

◆ ROOTFilePB_Histo() [3/5]

dqmstorepb::ROOTFilePB_Histo::ROOTFilePB_Histo ( const ROOTFilePB_Histo from)

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, _internal_full_pathname(), _internal_has_full_pathname(), _internal_has_streamed_histo(), _internal_streamed_histo(), dqmstorepb::ROOTFilePB_Histo::Impl_::flags_, dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_, dqmstorepb::ROOTFilePB_Histo::Impl_::size_, dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_, and funct::void.

148  : ::PROTOBUF_NAMESPACE_ID::Message() {
149  ROOTFilePB_Histo* const _this = this;
150  (void)_this;
151  new (&_impl_) Impl_{decltype(_impl_._has_bits_){from._impl_._has_bits_},
152  /*decltype(_impl_._cached_size_)*/ {},
153  decltype(_impl_.full_pathname_){},
154  decltype(_impl_.streamed_histo_){},
155  decltype(_impl_.size_){},
156  decltype(_impl_.flags_){}};
157 
158  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
159  _impl_.full_pathname_.InitDefault();
160 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
161  _impl_.full_pathname_.Set("", GetArenaForAllocation());
162 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
163  if (from._internal_has_full_pathname()) {
164  _this->_impl_.full_pathname_.Set(from._internal_full_pathname(), _this->GetArenaForAllocation());
165  }
166  _impl_.streamed_histo_.InitDefault();
167 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
168  _impl_.streamed_histo_.Set("", GetArenaForAllocation());
169 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
170  if (from._internal_has_streamed_histo()) {
171  _this->_impl_.streamed_histo_.Set(from._internal_streamed_histo(), _this->GetArenaForAllocation());
172  }
173  ::memcpy(&_impl_.size_,
174  &from._impl_.size_,
175  static_cast<size_t>(reinterpret_cast<char*>(&_impl_.flags_) - reinterpret_cast<char*>(&_impl_.size_)) +
176  sizeof(_impl_.flags_));
177  // @@protoc_insertion_point(copy_constructor:dqmstorepb.ROOTFilePB.Histo)
178  }
TEMPL(T2) struct Divides void
Definition: Factorize.h:24
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_

◆ ROOTFilePB_Histo() [4/5]

dqmstorepb::ROOTFilePB_Histo::ROOTFilePB_Histo ( ROOTFilePB_Histo &&  from)
inlinenoexcept

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

References eostools::move().

75 : ROOTFilePB_Histo() { *this = ::std::move(from); }
def move(src, dest)
Definition: eostools.py:511

◆ ROOTFilePB_Histo() [5/5]

dqmstorepb::ROOTFilePB_Histo::ROOTFilePB_Histo ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

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

References SharedCtor().

144  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
145  SharedCtor(arena, is_message_owned);
146  // @@protoc_insertion_point(arena_constructor:dqmstorepb.ROOTFilePB.Histo)
147  }
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned)

Member Function Documentation

◆ _internal_flags()

uint32_t dqmstorepb::ROOTFilePB_Histo::_internal_flags ( ) const
inlineprivate

◆ _internal_full_pathname()

const std::string & dqmstorepb::ROOTFilePB_Histo::_internal_full_pathname ( ) const
inlineprivate

◆ _internal_has_flags()

bool dqmstorepb::ROOTFilePB_Histo::_internal_has_flags ( ) const
inlineprivate

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and relativeConstraints::value.

Referenced by has_flags(), and RequiredFieldsByteSizeFallback().

608  {
609  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
610  return value;
611  }
Definition: value.py:1
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_

◆ _internal_has_full_pathname()

bool dqmstorepb::ROOTFilePB_Histo::_internal_has_full_pathname ( ) const
inlineprivate

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and relativeConstraints::value.

Referenced by has_full_pathname(), release_full_pathname(), RequiredFieldsByteSizeFallback(), and ROOTFilePB_Histo().

458  {
459  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
460  return value;
461  }
Definition: value.py:1
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_

◆ _internal_has_size()

bool dqmstorepb::ROOTFilePB_Histo::_internal_has_size ( ) const
inlineprivate

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and relativeConstraints::value.

Referenced by has_size(), and RequiredFieldsByteSizeFallback().

521  {
522  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
523  return value;
524  }
Definition: value.py:1
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_

◆ _internal_has_streamed_histo()

bool dqmstorepb::ROOTFilePB_Histo::_internal_has_streamed_histo ( ) const
inlineprivate

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and relativeConstraints::value.

Referenced by has_streamed_histo(), release_streamed_histo(), RequiredFieldsByteSizeFallback(), and ROOTFilePB_Histo().

545  {
546  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
547  return value;
548  }
Definition: value.py:1
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_

◆ _internal_mutable_full_pathname()

std::string * dqmstorepb::ROOTFilePB_Histo::_internal_mutable_full_pathname ( )
inlineprivate

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_.

Referenced by _InternalParse(), and mutable_full_pathname().

487  {
488  _impl_._has_bits_[0] |= 0x00000001u;
489  return _impl_.full_pathname_.Mutable(GetArenaForAllocation());
490  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_

◆ _internal_mutable_streamed_histo()

std::string * dqmstorepb::ROOTFilePB_Histo::_internal_mutable_streamed_histo ( )
inlineprivate

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_.

Referenced by _InternalParse(), and mutable_streamed_histo().

574  {
575  _impl_._has_bits_[0] |= 0x00000002u;
576  return _impl_.streamed_histo_.Mutable(GetArenaForAllocation());
577  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_

◆ _internal_set_flags()

void dqmstorepb::ROOTFilePB_Histo::_internal_set_flags ( uint32_t  value)
inlineprivate

◆ _internal_set_full_pathname()

void dqmstorepb::ROOTFilePB_Histo::_internal_set_full_pathname ( const std::string &  value)
inlineprivate

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_.

483  {
484  _impl_._has_bits_[0] |= 0x00000001u;
485  _impl_.full_pathname_.Set(value, GetArenaForAllocation());
486  }
Definition: value.py:1
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_

◆ _internal_set_size()

void dqmstorepb::ROOTFilePB_Histo::_internal_set_size ( uint32_t  value)
inlineprivate

◆ _internal_set_streamed_histo()

void dqmstorepb::ROOTFilePB_Histo::_internal_set_streamed_histo ( const std::string &  value)
inlineprivate

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_.

570  {
571  _impl_._has_bits_[0] |= 0x00000002u;
572  _impl_.streamed_histo_.Set(value, GetArenaForAllocation());
573  }
Definition: value.py:1
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_

◆ _internal_size()

uint32_t dqmstorepb::ROOTFilePB_Histo::_internal_size ( ) const
inlineprivate

◆ _internal_streamed_histo()

const std::string & dqmstorepb::ROOTFilePB_Histo::_internal_streamed_histo ( ) const
inlineprivate

◆ _InternalParse()

const char * dqmstorepb::ROOTFilePB_Histo::_InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, _internal_mutable_full_pathname(), _internal_mutable_streamed_histo(), CHK_, dqmstorepb::ROOTFilePB_Histo::Impl_::flags_, dqmstorepb::ROOTFilePB_Histo::_Internal::set_has_flags(), dqmstorepb::ROOTFilePB_Histo::_Internal::set_has_size(), dqmstorepb::ROOTFilePB_Histo::Impl_::size_, str, and makeGlobalPositionRcd_cfg::tag.

241  {
242 #define CHK_(x) \
243  if (PROTOBUF_PREDICT_FALSE(!(x))) \
244  goto failure
245  _Internal::HasBits has_bits{};
246  while (!ctx->Done(&ptr)) {
247  uint32_t tag;
248  ptr = ::_pbi::ReadTag(ptr, &tag);
249  switch (tag >> 3) {
250  // required string full_pathname = 1;
251  case 1:
252  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
254  ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
255  CHK_(ptr);
256 #ifndef NDEBUG
257  ::_pbi::VerifyUTF8(str, "dqmstorepb.ROOTFilePB.Histo.full_pathname");
258 #endif // !NDEBUG
259  } else
260  goto handle_unusual;
261  continue;
262  // required uint32 size = 2;
263  case 2:
264  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
265  _Internal::set_has_size(&has_bits);
266  _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
267  CHK_(ptr);
268  } else
269  goto handle_unusual;
270  continue;
271  // required bytes streamed_histo = 3;
272  case 3:
273  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
275  ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
276  CHK_(ptr);
277  } else
278  goto handle_unusual;
279  continue;
280  // required uint32 flags = 4;
281  case 4:
282  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
283  _Internal::set_has_flags(&has_bits);
284  _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
285  CHK_(ptr);
286  } else
287  goto handle_unusual;
288  continue;
289  default:
290  goto handle_unusual;
291  } // switch
292  handle_unusual:
293  if ((tag == 0) || ((tag & 7) == 4)) {
294  CHK_(ptr);
295  ctx->SetLastTag(tag);
296  goto message_done;
297  }
298  ptr = UnknownFieldParse(
299  tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx);
300  CHK_(ptr != nullptr);
301  } // while
302  message_done:
303  _impl_._has_bits_.Or(has_bits);
304  return ptr;
305  failure:
306  ptr = nullptr;
307  goto message_done;
308 #undef CHK_
309  }
static void set_has_flags(HasBits *has_bits)
decltype(std::declval< ROOTFilePB_Histo >()._impl_._has_bits_) HasBits
std::string * _internal_mutable_full_pathname()
#define CHK_(x)
std::string * _internal_mutable_streamed_histo()
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
static void set_has_size(HasBits *has_bits)
#define str(s)

◆ _InternalSerialize()

uint8_t * dqmstorepb::ROOTFilePB_Histo::_InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, _internal_flags(), _internal_full_pathname(), _internal_size(), _internal_streamed_histo(), data, cms::cuda::stream, filterCSVwithJSON::target, and funct::void.

312  {
313  // @@protoc_insertion_point(serialize_to_array_start:dqmstorepb.ROOTFilePB.Histo)
314  uint32_t cached_has_bits = 0;
315  (void)cached_has_bits;
316 
317  cached_has_bits = _impl_._has_bits_[0];
318  // required string full_pathname = 1;
319  if (cached_has_bits & 0x00000001u) {
320  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
321  this->_internal_full_pathname().data(),
322  static_cast<int>(this->_internal_full_pathname().length()),
323  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
324  "dqmstorepb.ROOTFilePB.Histo.full_pathname");
325  target = stream->WriteStringMaybeAliased(1, this->_internal_full_pathname(), target);
326  }
327 
328  // required uint32 size = 2;
329  if (cached_has_bits & 0x00000004u) {
330  target = stream->EnsureSpace(target);
331  target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_size(), target);
332  }
333 
334  // required bytes streamed_histo = 3;
335  if (cached_has_bits & 0x00000002u) {
336  target = stream->WriteBytesMaybeAliased(3, this->_internal_streamed_histo(), target);
337  }
338 
339  // required uint32 flags = 4;
340  if (cached_has_bits & 0x00000008u) {
341  target = stream->EnsureSpace(target);
342  target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_flags(), target);
343  }
344 
345  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
346  target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
347  _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
348  ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance),
349  target,
350  stream);
351  }
352  // @@protoc_insertion_point(serialize_to_array_end:dqmstorepb.ROOTFilePB.Histo)
353  return target;
354  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
uint32_t _internal_flags() const
TEMPL(T2) struct Divides void
Definition: Factorize.h:24
const std::string & _internal_full_pathname() const
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
uint32_t _internal_size() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
const std::string & _internal_streamed_histo() const

◆ ByteSizeLong()

size_t dqmstorepb::ROOTFilePB_Histo::ByteSizeLong ( ) const
final

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_cached_size_, dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, _internal_flags(), _internal_full_pathname(), _internal_size(), _internal_streamed_histo(), RequiredFieldsByteSizeFallback(), and funct::void.

382  {
383  // @@protoc_insertion_point(message_byte_size_start:dqmstorepb.ROOTFilePB.Histo)
384  size_t total_size = 0;
385 
386  if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present.
387  // required string full_pathname = 1;
388  total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(this->_internal_full_pathname());
389 
390  // required bytes streamed_histo = 3;
391  total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(this->_internal_streamed_histo());
392 
393  // required uint32 size = 2;
394  total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_size());
395 
396  // required uint32 flags = 4;
397  total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
398 
399  } else {
400  total_size += RequiredFieldsByteSizeFallback();
401  }
402  uint32_t cached_has_bits = 0;
403  // Prevent compiler warnings about cached_has_bits being unused
404  (void)cached_has_bits;
405 
406  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
407  }
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
uint32_t _internal_flags() const
TEMPL(T2) struct Divides void
Definition: Factorize.h:24
const std::string & _internal_full_pathname() const
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
uint32_t _internal_size() const
size_t RequiredFieldsByteSizeFallback() const
const std::string & _internal_streamed_histo() const

◆ Clear()

void dqmstorepb::ROOTFilePB_Histo::Clear ( )
final

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, dqmstorepb::ROOTFilePB_Histo::Impl_::flags_, dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_, dqmstorepb::ROOTFilePB_Histo::Impl_::size_, dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_, and funct::void.

Referenced by CopyFrom().

216  {
217  // @@protoc_insertion_point(message_clear_start:dqmstorepb.ROOTFilePB.Histo)
218  uint32_t cached_has_bits = 0;
219  // Prevent compiler warnings about cached_has_bits being unused
220  (void)cached_has_bits;
221 
222  cached_has_bits = _impl_._has_bits_[0];
223  if (cached_has_bits & 0x00000003u) {
224  if (cached_has_bits & 0x00000001u) {
225  _impl_.full_pathname_.ClearNonDefaultToEmpty();
226  }
227  if (cached_has_bits & 0x00000002u) {
228  _impl_.streamed_histo_.ClearNonDefaultToEmpty();
229  }
230  }
231  if (cached_has_bits & 0x0000000cu) {
232  ::memset(&_impl_.size_,
233  0,
234  static_cast<size_t>(reinterpret_cast<char*>(&_impl_.flags_) - reinterpret_cast<char*>(&_impl_.size_)) +
235  sizeof(_impl_.flags_));
236  }
237  _impl_._has_bits_.Clear();
238  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
239  }
TEMPL(T2) struct Divides void
Definition: Factorize.h:24
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_

◆ clear_flags()

void dqmstorepb::ROOTFilePB_Histo::clear_flags ( )
inline

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and dqmstorepb::ROOTFilePB_Histo::Impl_::flags_.

613  {
614  _impl_.flags_ = 0u;
615  _impl_._has_bits_[0] &= ~0x00000008u;
616  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_

◆ clear_full_pathname()

void dqmstorepb::ROOTFilePB_Histo::clear_full_pathname ( )
inline

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_.

463  {
464  _impl_.full_pathname_.ClearToEmpty();
465  _impl_._has_bits_[0] &= ~0x00000001u;
466  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_

◆ clear_size()

void dqmstorepb::ROOTFilePB_Histo::clear_size ( )
inline

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and dqmstorepb::ROOTFilePB_Histo::Impl_::size_.

526  {
527  _impl_.size_ = 0u;
528  _impl_._has_bits_[0] &= ~0x00000004u;
529  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_

◆ clear_streamed_histo()

void dqmstorepb::ROOTFilePB_Histo::clear_streamed_histo ( )
inline

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_.

550  {
551  _impl_.streamed_histo_.ClearToEmpty();
552  _impl_._has_bits_[0] &= ~0x00000002u;
553  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_

◆ CopyFrom()

void dqmstorepb::ROOTFilePB_Histo::CopyFrom ( const ROOTFilePB_Histo from)

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

References Clear(), and MergeFrom().

Referenced by operator=(), and dqmstorepb::ROOTFilePB::operator=().

441  {
442  // @@protoc_insertion_point(class_specific_copy_from_start:dqmstorepb.ROOTFilePB.Histo)
443  if (&from == this)
444  return;
445  Clear();
446  MergeFrom(from);
447  }
void MergeFrom(const ROOTFilePB_Histo &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final

◆ default_instance()

static const ROOTFilePB_Histo& dqmstorepb::ROOTFilePB_Histo::default_instance ( )
inlinestatic

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* dqmstorepb::ROOTFilePB_Histo::descriptor ( )
inlinestatic

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

References GetDescriptor().

104 { return GetDescriptor(); }
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()

◆ flags()

uint32_t dqmstorepb::ROOTFilePB_Histo::flags ( ) const
inline

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

References _internal_flags().

618  {
619  // @@protoc_insertion_point(field_get:dqmstorepb.ROOTFilePB.Histo.flags)
620  return _internal_flags();
621  }
uint32_t _internal_flags() const

◆ full_pathname()

const std::string & dqmstorepb::ROOTFilePB_Histo::full_pathname ( ) const
inline

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

References _internal_full_pathname().

Referenced by set_allocated_full_pathname().

467  {
468  // @@protoc_insertion_point(field_get:dqmstorepb.ROOTFilePB.Histo.full_pathname)
469  return _internal_full_pathname();
470  }
const std::string & _internal_full_pathname() const

◆ FullMessageName()

::PROTOBUF_NAMESPACE_ID::StringPiece dqmstorepb::ROOTFilePB_Histo::FullMessageName ( )
inlinestaticprivate

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

168 { return "dqmstorepb.ROOTFilePB.Histo"; }

◆ GetCachedSize()

int dqmstorepb::ROOTFilePB_Histo::GetCachedSize ( ) const
inlinefinal

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_cached_size_, and _impl_.

158 { return _impl_._cached_size_.Get(); }
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * dqmstorepb::ROOTFilePB_Histo::GetClassData ( ) const
final

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

References _class_data_.

411 { return &_class_data_; }
static const ClassData _class_data_

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* dqmstorepb::ROOTFilePB_Histo::GetDescriptor ( )
inlinestatic

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

References default_instance(), and GetMetadata().

Referenced by descriptor(), and dqmstorepb::ROOTFilePB::descriptor().

105  {
106  return default_instance().GetMetadata().descriptor;
107  }
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ROOTFilePB_Histo & default_instance()

◆ GetMetadata()

PROTOBUF_NAMESPACE_ID::Metadata dqmstorepb::ROOTFilePB_Histo::GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* dqmstorepb::ROOTFilePB_Histo::GetReflection ( )
inlinestatic

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

References default_instance(), and GetMetadata().

108  {
109  return default_instance().GetMetadata().reflection;
110  }
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ROOTFilePB_Histo & default_instance()

◆ has_flags()

bool dqmstorepb::ROOTFilePB_Histo::has_flags ( ) const
inline

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

References _internal_has_flags().

612 { return _internal_has_flags(); }

◆ has_full_pathname()

bool dqmstorepb::ROOTFilePB_Histo::has_full_pathname ( ) const
inline

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

References _internal_has_full_pathname().

462 { return _internal_has_full_pathname(); }
bool _internal_has_full_pathname() const

◆ has_size()

bool dqmstorepb::ROOTFilePB_Histo::has_size ( ) const
inline

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

References _internal_has_size().

525 { return _internal_has_size(); }

◆ has_streamed_histo()

bool dqmstorepb::ROOTFilePB_Histo::has_streamed_histo ( ) const
inline

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

References _internal_has_streamed_histo().

549 { return _internal_has_streamed_histo(); }
bool _internal_has_streamed_histo() const

◆ internal_default_instance()

static const ROOTFilePB_Histo* dqmstorepb::ROOTFilePB_Histo::internal_default_instance ( )
inlinestatic

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

References dqmstorepb::_ROOTFilePB_Histo_default_instance_.

Referenced by default_instance(), and dqmstorepb::ROOTFilePB::default_instance().

112  {
113  return reinterpret_cast<const ROOTFilePB_Histo*>(&_ROOTFilePB_Histo_default_instance_);
114  }
ROOTFilePB_HistoDefaultTypeInternal _ROOTFilePB_Histo_default_instance_

◆ InternalSwap()

void dqmstorepb::ROOTFilePB_Histo::InternalSwap ( ROOTFilePB_Histo other)
private

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, dqmstorepb::ROOTFilePB_Histo::Impl_::flags_, dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_, trackingPlots::other, dqmstorepb::ROOTFilePB_Histo::Impl_::size_, dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_, edm::swap(), and swap.

Referenced by operator=(), dqmstorepb::ROOTFilePB::operator=(), Swap(), dqmstorepb::ROOTFilePB::Swap(), UnsafeArenaSwap(), and dqmstorepb::ROOTFilePB::UnsafeArenaSwap().

455  {
456  using std::swap;
457  auto* lhs_arena = GetArenaForAllocation();
458  auto* rhs_arena = other->GetArenaForAllocation();
459  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
460  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
461  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
462  &_impl_.full_pathname_, lhs_arena, &other->_impl_.full_pathname_, rhs_arena);
463  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
464  &_impl_.streamed_histo_, lhs_arena, &other->_impl_.streamed_histo_, rhs_arena);
465  ::PROTOBUF_NAMESPACE_ID::internal::memswap<PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_.flags_) +
467  PROTOBUF_FIELD_OFFSET(ROOTFilePB_Histo, _impl_.size_)>(
468  reinterpret_cast<char*>(&_impl_.size_), reinterpret_cast<char*>(&other->_impl_.size_));
469  }
friend void swap(ROOTFilePB_Histo &a, ROOTFilePB_Histo &b)
void swap(Association< C > &lhs, Association< C > &rhs)
Definition: Association.h:112
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_

◆ IsInitialized()

bool dqmstorepb::ROOTFilePB_Histo::IsInitialized ( ) const
final

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, and dqmstorepb::ROOTFilePB_Histo::_Internal::MissingRequiredFields().

449  {
451  return false;
452  return true;
453  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
static bool MissingRequiredFields(const HasBits &has_bits)

◆ MergeFrom()

void dqmstorepb::ROOTFilePB_Histo::MergeFrom ( const ROOTFilePB_Histo from)
inline

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

References MergeImpl().

Referenced by CopyFrom().

146 { ROOTFilePB_Histo::MergeImpl(*this, from); }
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message &to_msg, const ::PROTOBUF_NAMESPACE_ID::Message &from_msg)

◆ MergeImpl()

void dqmstorepb::ROOTFilePB_Histo::MergeImpl ( ::PROTOBUF_NAMESPACE_ID::Message &  to_msg,
const ::PROTOBUF_NAMESPACE_ID::Message &  from_msg 
)
staticprivate

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

References funct::void.

Referenced by MergeFrom().

414  {
415  auto* const _this = static_cast<ROOTFilePB_Histo*>(&to_msg);
416  auto& from = static_cast<const ROOTFilePB_Histo&>(from_msg);
417  // @@protoc_insertion_point(class_specific_merge_from_start:dqmstorepb.ROOTFilePB.Histo)
418  GOOGLE_DCHECK_NE(&from, _this);
419  uint32_t cached_has_bits = 0;
420  (void)cached_has_bits;
421 
422  cached_has_bits = from._impl_._has_bits_[0];
423  if (cached_has_bits & 0x0000000fu) {
424  if (cached_has_bits & 0x00000001u) {
425  _this->_internal_set_full_pathname(from._internal_full_pathname());
426  }
427  if (cached_has_bits & 0x00000002u) {
428  _this->_internal_set_streamed_histo(from._internal_streamed_histo());
429  }
430  if (cached_has_bits & 0x00000004u) {
431  _this->_impl_.size_ = from._impl_.size_;
432  }
433  if (cached_has_bits & 0x00000008u) {
434  _this->_impl_.flags_ = from._impl_.flags_;
435  }
436  _this->_impl_._has_bits_[0] |= cached_has_bits;
437  }
438  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
439  }
TEMPL(T2) struct Divides void
Definition: Factorize.h:24

◆ mutable_full_pathname()

std::string * dqmstorepb::ROOTFilePB_Histo::mutable_full_pathname ( )
inline

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

References _internal_mutable_full_pathname(), and AlCaHLTBitMon_QueryRunRegistry::string.

477  {
479  // @@protoc_insertion_point(field_mutable:dqmstorepb.ROOTFilePB.Histo.full_pathname)
480  return _s;
481  }
std::string * _internal_mutable_full_pathname()

◆ mutable_streamed_histo()

std::string * dqmstorepb::ROOTFilePB_Histo::mutable_streamed_histo ( )
inline

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

References _internal_mutable_streamed_histo(), and AlCaHLTBitMon_QueryRunRegistry::string.

564  {
566  // @@protoc_insertion_point(field_mutable:dqmstorepb.ROOTFilePB.Histo.streamed_histo)
567  return _s;
568  }
std::string * _internal_mutable_streamed_histo()

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* dqmstorepb::ROOTFilePB_Histo::mutable_unknown_fields ( )
inline

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

100  {
101  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
102  }

◆ New()

ROOTFilePB_Histo* dqmstorepb::ROOTFilePB_Histo::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

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

140  {
141  return CreateMaybeMessage<ROOTFilePB_Histo>(arena);
142  }

◆ operator=() [1/2]

ROOTFilePB_Histo& dqmstorepb::ROOTFilePB_Histo::operator= ( const ROOTFilePB_Histo from)
inline

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

References CopyFrom().

77  {
78  CopyFrom(from);
79  return *this;
80  }
void CopyFrom(const ROOTFilePB_Histo &from)

◆ operator=() [2/2]

ROOTFilePB_Histo& dqmstorepb::ROOTFilePB_Histo::operator= ( ROOTFilePB_Histo &&  from)
inlinenoexcept

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

References CopyFrom(), and InternalSwap().

81  {
82  if (this == &from)
83  return *this;
84  if (GetOwningArena() == from.GetOwningArena()
85 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
86  && GetOwningArena() != nullptr
87 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
88  ) {
89  InternalSwap(&from);
90  } else {
91  CopyFrom(from);
92  }
93  return *this;
94  }
void InternalSwap(ROOTFilePB_Histo *other)
void CopyFrom(const ROOTFilePB_Histo &from)

◆ release_full_pathname()

std::string * dqmstorepb::ROOTFilePB_Histo::release_full_pathname ( )
inline

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, _internal_has_full_pathname(), dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_, and AlCaHLTBitMon_ParallelJobs::p.

491  {
492  // @@protoc_insertion_point(field_release:dqmstorepb.ROOTFilePB.Histo.full_pathname)
494  return nullptr;
495  }
496  _impl_._has_bits_[0] &= ~0x00000001u;
497  auto* p = _impl_.full_pathname_.Release();
498 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
499  if (_impl_.full_pathname_.IsDefault()) {
500  _impl_.full_pathname_.Set("", GetArenaForAllocation());
501  }
502 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
503  return p;
504  }
bool _internal_has_full_pathname() const
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_

◆ release_streamed_histo()

std::string * dqmstorepb::ROOTFilePB_Histo::release_streamed_histo ( )
inline

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, _internal_has_streamed_histo(), AlCaHLTBitMon_ParallelJobs::p, and dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_.

578  {
579  // @@protoc_insertion_point(field_release:dqmstorepb.ROOTFilePB.Histo.streamed_histo)
581  return nullptr;
582  }
583  _impl_._has_bits_[0] &= ~0x00000002u;
584  auto* p = _impl_.streamed_histo_.Release();
585 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
586  if (_impl_.streamed_histo_.IsDefault()) {
587  _impl_.streamed_histo_.Set("", GetArenaForAllocation());
588  }
589 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
590  return p;
591  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_
bool _internal_has_streamed_histo() const

◆ RequiredFieldsByteSizeFallback()

size_t dqmstorepb::ROOTFilePB_Histo::RequiredFieldsByteSizeFallback ( ) const
private

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

References _internal_flags(), _internal_full_pathname(), _internal_has_flags(), _internal_has_full_pathname(), _internal_has_size(), _internal_has_streamed_histo(), _internal_size(), and _internal_streamed_histo().

Referenced by ByteSizeLong().

356  {
357  // @@protoc_insertion_point(required_fields_byte_size_fallback_start:dqmstorepb.ROOTFilePB.Histo)
358  size_t total_size = 0;
359 
361  // required string full_pathname = 1;
362  total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(this->_internal_full_pathname());
363  }
364 
366  // required bytes streamed_histo = 3;
367  total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(this->_internal_streamed_histo());
368  }
369 
370  if (_internal_has_size()) {
371  // required uint32 size = 2;
372  total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_size());
373  }
374 
375  if (_internal_has_flags()) {
376  // required uint32 flags = 4;
377  total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
378  }
379 
380  return total_size;
381  }
bool _internal_has_full_pathname() const
uint32_t _internal_flags() const
const std::string & _internal_full_pathname() const
uint32_t _internal_size() const
bool _internal_has_streamed_histo() const
const std::string & _internal_streamed_histo() const

◆ set_allocated_full_pathname()

void dqmstorepb::ROOTFilePB_Histo::set_allocated_full_pathname ( std::string *  full_pathname)
inline

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, full_pathname(), and dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_.

505  {
506  if (full_pathname != nullptr) {
507  _impl_._has_bits_[0] |= 0x00000001u;
508  } else {
509  _impl_._has_bits_[0] &= ~0x00000001u;
510  }
511  _impl_.full_pathname_.SetAllocated(full_pathname, GetArenaForAllocation());
512 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
513  if (_impl_.full_pathname_.IsDefault()) {
514  _impl_.full_pathname_.Set("", GetArenaForAllocation());
515  }
516 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
517  // @@protoc_insertion_point(field_set_allocated:dqmstorepb.ROOTFilePB.Histo.full_pathname)
518  }
const std::string & full_pathname() const
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_

◆ set_allocated_streamed_histo()

void dqmstorepb::ROOTFilePB_Histo::set_allocated_streamed_histo ( std::string *  streamed_histo)
inline

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, streamed_histo(), and dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_.

592  {
593  if (streamed_histo != nullptr) {
594  _impl_._has_bits_[0] |= 0x00000002u;
595  } else {
596  _impl_._has_bits_[0] &= ~0x00000002u;
597  }
598  _impl_.streamed_histo_.SetAllocated(streamed_histo, GetArenaForAllocation());
599 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
600  if (_impl_.streamed_histo_.IsDefault()) {
601  _impl_.streamed_histo_.Set("", GetArenaForAllocation());
602  }
603 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
604  // @@protoc_insertion_point(field_set_allocated:dqmstorepb.ROOTFilePB.Histo.streamed_histo)
605  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
const std::string & streamed_histo() const
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_

◆ set_flags()

void dqmstorepb::ROOTFilePB_Histo::set_flags ( uint32_t  value)
inline

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

References _internal_set_flags().

Referenced by tryRootPreload().

626  {
628  // @@protoc_insertion_point(field_set:dqmstorepb.ROOTFilePB.Histo.flags)
629  }
Definition: value.py:1
void _internal_set_flags(uint32_t value)

◆ set_full_pathname() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void dqmstorepb::ROOTFilePB_Histo::set_full_pathname ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_full_pathname() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void dqmstorepb::ROOTFilePB_Histo::set_full_pathname ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, writedatasetfile::args, and dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_.

472  {
473  _impl_._has_bits_[0] |= 0x00000001u;
474  _impl_.full_pathname_.Set(static_cast<ArgT0&&>(arg0), args..., GetArenaForAllocation());
475  // @@protoc_insertion_point(field_set:dqmstorepb.ROOTFilePB.Histo.full_pathname)
476  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_

◆ set_size()

void dqmstorepb::ROOTFilePB_Histo::set_size ( uint32_t  value)
inline

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

References _internal_set_size().

Referenced by tryRootPreload().

539  {
541  // @@protoc_insertion_point(field_set:dqmstorepb.ROOTFilePB.Histo.size)
542  }
void _internal_set_size(uint32_t value)
Definition: value.py:1

◆ set_streamed_histo() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void dqmstorepb::ROOTFilePB_Histo::set_streamed_histo ( ArgT0 &&  arg0,
ArgT...  args 
)

Referenced by tryRootPreload().

◆ set_streamed_histo() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void dqmstorepb::ROOTFilePB_Histo::set_streamed_histo ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, writedatasetfile::args, and dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_.

559  {
560  _impl_._has_bits_[0] |= 0x00000002u;
561  _impl_.streamed_histo_.SetBytes(static_cast<ArgT0&&>(arg0), args..., GetArenaForAllocation());
562  // @@protoc_insertion_point(field_set:dqmstorepb.ROOTFilePB.Histo.streamed_histo)
563  }
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_

◆ SetCachedSize()

void dqmstorepb::ROOTFilePB_Histo::SetCachedSize ( int  size) const
finalprivate

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_cached_size_, _impl_, and size().

214 { _impl_._cached_size_.Set(size); }
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_

◆ SharedCtor()

void dqmstorepb::ROOTFilePB_Histo::SharedCtor ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned 
)
inlineprivate

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

References dqmstorepb::ROOTFilePB_Histo::Impl_::_has_bits_, _impl_, dqmstorepb::ROOTFilePB_Histo::Impl_::flags_, dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_, dqmstorepb::ROOTFilePB_Histo::Impl_::size_, dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_, and funct::void.

Referenced by ROOTFilePB_Histo().

180  {
181  (void)arena;
182  (void)is_message_owned;
183  new (&_impl_) Impl_{decltype(_impl_._has_bits_){},
184  /*decltype(_impl_._cached_size_)*/ {},
185  decltype(_impl_.full_pathname_){},
186  decltype(_impl_.streamed_histo_){},
187  decltype(_impl_.size_){0u},
188  decltype(_impl_.flags_){0u}};
189  _impl_.full_pathname_.InitDefault();
190 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
191  _impl_.full_pathname_.Set("", GetArenaForAllocation());
192 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
193  _impl_.streamed_histo_.InitDefault();
194 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
195  _impl_.streamed_histo_.Set("", GetArenaForAllocation());
196 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
197  }
TEMPL(T2) struct Divides void
Definition: Factorize.h:24
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_

◆ SharedDtor()

void dqmstorepb::ROOTFilePB_Histo::SharedDtor ( )
inlineprivate

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

References _impl_, dqmstorepb::ROOTFilePB_Histo::Impl_::full_pathname_, and dqmstorepb::ROOTFilePB_Histo::Impl_::streamed_histo_.

Referenced by ~ROOTFilePB_Histo().

208  {
209  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
210  _impl_.full_pathname_.Destroy();
211  _impl_.streamed_histo_.Destroy();
212  }
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_pathname_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamed_histo_

◆ size()

uint32_t dqmstorepb::ROOTFilePB_Histo::size ( void  ) const
inline

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

References _internal_size().

Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and SetCachedSize().

531  {
532  // @@protoc_insertion_point(field_get:dqmstorepb.ROOTFilePB.Histo.size)
533  return _internal_size();
534  }
uint32_t _internal_size() const

◆ streamed_histo()

const std::string & dqmstorepb::ROOTFilePB_Histo::streamed_histo ( ) const
inline

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

References _internal_streamed_histo().

Referenced by set_allocated_streamed_histo().

554  {
555  // @@protoc_insertion_point(field_get:dqmstorepb.ROOTFilePB.Histo.streamed_histo)
556  return _internal_streamed_histo();
557  }
const std::string & _internal_streamed_histo() const

◆ Swap()

void dqmstorepb::ROOTFilePB_Histo::Swap ( ROOTFilePB_Histo other)
inline

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

References InternalSwap(), and trackingPlots::other.

118  {
119  if (other == this)
120  return;
121 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
122  if (GetOwningArena() != nullptr && GetOwningArena() == other->GetOwningArena()) {
123 #else // PROTOBUF_FORCE_COPY_IN_SWAP
124  if (GetOwningArena() == other->GetOwningArena()) {
125 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
127  } else {
128  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
129  }
130  }
void InternalSwap(ROOTFilePB_Histo *other)

◆ unknown_fields()

const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& dqmstorepb::ROOTFilePB_Histo::unknown_fields ( ) const
inline

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

96  {
97  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
98  ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
99  }

◆ UnsafeArenaSwap()

void dqmstorepb::ROOTFilePB_Histo::UnsafeArenaSwap ( ROOTFilePB_Histo other)
inline

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

References InternalSwap(), and trackingPlots::other.

131  {
132  if (other == this)
133  return;
134  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
136  }
void InternalSwap(ROOTFilePB_Histo *other)

Friends And Related Function Documentation

◆ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper

template<typename T >
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
friend

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

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
friend

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

◆ ::TableStruct_DQMServices_2fCore_2fsrc_2fROOTFilePB_2eproto

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

◆ swap

void swap ( ROOTFilePB_Histo a,
ROOTFilePB_Histo b 
)
friend

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

Referenced by InternalSwap().

117 { a.Swap(&b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

Member Data Documentation

◆ @476

union { ... }

◆ _class_data_

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData dqmstorepb::ROOTFilePB_Histo::_class_data_
static
Initial value:
= {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, ROOTFilePB_Histo::MergeImpl}

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

Referenced by GetClassData().

◆ _impl_

Impl_ dqmstorepb::ROOTFilePB_Histo::_impl_

◆ kIndexInFileMessages

constexpr int dqmstorepb::ROOTFilePB_Histo::kIndexInFileMessages = 0
static

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