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

#include <test.pb.h>

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

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int { kStringExampleFieldNumber = 1 , kFloatExampleFieldNumber = 2 , kIntExampleFieldNumber = 3 , kBoolExampleFieldNumber = 4 }
 

Public Member Functions

 TestInfo ()
 
 ~TestInfo () override
 
template<typename = void>
PROTOBUF_CONSTEXPR TestInfo (::google::protobuf::internal::ConstantInitialized)
 
 TestInfo (const TestInfo &from)
 
 TestInfo (TestInfo &&from) noexcept
 
TestInfooperator= (const TestInfo &from)
 
TestInfooperator= (TestInfo &&from) noexcept
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (TestInfo *other)
 
void UnsafeArenaSwap (TestInfo *other)
 
TestInfoNew (::google::protobuf::Arena *arena=nullptr) const final
 
void CopyFrom (const TestInfo &from)
 
void MergeFrom (const TestInfo &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
 
void clear_string_example ()
 
const std::string & string_example () const
 
template<typename Arg_ = const std::string&, typename... Args_>
void set_string_example (Arg_ &&arg, Args_... args)
 
std::string * mutable_string_example ()
 
PROTOBUF_NODISCARD std::string * release_string_example ()
 
void set_allocated_string_example (std::string *ptr)
 
void clear_float_example ()
 
double float_example () const
 
void set_float_example (double value)
 
void clear_int_example ()
 
::int64_t int_example () const
 
void set_int_example (::int64_t value)
 
void clear_bool_example ()
 
bool bool_example () const
 
void set_bool_example (bool value)
 
template<typename >
PROTOBUF_CONSTEXPR TestInfo (::_pbi::ConstantInitialized)
 
template<typename Arg_ , typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_string_example (Arg_ &&arg, Args_... args)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const ::google::protobuf::Descriptor * GetDescriptor ()
 
static const ::google::protobuf::Reflection * GetReflection ()
 
static const TestInfodefault_instance ()
 
static const TestInfointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

 TestInfo (::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 (TestInfo *other)
 
const std::string & _internal_string_example () const
 
PROTOBUF_ALWAYS_INLINE void _internal_set_string_example (const std::string &value)
 
std::string * _internal_mutable_string_example ()
 
double _internal_float_example () const
 
void _internal_set_float_example (double value)
 
::int64_t _internal_int_example () const
 
void _internal_set_int_example (::int64_t value)
 
bool _internal_bool_example () const
 
void _internal_set_bool_example (bool 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, 4, 0, 45, 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 (TestInfo &a, TestInfo &b)
 

Detailed Description

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

Member Typedef Documentation

◆ DestructorSkippable_

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

◆ InternalArenaConstructable_

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kStringExampleFieldNumber 
kFloatExampleFieldNumber 
kIntExampleFieldNumber 
kBoolExampleFieldNumber 

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

Constructor & Destructor Documentation

◆ TestInfo() [1/6]

dunedaq::opmon::TestInfo::TestInfo ( )
inline

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

82: TestInfo(nullptr) {}

◆ ~TestInfo()

dunedaq::opmon::TestInfo::~TestInfo ( )
override

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

211 {
212 // @@protoc_insertion_point(destructor:dunedaq.opmon.TestInfo)
213 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
214 SharedDtor();
215}

◆ TestInfo() [2/6]

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

◆ TestInfo() [3/6]

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

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

172 : ::google::protobuf::Message() {
173 TestInfo* const _this = this;
174 (void)_this;
175 new (&_impl_) Impl_{
176 decltype(_impl_.string_example_){},
177 decltype(_impl_.float_example_){},
178 decltype(_impl_.int_example_){},
179 decltype(_impl_.bool_example_){},
180 /*decltype(_impl_._cached_size_)*/ {},
181 };
182 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
183 from._internal_metadata_);
184 _impl_.string_example_.InitDefault();
185 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
186 _impl_.string_example_.Set("", GetArenaForAllocation());
187 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
188 if (!from._internal_string_example().empty()) {
189 _this->_impl_.string_example_.Set(from._internal_string_example(), _this->GetArenaForAllocation());
190 }
191 ::memcpy(&_impl_.float_example_, &from._impl_.float_example_,
192 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.bool_example_) -
193 reinterpret_cast<char*>(&_impl_.float_example_)) + sizeof(_impl_.bool_example_));
194
195 // @@protoc_insertion_point(copy_constructor:dunedaq.opmon.TestInfo)
196}
::google::protobuf::internal::ArenaStringPtr string_example_
Definition test.pb.h:268

◆ TestInfo() [4/6]

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

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

89 : TestInfo() {
90 *this = ::std::move(from);
91 }

◆ TestInfo() [5/6]

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

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

168 : ::google::protobuf::Message(arena) {
169 SharedCtor(arena);
170 // @@protoc_insertion_point(arena_constructor:dunedaq.opmon.TestInfo)
171}
void SharedCtor(::google::protobuf::Arena *arena)
Definition test.pb.cc:197

◆ TestInfo() [6/6]

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

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

27 : _impl_{
28 /*decltype(_impl_.string_example_)*/ {
29 &::_pbi::fixed_address_empty_string,
30 ::_pbi::ConstantInitialized{},
31 },
32 /*decltype(_impl_.float_example_)*/ 0,
33 /*decltype(_impl_.int_example_)*/ ::int64_t{0},
34 /*decltype(_impl_.bool_example_)*/ false,
35 /*decltype(_impl_._cached_size_)*/ {},
36 } {}

Member Function Documentation

◆ _internal_bool_example()

bool dunedaq::opmon::TestInfo::_internal_bool_example ( ) const
inlineprivate

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

599 {
600 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
601 return _impl_.bool_example_;
602}

◆ _internal_float_example()

double dunedaq::opmon::TestInfo::_internal_float_example ( ) const
inlineprivate

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

555 {
556 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
557 return _impl_.float_example_;
558}

◆ _internal_int_example()

int64_t dunedaq::opmon::TestInfo::_internal_int_example ( ) const
inlineprivate

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

577 {
578 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
579 return _impl_.int_example_;
580}

◆ _internal_mutable_string_example()

std::string * dunedaq::opmon::TestInfo::_internal_mutable_string_example ( )
inlineprivate

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

522 {
523 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
524 ;
525 return _impl_.string_example_.Mutable( GetArenaForAllocation());
526}

◆ _internal_set_bool_example()

void dunedaq::opmon::TestInfo::_internal_set_bool_example ( bool value)
inlineprivate

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

603 {
604 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
605 ;
606 _impl_.bool_example_ = value;
607}

◆ _internal_set_float_example()

void dunedaq::opmon::TestInfo::_internal_set_float_example ( double value)
inlineprivate

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

559 {
560 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
561 ;
562 _impl_.float_example_ = value;
563}

◆ _internal_set_int_example()

void dunedaq::opmon::TestInfo::_internal_set_int_example ( ::int64_t value)
inlineprivate

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

581 {
582 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
583 ;
584 _impl_.int_example_ = value;
585}

◆ _internal_set_string_example()

void dunedaq::opmon::TestInfo::_internal_set_string_example ( const std::string & value)
inlineprivate

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

517 {
518 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
519 ;
520 _impl_.string_example_.Set(value, GetArenaForAllocation());
521}

◆ _internal_string_example()

const std::string & dunedaq::opmon::TestInfo::_internal_string_example ( ) const
inlineprivate

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

513 {
514 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
515 return _impl_.string_example_.Get();
516}

◆ _InternalParse()

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

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

238 {
239 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
240 return ptr;
241}
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 45, 2 > _table_
Definition test.pb.h:263

◆ _InternalSerialize()

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

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

297 {
298 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.opmon.TestInfo)
299 ::uint32_t cached_has_bits = 0;
300 (void)cached_has_bits;
301
302 // string string_example = 1;
303 if (!this->_internal_string_example().empty()) {
304 const std::string& _s = this->_internal_string_example();
305 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
306 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "dunedaq.opmon.TestInfo.string_example");
307 target = stream->WriteStringMaybeAliased(1, _s, target);
308 }
309
310 // double float_example = 2;
311 static_assert(sizeof(::uint64_t) == sizeof(double),
312 "Code assumes ::uint64_t and double are the same size.");
313 double tmp_float_example = this->_internal_float_example();
314 ::uint64_t raw_float_example;
315 memcpy(&raw_float_example, &tmp_float_example, sizeof(tmp_float_example));
316 if (raw_float_example != 0) {
317 target = stream->EnsureSpace(target);
318 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
319 2, this->_internal_float_example(), target);
320 }
321
322 // int64 int_example = 3;
323 if (this->_internal_int_example() != 0) {
324 target = ::google::protobuf::internal::WireFormatLite::
325 WriteInt64ToArrayWithField<3>(
326 stream, this->_internal_int_example(), target);
327 }
328
329 // bool bool_example = 4;
330 if (this->_internal_bool_example() != 0) {
331 target = stream->EnsureSpace(target);
332 target = ::_pbi::WireFormatLite::WriteBoolToArray(
333 4, this->_internal_bool_example(), target);
334 }
335
336 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
337 target =
338 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
339 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
340 }
341 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.opmon.TestInfo)
342 return target;
343}
bool _internal_bool_example() const
Definition test.pb.h:599
const std::string & _internal_string_example() const
Definition test.pb.h:513
double _internal_float_example() const
Definition test.pb.h:555
::int64_t _internal_int_example() const
Definition test.pb.h:577

◆ bool_example()

bool dunedaq::opmon::TestInfo::bool_example ( ) const
inline

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

591 {
592 // @@protoc_insertion_point(field_get:dunedaq.opmon.TestInfo.bool_example)
593 return _internal_bool_example();
594}

◆ ByteSizeLong()

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

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

345 {
346// @@protoc_insertion_point(message_byte_size_start:dunedaq.opmon.TestInfo)
347 ::size_t total_size = 0;
348
349 ::uint32_t cached_has_bits = 0;
350 // Prevent compiler warnings about cached_has_bits being unused
351 (void) cached_has_bits;
352
353 // string string_example = 1;
354 if (!this->_internal_string_example().empty()) {
355 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
357 }
358
359 // double float_example = 2;
360 static_assert(sizeof(::uint64_t) == sizeof(double),
361 "Code assumes ::uint64_t and double are the same size.");
362 double tmp_float_example = this->_internal_float_example();
363 ::uint64_t raw_float_example;
364 memcpy(&raw_float_example, &tmp_float_example, sizeof(tmp_float_example));
365 if (raw_float_example != 0) {
366 total_size += 9;
367 }
368
369 // int64 int_example = 3;
370 if (this->_internal_int_example() != 0) {
371 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
372 this->_internal_int_example());
373 }
374
375 // bool bool_example = 4;
376 if (this->_internal_bool_example() != 0) {
377 total_size += 2;
378 }
379
380 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
381}
mutable::google::protobuf::internal::CachedSize _cached_size_
Definition test.pb.h:272

◆ Clear()

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

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

224 {
225// @@protoc_insertion_point(message_clear_start:dunedaq.opmon.TestInfo)
226 ::uint32_t cached_has_bits = 0;
227 // Prevent compiler warnings about cached_has_bits being unused
228 (void) cached_has_bits;
229
230 _impl_.string_example_.ClearToEmpty();
231 ::memset(&_impl_.float_example_, 0, static_cast<::size_t>(
232 reinterpret_cast<char*>(&_impl_.bool_example_) -
233 reinterpret_cast<char*>(&_impl_.float_example_)) + sizeof(_impl_.bool_example_));
234 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
235}

◆ clear_bool_example()

void dunedaq::opmon::TestInfo::clear_bool_example ( )
inline

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

588 {
589 _impl_.bool_example_ = false;
590}

◆ clear_float_example()

void dunedaq::opmon::TestInfo::clear_float_example ( )
inline

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

544 {
546}

◆ clear_int_example()

void dunedaq::opmon::TestInfo::clear_int_example ( )
inline

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

566 {
567 _impl_.int_example_ = ::int64_t{0};
568}

◆ clear_string_example()

void dunedaq::opmon::TestInfo::clear_string_example ( )
inline

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

493 {
494 _impl_.string_example_.ClearToEmpty();
495}

◆ CopyFrom()

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

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

418 {
419// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.opmon.TestInfo)
420 if (&from == this) return;
421 Clear();
422 MergeFrom(from);
423}
void MergeFrom(const TestInfo &from)
Definition test.pb.h:167
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition test.pb.cc:224

◆ default_instance()

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

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

127 {
129 }
static const TestInfo * internal_default_instance()
Definition test.pb.h:130

◆ descriptor()

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

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

118 {
119 return GetDescriptor();
120 }
static const ::google::protobuf::Descriptor * GetDescriptor()
Definition test.pb.h:121

◆ float_example()

double dunedaq::opmon::TestInfo::float_example ( ) const
inline

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

547 {
548 // @@protoc_insertion_point(field_get:dunedaq.opmon.TestInfo.float_example)
550}

◆ FullMessageName()

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

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

190 {
191 return "dunedaq.opmon.TestInfo";
192 }

◆ GetCachedSize()

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

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

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

◆ GetClassData()

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

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

387{ return &_class_data_; }
static const ClassData _class_data_
Definition test.pb.h:197

◆ GetDescriptor()

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

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

121 {
122 return default_instance().GetMetadata().descriptor;
123 }
static const TestInfo & default_instance()
Definition test.pb.h:127
::google::protobuf::Metadata GetMetadata() const final
Definition test.pb.cc:444

◆ GetMetadata()

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

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

444 {
445 return ::_pbi::AssignDescriptors(
448}
::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::TestInfo::GetReflection ( )
inlinestatic

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

124 {
125 return default_instance().GetMetadata().reflection;
126 }

◆ int_example()

int64_t dunedaq::opmon::TestInfo::int_example ( ) const
inline

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

569 {
570 // @@protoc_insertion_point(field_get:dunedaq.opmon.TestInfo.int_example)
571 return _internal_int_example();
572}

◆ internal_default_instance()

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

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

130 {
131 return reinterpret_cast<const TestInfo*>(
133 }
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestInfoDefaultTypeInternal _TestInfo_default_instance_
Definition test.pb.cc:46

◆ InternalSwap()

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

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

429 {
430 using std::swap;
431 auto* lhs_arena = GetArenaForAllocation();
432 auto* rhs_arena = other->GetArenaForAllocation();
433 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
434 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.string_example_, lhs_arena,
435 &other->_impl_.string_example_, rhs_arena);
436 ::google::protobuf::internal::memswap<
437 PROTOBUF_FIELD_OFFSET(TestInfo, _impl_.bool_example_)
439 - PROTOBUF_FIELD_OFFSET(TestInfo, _impl_.float_example_)>(
440 reinterpret_cast<char*>(&_impl_.float_example_),
441 reinterpret_cast<char*>(&other->_impl_.float_example_));
442}

◆ IsInitialized()

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

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

425 {
426 return true;
427}

◆ MergeFrom()

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

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

167 {
168 TestInfo::MergeImpl(*this, from);
169 }
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
Definition test.pb.cc:390

◆ MergeImpl()

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

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

390 {
391 auto* const _this = static_cast<TestInfo*>(&to_msg);
392 auto& from = static_cast<const TestInfo&>(from_msg);
393 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.opmon.TestInfo)
394 ABSL_DCHECK_NE(&from, _this);
395 ::uint32_t cached_has_bits = 0;
396 (void) cached_has_bits;
397
398 if (!from._internal_string_example().empty()) {
399 _this->_internal_set_string_example(from._internal_string_example());
400 }
401 static_assert(sizeof(::uint64_t) == sizeof(double),
402 "Code assumes ::uint64_t and double are the same size.");
403 double tmp_float_example = from._internal_float_example();
404 ::uint64_t raw_float_example;
405 memcpy(&raw_float_example, &tmp_float_example, sizeof(tmp_float_example));
406 if (raw_float_example != 0) {
407 _this->_internal_set_float_example(from._internal_float_example());
408 }
409 if (from._internal_int_example() != 0) {
410 _this->_internal_set_int_example(from._internal_int_example());
411 }
412 if (from._internal_bool_example() != 0) {
413 _this->_internal_set_bool_example(from._internal_bool_example());
414 }
415 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
416}

◆ mutable_string_example()

std::string * dunedaq::opmon::TestInfo::mutable_string_example ( )
inline

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

508 {
509 std::string* _s = _internal_mutable_string_example();
510 // @@protoc_insertion_point(field_mutable:dunedaq.opmon.TestInfo.string_example)
511 return _s;
512}
std::string * _internal_mutable_string_example()
Definition test.pb.h:522

◆ mutable_unknown_fields()

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

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

114 {
115 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
116 }

◆ New()

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

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

161 {
162 return CreateMaybeMessage<TestInfo>(arena);
163 }

◆ operator=() [1/2]

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

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

93 {
94 CopyFrom(from);
95 return *this;
96 }
void CopyFrom(const TestInfo &from)
Definition test.pb.cc:418

◆ operator=() [2/2]

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

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

97 {
98 if (this == &from) return *this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() != nullptr
102 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
103 ) {
104 InternalSwap(&from);
105 } else {
106 CopyFrom(from);
107 }
108 return *this;
109 }
void InternalSwap(TestInfo *other)
Definition test.pb.cc:429

◆ release_string_example()

std::string * dunedaq::opmon::TestInfo::release_string_example ( )
inline

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

527 {
528 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
529 // @@protoc_insertion_point(field_release:dunedaq.opmon.TestInfo.string_example)
530 return _impl_.string_example_.Release();
531}

◆ set_allocated_string_example()

void dunedaq::opmon::TestInfo::set_allocated_string_example ( std::string * ptr)
inline

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

532 {
533 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
534 _impl_.string_example_.SetAllocated(value, GetArenaForAllocation());
535 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
536 if (_impl_.string_example_.IsDefault()) {
537 _impl_.string_example_.Set("", GetArenaForAllocation());
538 }
539 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
540 // @@protoc_insertion_point(field_set_allocated:dunedaq.opmon.TestInfo.string_example)
541}

◆ set_bool_example()

void dunedaq::opmon::TestInfo::set_bool_example ( bool value)
inline

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

595 {
597 // @@protoc_insertion_point(field_set:dunedaq.opmon.TestInfo.bool_example)
598}
void _internal_set_bool_example(bool value)
Definition test.pb.h:603

◆ set_float_example()

void dunedaq::opmon::TestInfo::set_float_example ( double value)
inline

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

551 {
553 // @@protoc_insertion_point(field_set:dunedaq.opmon.TestInfo.float_example)
554}
void _internal_set_float_example(double value)
Definition test.pb.h:559

◆ set_int_example()

void dunedaq::opmon::TestInfo::set_int_example ( ::int64_t value)
inline

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

573 {
575 // @@protoc_insertion_point(field_set:dunedaq.opmon.TestInfo.int_example)
576}
void _internal_set_int_example(::int64_t value)
Definition test.pb.h:581

◆ set_string_example() [1/2]

template<typename Arg_ = const std::string&, typename... Args_>
void dunedaq::opmon::TestInfo::set_string_example ( Arg_ && arg,
Args_... args )

◆ set_string_example() [2/2]

template<typename Arg_ , typename... Args_>
PROTOBUF_ALWAYS_INLINE void dunedaq::opmon::TestInfo::set_string_example ( Arg_ && arg,
Args_... args )
inline

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

502 {
503 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
504 ;
505 _impl_.string_example_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
506 // @@protoc_insertion_point(field_set:dunedaq.opmon.TestInfo.string_example)
507}

◆ SetCachedSize()

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

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

220 {
222}
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size

◆ SharedCtor()

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

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

197 {
198 (void)arena;
199 new (&_impl_) Impl_{
200 decltype(_impl_.string_example_){},
201 decltype(_impl_.float_example_){0},
202 decltype(_impl_.int_example_){::int64_t{0}},
203 decltype(_impl_.bool_example_){false},
204 /*decltype(_impl_._cached_size_)*/ {},
205 };
206 _impl_.string_example_.InitDefault();
207 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
208 _impl_.string_example_.Set("", GetArenaForAllocation());
209 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
210}

◆ SharedDtor()

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

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

216 {
217 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
218 _impl_.string_example_.Destroy();
219}

◆ string_example()

const std::string & dunedaq::opmon::TestInfo::string_example ( ) const
inline

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

496 {
497 // @@protoc_insertion_point(field_get:dunedaq.opmon.TestInfo.string_example)
499}

◆ Swap()

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

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

140 {
141 if (other == this) return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() != nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
145 #else // PROTOBUF_FORCE_COPY_IN_SWAP
146 if (GetOwningArena() == other->GetOwningArena()) {
147 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
148 InternalSwap(other);
149 } else {
150 ::google::protobuf::internal::GenericSwap(this, other);
151 }
152 }

◆ unknown_fields()

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

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

111 {
112 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
113 }

◆ UnsafeArenaSwap()

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

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

153 {
154 if (other == this) return;
155 ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
156 InternalSwap(other);
157 }

Friends And Related Symbol Documentation

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

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

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

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

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

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

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

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

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

◆ ::TableStruct_opmonlib_2fopmon_2ftest_2eproto

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

◆ swap

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

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

137 {
138 a.Swap(&b);
139 }

Member Data Documentation

◆ [union]

union { ... } dunedaq::opmon::TestInfo

◆ _class_data_

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

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

◆ _impl_

Impl_ dunedaq::opmon::TestInfo::_impl_

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

◆ _table_

PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::_pbi::TcParseTable< 2, 4, 0, 45, 2 > dunedaq::opmon::TestInfo::_table_
staticprivate

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

◆ kIndexInFileMessages

int dunedaq::opmon::TestInfo::kIndexInFileMessages
staticconstexpr
Initial value:
=
0

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


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