DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::opmon::ComplexInfo Class Referencefinal

#include <test.pb.h>

Inheritance diagram for dunedaq::opmon::ComplexInfo:
[legend]
Collaboration diagram for dunedaq::opmon::ComplexInfo:
[legend]

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int { kRFieldFieldNumber = 4 , kSubMessageFieldNumber = 3 , kAnotherFloatFieldNumber = 1 }
 

Public Member Functions

 ComplexInfo ()
 
 ~ComplexInfo () override
 
template<typename = void>
PROTOBUF_CONSTEXPR ComplexInfo (::google::protobuf::internal::ConstantInitialized)
 
 ComplexInfo (const ComplexInfo &from)
 
 ComplexInfo (ComplexInfo &&from) noexcept
 
ComplexInfooperator= (const ComplexInfo &from)
 
ComplexInfooperator= (ComplexInfo &&from) noexcept
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (ComplexInfo *other)
 
void UnsafeArenaSwap (ComplexInfo *other)
 
ComplexInfoNew (::google::protobuf::Arena *arena=nullptr) const final
 
void CopyFrom (const ComplexInfo &from)
 
void MergeFrom (const ComplexInfo &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
::size_t ByteSizeLong () const final
 
const char * _InternalParse (const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
 
::uint8_t * _InternalSerialize (::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
 
int GetCachedSize () const final
 
const ::google::protobuf::Message::ClassData * GetClassData () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
int r_field_size () const
 
void clear_r_field ()
 
::int32_t r_field (int index) const
 
void set_r_field (int index, ::int32_t value)
 
void add_r_field (::int32_t value)
 
const ::google::protobuf::RepeatedField<::int32_t > & r_field () const
 
::google::protobuf::RepeatedField<::int32_t > * mutable_r_field ()
 
bool has_sub_message () const
 
void clear_sub_message ()
 
const ::dunedaq::opmon::TestInfosub_message () const
 
PROTOBUF_NODISCARD::dunedaq::opmon::TestInfo * release_sub_message ()
 
::dunedaq::opmon::TestInfomutable_sub_message ()
 
void set_allocated_sub_message (::dunedaq::opmon::TestInfo *value)
 
void unsafe_arena_set_allocated_sub_message (::dunedaq::opmon::TestInfo *value)
 
::dunedaq::opmon::TestInfounsafe_arena_release_sub_message ()
 
void clear_another_float ()
 
float another_float () const
 
void set_another_float (float value)
 
template<typename >
PROTOBUF_CONSTEXPR ComplexInfo (::_pbi::ConstantInitialized)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const ::google::protobuf::Descriptor * GetDescriptor ()
 
static const ::google::protobuf::Reflection * GetReflection ()
 
static const ComplexInfodefault_instance ()
 
static const ComplexInfointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

 ComplexInfo (::google::protobuf::Arena *arena)
 

Private Types

typedef void InternalArenaConstructable_
 
typedef void DestructorSkippable_
 

Private Member Functions

void SharedCtor (::google::protobuf::Arena *arena)
 
void SharedDtor ()
 
void SetCachedSize (int size) const final
 
void InternalSwap (ComplexInfo *other)
 
int _internal_r_field_size () const
 
const ::google::protobuf::RepeatedField<::int32_t > & _internal_r_field () const
 
::google::protobuf::RepeatedField<::int32_t > * _internal_mutable_r_field ()
 
const ::dunedaq::opmon::TestInfo_internal_sub_message () const
 
::dunedaq::opmon::TestInfo_internal_mutable_sub_message ()
 
float _internal_another_float () const
 
void _internal_set_another_float (float value)
 

Static Private Member Functions

static void MergeImpl (::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
 
::absl::string_view FullMessageName ()
 

Private Attributes

union { 
 
   Impl_   _impl_ 
 
};  
 

Static Private Attributes

static const ::google::protobuf::internal::TcParseTable< 2, 3, 1, 0, 2 > _table_
 

Friends

class ::google::protobuf::internal::AnyMetadata
 
class ::google::protobuf::internal::TcParser
 
template<typename T >
class ::google::protobuf::Arena::InternalHelper
 
struct ::TableStruct_opmonlib_2fopmon_2ftest_2eproto
 
void swap (ComplexInfo &a, ComplexInfo &b)
 

Detailed Description

Definition at line 279 of file test.pb.h.

Member Typedef Documentation

◆ DestructorSkippable_

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

◆ InternalArenaConstructable_

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kRFieldFieldNumber 
kSubMessageFieldNumber 
kAnotherFloatFieldNumber 

Definition at line 406 of file test.pb.h.

Constructor & Destructor Documentation

◆ ComplexInfo() [1/6]

dunedaq::opmon::ComplexInfo::ComplexInfo ( )
inline

Definition at line 282 of file test.pb.h.

282: ComplexInfo(nullptr) {}

◆ ~ComplexInfo()

dunedaq::opmon::ComplexInfo::~ComplexInfo ( )
override

Definition at line 501 of file test.pb.cc.

501 {
502 // @@protoc_insertion_point(destructor:dunedaq.opmon.ComplexInfo)
503 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
504 SharedDtor();
505}

◆ ComplexInfo() [2/6]

template<typename = void>
PROTOBUF_CONSTEXPR dunedaq::opmon::ComplexInfo::ComplexInfo ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ ComplexInfo() [3/6]

dunedaq::opmon::ComplexInfo::ComplexInfo ( const ComplexInfo & from)

Definition at line 470 of file test.pb.cc.

470 : ::google::protobuf::Message() {
471 ComplexInfo* const _this = this;
472 (void)_this;
473 new (&_impl_) Impl_{
474 decltype(_impl_._has_bits_){from._impl_._has_bits_},
475 /*decltype(_impl_._cached_size_)*/ {},
476 decltype(_impl_.r_field_){from._impl_.r_field_},
477 /* _impl_._r_field_cached_byte_size_ = */ {0},
478 decltype(_impl_.sub_message_){nullptr},
479 decltype(_impl_.another_float_){},
480 };
481 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
482 from._internal_metadata_);
483 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
484 _this->_impl_.sub_message_ = new ::dunedaq::opmon::TestInfo(*from._impl_.sub_message_);
485 }
486 _this->_impl_.another_float_ = from._impl_.another_float_;
487
488 // @@protoc_insertion_point(copy_constructor:dunedaq.opmon.ComplexInfo)
489}
::dunedaq::opmon::TestInfo * sub_message_
Definition test.pb.h:468
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition test.pb.h:464
::google::protobuf::RepeatedField<::int32_t > r_field_
Definition test.pb.h:466

◆ ComplexInfo() [4/6]

dunedaq::opmon::ComplexInfo::ComplexInfo ( ComplexInfo && from)
inlinenoexcept

Definition at line 288 of file test.pb.h.

289 : ComplexInfo() {
290 *this = ::std::move(from);
291 }

◆ ComplexInfo() [5/6]

dunedaq::opmon::ComplexInfo::ComplexInfo ( ::google::protobuf::Arena * arena)
explicitprotected

Definition at line 465 of file test.pb.cc.

466 : ::google::protobuf::Message(arena) {
467 SharedCtor(arena);
468 // @@protoc_insertion_point(arena_constructor:dunedaq.opmon.ComplexInfo)
469}
void SharedCtor(::google::protobuf::Arena *arena)
Definition test.pb.cc:490

◆ ComplexInfo() [6/6]

template<typename >
PROTOBUF_CONSTEXPR dunedaq::opmon::ComplexInfo::ComplexInfo ( ::_pbi::ConstantInitialized )

Definition at line 48 of file test.pb.cc.

49 : _impl_{
50 /*decltype(_impl_._has_bits_)*/ {},
51 /*decltype(_impl_._cached_size_)*/ {},
52 /*decltype(_impl_.r_field_)*/ {},
53 /* _impl_._r_field_cached_byte_size_ = */ {0},
54 /*decltype(_impl_.sub_message_)*/ nullptr,
55 /*decltype(_impl_.another_float_)*/ 0,
56 } {}

Member Function Documentation

◆ _internal_another_float()

float dunedaq::opmon::ComplexInfo::_internal_another_float ( ) const
inlineprivate

Definition at line 625 of file test.pb.h.

625 {
626 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
627 return _impl_.another_float_;
628}

◆ _internal_mutable_r_field()

google::protobuf::RepeatedField<::int32_t > * dunedaq::opmon::ComplexInfo::_internal_mutable_r_field ( )
inlineprivate

Definition at line 768 of file test.pb.h.

768 {
769 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
770 return &_impl_.r_field_;
771}

◆ _internal_mutable_sub_message()

dunedaq::opmon::TestInfo * dunedaq::opmon::ComplexInfo::_internal_mutable_sub_message ( )
inlineprivate

Definition at line 695 of file test.pb.h.

695 {
696 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
697 _impl_._has_bits_[0] |= 0x00000001u;
698 if (_impl_.sub_message_ == nullptr) {
699 auto* p = CreateMaybeMessage<::dunedaq::opmon::TestInfo>(GetArenaForAllocation());
700 _impl_.sub_message_ = reinterpret_cast<::dunedaq::opmon::TestInfo*>(p);
701 }
702 return _impl_.sub_message_;
703}

◆ _internal_r_field()

const::google::protobuf::RepeatedField<::int32_t > & dunedaq::opmon::ComplexInfo::_internal_r_field ( ) const
inlineprivate

Definition at line 764 of file test.pb.h.

764 {
765 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
766 return _impl_.r_field_;
767}

◆ _internal_r_field_size()

int dunedaq::opmon::ComplexInfo::_internal_r_field_size ( ) const
inlineprivate

Definition at line 732 of file test.pb.h.

732 {
733 return _internal_r_field().size();
734}
const ::google::protobuf::RepeatedField<::int32_t > & _internal_r_field() const
Definition test.pb.h:764

◆ _internal_set_another_float()

void dunedaq::opmon::ComplexInfo::_internal_set_another_float ( float value)
inlineprivate

Definition at line 629 of file test.pb.h.

629 {
630 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
631 ;
632 _impl_.another_float_ = value;
633}

◆ _internal_sub_message()

const::dunedaq::opmon::TestInfo & dunedaq::opmon::ComplexInfo::_internal_sub_message ( ) const
inlineprivate

Definition at line 645 of file test.pb.h.

645 {
646 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
647 const ::dunedaq::opmon::TestInfo* p = _impl_.sub_message_;
648 return p != nullptr ? *p : reinterpret_cast<const ::dunedaq::opmon::TestInfo&>(::dunedaq::opmon::_TestInfo_default_instance_);
649}
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestInfoDefaultTypeInternal _TestInfo_default_instance_
Definition test.pb.cc:46

◆ _InternalParse()

const char * dunedaq::opmon::ComplexInfo::_InternalParse ( const char * ptr,
::google::protobuf::internal::ParseContext * ctx )
final

Definition at line 532 of file test.pb.cc.

533 {
534 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
535 return ptr;
536}
static const ::google::protobuf::internal::TcParseTable< 2, 3, 1, 0, 2 > _table_
Definition test.pb.h:459

◆ _InternalSerialize()

uint8_t * dunedaq::opmon::ComplexInfo::_InternalSerialize ( ::uint8_t * target,
::google::protobuf::io::EpsCopyOutputStream * stream ) const
final

Definition at line 582 of file test.pb.cc.

584 {
585 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.opmon.ComplexInfo)
586 ::uint32_t cached_has_bits = 0;
587 (void)cached_has_bits;
588
589 // float another_float = 1;
590 static_assert(sizeof(::uint32_t) == sizeof(float),
591 "Code assumes ::uint32_t and float are the same size.");
592 float tmp_another_float = this->_internal_another_float();
593 ::uint32_t raw_another_float;
594 memcpy(&raw_another_float, &tmp_another_float, sizeof(tmp_another_float));
595 if (raw_another_float != 0) {
596 target = stream->EnsureSpace(target);
597 target = ::_pbi::WireFormatLite::WriteFloatToArray(
598 1, this->_internal_another_float(), target);
599 }
600
601 cached_has_bits = _impl_._has_bits_[0];
602 // .dunedaq.opmon.TestInfo sub_message = 3;
603 if (cached_has_bits & 0x00000001u) {
604 target = ::google::protobuf::internal::WireFormatLite::
605 InternalWriteMessage(3, _Internal::sub_message(this),
606 _Internal::sub_message(this).GetCachedSize(), target, stream);
607 }
608
609 // repeated int32 r_field = 4;
610 {
611 int byte_size = _impl_._r_field_cached_byte_size_.Get();
612 if (byte_size > 0) {
613 target = stream->WriteInt32Packed(4, _internal_r_field(),
614 byte_size, target);
615 }
616 }
617
618 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
619 target =
620 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
621 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
622 }
623 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.opmon.ComplexInfo)
624 return target;
625}
static const ::dunedaq::opmon::TestInfo & sub_message(const ComplexInfo *msg)
Definition test.pb.cc:462
int GetCachedSize() const final
Definition test.pb.h:380
float _internal_another_float() const
Definition test.pb.h:625
mutable::google::protobuf::internal::CachedSize _r_field_cached_byte_size_
Definition test.pb.h:467

◆ add_r_field()

void dunedaq::opmon::ComplexInfo::add_r_field ( ::int32_t value)
inline

Definition at line 749 of file test.pb.h.

749 {
750 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
751 _internal_mutable_r_field()->Add(value);
752 // @@protoc_insertion_point(field_add:dunedaq.opmon.ComplexInfo.r_field)
753}
::google::protobuf::RepeatedField<::int32_t > * _internal_mutable_r_field()
Definition test.pb.h:768

◆ another_float()

float dunedaq::opmon::ComplexInfo::another_float ( ) const
inline

Definition at line 617 of file test.pb.h.

617 {
618 // @@protoc_insertion_point(field_get:dunedaq.opmon.ComplexInfo.another_float)
620}

◆ ByteSizeLong()

size_t dunedaq::opmon::ComplexInfo::ByteSizeLong ( ) const
final

Definition at line 627 of file test.pb.cc.

627 {
628// @@protoc_insertion_point(message_byte_size_start:dunedaq.opmon.ComplexInfo)
629 ::size_t total_size = 0;
630
631 ::uint32_t cached_has_bits = 0;
632 // Prevent compiler warnings about cached_has_bits being unused
633 (void) cached_has_bits;
634
635 // repeated int32 r_field = 4;
636 {
637 std::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
638 this->_internal_r_field())
639 ;
640 _impl_._r_field_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
641 std::size_t tag_size = data_size == 0
642 ? 0
643 : 1 + ::_pbi::WireFormatLite::Int32Size(
644 static_cast<int32_t>(data_size))
645 ;
646 total_size += tag_size + data_size;
647 }
648 // .dunedaq.opmon.TestInfo sub_message = 3;
649 cached_has_bits = _impl_._has_bits_[0];
650 if (cached_has_bits & 0x00000001u) {
651 total_size += 1 +
652 ::google::protobuf::internal::WireFormatLite::MessageSize(
654 }
655
656 // float another_float = 1;
657 static_assert(sizeof(::uint32_t) == sizeof(float),
658 "Code assumes ::uint32_t and float are the same size.");
659 float tmp_another_float = this->_internal_another_float();
660 ::uint32_t raw_another_float;
661 memcpy(&raw_another_float, &tmp_another_float, sizeof(tmp_another_float));
662 if (raw_another_float != 0) {
663 total_size += 5;
664 }
665
666 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
667}
mutable::google::protobuf::internal::CachedSize _cached_size_
Definition test.pb.h:465

◆ Clear()

PROTOBUF_NOINLINE void dunedaq::opmon::ComplexInfo::Clear ( )
final

Definition at line 515 of file test.pb.cc.

515 {
516// @@protoc_insertion_point(message_clear_start:dunedaq.opmon.ComplexInfo)
517 ::uint32_t cached_has_bits = 0;
518 // Prevent compiler warnings about cached_has_bits being unused
519 (void) cached_has_bits;
520
521 _internal_mutable_r_field()->Clear();
522 cached_has_bits = _impl_._has_bits_[0];
523 if (cached_has_bits & 0x00000001u) {
524 ABSL_DCHECK(_impl_.sub_message_ != nullptr);
526 }
528 _impl_._has_bits_.Clear();
529 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
530}
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition test.pb.cc:224

◆ clear_another_float()

void dunedaq::opmon::ComplexInfo::clear_another_float ( )
inline

Definition at line 614 of file test.pb.h.

614 {
616}

◆ clear_r_field()

void dunedaq::opmon::ComplexInfo::clear_r_field ( )
inline

Definition at line 738 of file test.pb.h.

738 {
739 _internal_mutable_r_field()->Clear();
740}

◆ clear_sub_message()

void dunedaq::opmon::ComplexInfo::clear_sub_message ( )
inline

Definition at line 641 of file test.pb.h.

641 {
642 if (_impl_.sub_message_ != nullptr) _impl_.sub_message_->Clear();
643 _impl_._has_bits_[0] &= ~0x00000001u;
644}

◆ CopyFrom()

void dunedaq::opmon::ComplexInfo::CopyFrom ( const ComplexInfo & from)

Definition at line 700 of file test.pb.cc.

700 {
701// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.opmon.ComplexInfo)
702 if (&from == this) return;
703 Clear();
704 MergeFrom(from);
705}
void MergeFrom(const ComplexInfo &from)
Definition test.pb.h:367
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition test.pb.cc:515

◆ default_instance()

static const ComplexInfo & dunedaq::opmon::ComplexInfo::default_instance ( )
inlinestatic

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

327 {
329 }
static const ComplexInfo * internal_default_instance()
Definition test.pb.h:330

◆ descriptor()

static const ::google::protobuf::Descriptor * dunedaq::opmon::ComplexInfo::descriptor ( )
inlinestatic

Definition at line 318 of file test.pb.h.

318 {
319 return GetDescriptor();
320 }
static const ::google::protobuf::Descriptor * GetDescriptor()
Definition test.pb.h:321

◆ FullMessageName()

::absl::string_view dunedaq::opmon::ComplexInfo::FullMessageName ( )
inlinestaticprivate

Definition at line 390 of file test.pb.h.

390 {
391 return "dunedaq.opmon.ComplexInfo";
392 }

◆ GetCachedSize()

int dunedaq::opmon::ComplexInfo::GetCachedSize ( ) const
inlinefinal

Definition at line 380 of file test.pb.h.

380{ return _impl_._cached_size_.Get(); }

◆ GetClassData()

const::google::protobuf::Message::ClassData * dunedaq::opmon::ComplexInfo::GetClassData ( ) const
final

Definition at line 673 of file test.pb.cc.

673{ return &_class_data_; }
static const ClassData _class_data_
Definition test.pb.h:397

◆ GetDescriptor()

static const ::google::protobuf::Descriptor * dunedaq::opmon::ComplexInfo::GetDescriptor ( )
inlinestatic

Definition at line 321 of file test.pb.h.

321 {
322 return default_instance().GetMetadata().descriptor;
323 }
static const ComplexInfo & default_instance()
Definition test.pb.h:327
::google::protobuf::Metadata GetMetadata() const final
Definition test.pb.cc:724

◆ GetMetadata()

google::protobuf::Metadata dunedaq::opmon::ComplexInfo::GetMetadata ( ) const
final

Definition at line 724 of file test.pb.cc.

724 {
725 return ::_pbi::AssignDescriptors(
728}
::absl::once_flag descriptor_table_opmonlib_2fopmon_2ftest_2eproto_once
Definition test.pb.cc:123
::_pb::Metadata file_level_metadata_opmonlib_2fopmon_2ftest_2eproto[2]
Definition test.pb.cc:69
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_opmonlib_2fopmon_2ftest_2eproto_getter()
Definition test.pb.cc:153

◆ GetReflection()

static const ::google::protobuf::Reflection * dunedaq::opmon::ComplexInfo::GetReflection ( )
inlinestatic

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

324 {
325 return default_instance().GetMetadata().reflection;
326 }

◆ has_sub_message()

bool dunedaq::opmon::ComplexInfo::has_sub_message ( ) const
inline

Definition at line 636 of file test.pb.h.

636 {
637 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
638 PROTOBUF_ASSUME(!value || _impl_.sub_message_ != nullptr);
639 return value;
640}

◆ internal_default_instance()

static const ComplexInfo * dunedaq::opmon::ComplexInfo::internal_default_instance ( )
inlinestatic

Definition at line 330 of file test.pb.h.

330 {
331 return reinterpret_cast<const ComplexInfo*>(
333 }
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ComplexInfoDefaultTypeInternal _ComplexInfo_default_instance_
Definition test.pb.cc:66

◆ InternalSwap()

void dunedaq::opmon::ComplexInfo::InternalSwap ( ComplexInfo * other)
private

Definition at line 711 of file test.pb.cc.

711 {
712 using std::swap;
713 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
714 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
715 _impl_.r_field_.InternalSwap(&other->_impl_.r_field_);
716 ::google::protobuf::internal::memswap<
717 PROTOBUF_FIELD_OFFSET(ComplexInfo, _impl_.another_float_)
719 - PROTOBUF_FIELD_OFFSET(ComplexInfo, _impl_.sub_message_)>(
720 reinterpret_cast<char*>(&_impl_.sub_message_),
721 reinterpret_cast<char*>(&other->_impl_.sub_message_));
722}
friend void swap(ComplexInfo &a, ComplexInfo &b)
Definition test.pb.h:337

◆ IsInitialized()

PROTOBUF_NOINLINE bool dunedaq::opmon::ComplexInfo::IsInitialized ( ) const
final

Definition at line 707 of file test.pb.cc.

707 {
708 return true;
709}

◆ MergeFrom()

void dunedaq::opmon::ComplexInfo::MergeFrom ( const ComplexInfo & from)
inline

Definition at line 367 of file test.pb.h.

367 {
368 ComplexInfo::MergeImpl(*this, from);
369 }
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
Definition test.pb.cc:676

◆ MergeImpl()

void dunedaq::opmon::ComplexInfo::MergeImpl ( ::google::protobuf::Message & to_msg,
const ::google::protobuf::Message & from_msg )
staticprivate

Definition at line 676 of file test.pb.cc.

676 {
677 auto* const _this = static_cast<ComplexInfo*>(&to_msg);
678 auto& from = static_cast<const ComplexInfo&>(from_msg);
679 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.opmon.ComplexInfo)
680 ABSL_DCHECK_NE(&from, _this);
681 ::uint32_t cached_has_bits = 0;
682 (void) cached_has_bits;
683
684 _this->_internal_mutable_r_field()->MergeFrom(from._internal_r_field());
685 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
686 _this->_internal_mutable_sub_message()->::dunedaq::opmon::TestInfo::MergeFrom(
687 from._internal_sub_message());
688 }
689 static_assert(sizeof(::uint32_t) == sizeof(float),
690 "Code assumes ::uint32_t and float are the same size.");
691 float tmp_another_float = from._internal_another_float();
692 ::uint32_t raw_another_float;
693 memcpy(&raw_another_float, &tmp_another_float, sizeof(tmp_another_float));
694 if (raw_another_float != 0) {
695 _this->_internal_set_another_float(from._internal_another_float());
696 }
697 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
698}

◆ mutable_r_field()

google::protobuf::RepeatedField<::int32_t > * dunedaq::opmon::ComplexInfo::mutable_r_field ( )
inline

Definition at line 758 of file test.pb.h.

758 {
759 // @@protoc_insertion_point(field_mutable_list:dunedaq.opmon.ComplexInfo.r_field)
760 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
762}

◆ mutable_sub_message()

dunedaq::opmon::TestInfo * dunedaq::opmon::ComplexInfo::mutable_sub_message ( )
inline

Definition at line 704 of file test.pb.h.

704 {
706 // @@protoc_insertion_point(field_mutable:dunedaq.opmon.ComplexInfo.sub_message)
707 return _msg;
708}
::dunedaq::opmon::TestInfo * _internal_mutable_sub_message()
Definition test.pb.h:695

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet * dunedaq::opmon::ComplexInfo::mutable_unknown_fields ( )
inline

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

314 {
315 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
316 }

◆ New()

ComplexInfo * dunedaq::opmon::ComplexInfo::New ( ::google::protobuf::Arena * arena = nullptr) const
inlinefinal

Definition at line 361 of file test.pb.h.

361 {
362 return CreateMaybeMessage<ComplexInfo>(arena);
363 }

◆ operator=() [1/2]

ComplexInfo & dunedaq::opmon::ComplexInfo::operator= ( ComplexInfo && from)
inlinenoexcept

Definition at line 297 of file test.pb.h.

297 {
298 if (this == &from) return *this;
299 if (GetOwningArena() == from.GetOwningArena()
300 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
301 && GetOwningArena() != nullptr
302 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
303 ) {
304 InternalSwap(&from);
305 } else {
306 CopyFrom(from);
307 }
308 return *this;
309 }
void InternalSwap(ComplexInfo *other)
Definition test.pb.cc:711
void CopyFrom(const ComplexInfo &from)
Definition test.pb.cc:700

◆ operator=() [2/2]

ComplexInfo & dunedaq::opmon::ComplexInfo::operator= ( const ComplexInfo & from)
inline

Definition at line 293 of file test.pb.h.

293 {
294 CopyFrom(from);
295 return *this;
296 }

◆ r_field() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & dunedaq::opmon::ComplexInfo::r_field ( ) const
inline

Definition at line 754 of file test.pb.h.

754 {
755 // @@protoc_insertion_point(field_list:dunedaq.opmon.ComplexInfo.r_field)
756 return _internal_r_field();
757}

◆ r_field() [2/2]

int32_t dunedaq::opmon::ComplexInfo::r_field ( int index) const
inline

Definition at line 741 of file test.pb.h.

741 {
742 // @@protoc_insertion_point(field_get:dunedaq.opmon.ComplexInfo.r_field)
743 return _internal_r_field().Get(index);
744}

◆ r_field_size()

int dunedaq::opmon::ComplexInfo::r_field_size ( ) const
inline

Definition at line 735 of file test.pb.h.

735 {
736 return _internal_r_field_size();
737}
int _internal_r_field_size() const
Definition test.pb.h:732

◆ release_sub_message()

dunedaq::opmon::TestInfo * dunedaq::opmon::ComplexInfo::release_sub_message ( )
inline

Definition at line 667 of file test.pb.h.

667 {
668 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
669
670 _impl_._has_bits_[0] &= ~0x00000001u;
672 _impl_.sub_message_ = nullptr;
673#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
674 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
675 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
676 if (GetArenaForAllocation() == nullptr) {
677 delete old;
678 }
679#else // PROTOBUF_FORCE_COPY_IN_RELEASE
680 if (GetArenaForAllocation() != nullptr) {
681 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
682 }
683#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
684 return released;
685}

◆ set_allocated_sub_message()

void dunedaq::opmon::ComplexInfo::set_allocated_sub_message ( ::dunedaq::opmon::TestInfo * value)
inline

Definition at line 709 of file test.pb.h.

709 {
710 ::google::protobuf::Arena* message_arena = GetArenaForAllocation();
711 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
712 if (message_arena == nullptr) {
713 delete reinterpret_cast<::dunedaq::opmon::TestInfo*>(_impl_.sub_message_);
714 }
715
716 if (value != nullptr) {
717 ::google::protobuf::Arena* submessage_arena =
718 ::google::protobuf::Arena::InternalGetOwningArena(reinterpret_cast<::dunedaq::opmon::TestInfo*>(value));
719 if (message_arena != submessage_arena) {
720 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
721 }
722 _impl_._has_bits_[0] |= 0x00000001u;
723 } else {
724 _impl_._has_bits_[0] &= ~0x00000001u;
725 }
726
727 _impl_.sub_message_ = reinterpret_cast<::dunedaq::opmon::TestInfo*>(value);
728 // @@protoc_insertion_point(field_set_allocated:dunedaq.opmon.ComplexInfo.sub_message)
729}

◆ set_another_float()

void dunedaq::opmon::ComplexInfo::set_another_float ( float value)
inline

Definition at line 621 of file test.pb.h.

621 {
623 // @@protoc_insertion_point(field_set:dunedaq.opmon.ComplexInfo.another_float)
624}
void _internal_set_another_float(float value)
Definition test.pb.h:629

◆ set_r_field()

void dunedaq::opmon::ComplexInfo::set_r_field ( int index,
::int32_t value )
inline

Definition at line 745 of file test.pb.h.

745 {
746 _internal_mutable_r_field()->Set(index, value);
747 // @@protoc_insertion_point(field_set:dunedaq.opmon.ComplexInfo.r_field)
748}

◆ SetCachedSize()

void dunedaq::opmon::ComplexInfo::SetCachedSize ( int size) const
finalprivate

Definition at line 511 of file test.pb.cc.

511 {
513}
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size

◆ SharedCtor()

void dunedaq::opmon::ComplexInfo::SharedCtor ( ::google::protobuf::Arena * arena)
inlineprivate

Definition at line 490 of file test.pb.cc.

490 {
491 (void)arena;
492 new (&_impl_) Impl_{
493 decltype(_impl_._has_bits_){},
494 /*decltype(_impl_._cached_size_)*/ {},
495 decltype(_impl_.r_field_){arena},
496 /* _impl_._r_field_cached_byte_size_ = */ {0},
497 decltype(_impl_.sub_message_){nullptr},
498 decltype(_impl_.another_float_){0},
499 };
500}

◆ SharedDtor()

void dunedaq::opmon::ComplexInfo::SharedDtor ( )
inlineprivate

Definition at line 506 of file test.pb.cc.

506 {
507 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
508 _impl_.r_field_.~RepeatedField();
509 if (this != internal_default_instance()) delete _impl_.sub_message_;
510}

◆ sub_message()

const::dunedaq::opmon::TestInfo & dunedaq::opmon::ComplexInfo::sub_message ( ) const
inline

Definition at line 650 of file test.pb.h.

650 {
651 // @@protoc_insertion_point(field_get:dunedaq.opmon.ComplexInfo.sub_message)
652 return _internal_sub_message();
653}
const ::dunedaq::opmon::TestInfo & _internal_sub_message() const
Definition test.pb.h:645

◆ Swap()

void dunedaq::opmon::ComplexInfo::Swap ( ComplexInfo * other)
inline

Definition at line 340 of file test.pb.h.

340 {
341 if (other == this) return;
342 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
343 if (GetOwningArena() != nullptr &&
344 GetOwningArena() == other->GetOwningArena()) {
345 #else // PROTOBUF_FORCE_COPY_IN_SWAP
346 if (GetOwningArena() == other->GetOwningArena()) {
347 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
348 InternalSwap(other);
349 } else {
350 ::google::protobuf::internal::GenericSwap(this, other);
351 }
352 }

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & dunedaq::opmon::ComplexInfo::unknown_fields ( ) const
inline

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

311 {
312 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
313 }

◆ unsafe_arena_release_sub_message()

dunedaq::opmon::TestInfo * dunedaq::opmon::ComplexInfo::unsafe_arena_release_sub_message ( )
inline

Definition at line 686 of file test.pb.h.

686 {
687 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
688 // @@protoc_insertion_point(field_release:dunedaq.opmon.ComplexInfo.sub_message)
689
690 _impl_._has_bits_[0] &= ~0x00000001u;
692 _impl_.sub_message_ = nullptr;
693 return temp;
694}

◆ unsafe_arena_set_allocated_sub_message()

void dunedaq::opmon::ComplexInfo::unsafe_arena_set_allocated_sub_message ( ::dunedaq::opmon::TestInfo * value)
inline

Definition at line 654 of file test.pb.h.

654 {
655 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
656 if (GetArenaForAllocation() == nullptr) {
657 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sub_message_);
658 }
659 _impl_.sub_message_ = reinterpret_cast<::dunedaq::opmon::TestInfo*>(value);
660 if (value != nullptr) {
661 _impl_._has_bits_[0] |= 0x00000001u;
662 } else {
663 _impl_._has_bits_[0] &= ~0x00000001u;
664 }
665 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:dunedaq.opmon.ComplexInfo.sub_message)
666}

◆ UnsafeArenaSwap()

void dunedaq::opmon::ComplexInfo::UnsafeArenaSwap ( ComplexInfo * other)
inline

Definition at line 353 of file test.pb.h.

353 {
354 if (other == this) return;
355 ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
356 InternalSwap(other);
357 }

Friends And Related Symbol Documentation

◆ ::google::protobuf::Arena::InternalHelper

template<typename T >
friend class ::google::protobuf::Arena::InternalHelper
friend

Definition at line 460 of file test.pb.h.

◆ ::google::protobuf::internal::AnyMetadata

friend class ::google::protobuf::internal::AnyMetadata
friend

Definition at line 389 of file test.pb.h.

◆ ::google::protobuf::internal::TcParser

friend class ::google::protobuf::internal::TcParser
friend

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

◆ ::TableStruct_opmonlib_2fopmon_2ftest_2eproto

Definition at line 473 of file test.pb.h.

◆ swap

void swap ( ComplexInfo & a,
ComplexInfo & b )
friend

Definition at line 337 of file test.pb.h.

337 {
338 a.Swap(&b);
339 }

Member Data Documentation

◆ [union]

◆ _class_data_

const::google::protobuf::Message::ClassData dunedaq::opmon::ComplexInfo::_class_data_
static
Initial value:
= {
::google::protobuf::Message::CopyWithSourceCheck,
}

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

◆ _impl_

Impl_ dunedaq::opmon::ComplexInfo::_impl_

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

◆ _table_

PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::_pbi::TcParseTable< 2, 3, 1, 0, 2 > dunedaq::opmon::ComplexInfo::_table_
staticprivate

Definition at line 459 of file test.pb.h.

◆ kIndexInFileMessages

int dunedaq::opmon::ComplexInfo::kIndexInFileMessages
staticconstexpr
Initial value:
=
1

Definition at line 334 of file test.pb.h.


The documentation for this class was generated from the following files: