Message-Queues beta 1.1
A Message-Queues based Cpp
 
载入中...
搜索中...
未找到
XuMQ::Message_Payload类 参考final

#include <msg.pb.h>

类 XuMQ::Message_Payload 继承关系图:
XuMQ::Message_Payload 的协作图:

class  _Internal
 
struct  Impl_
 

Public 类型

enum  : int { kBodyFieldNumber = 2 , kValidFieldNumber = 3 , kPropertiesFieldNumber = 1 }
 

Public 成员函数

 Message_Payload ()
 
 ~Message_Payload () override
 
PROTOBUF_CONSTEXPR Message_Payload (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Message_Payload (const Message_Payload &from)
 
 Message_Payload (Message_Payload &&from) noexcept
 
Message_Payloadoperator= (const Message_Payload &from)
 
Message_Payloadoperator= (Message_Payload &&from) noexcept
 
void Swap (Message_Payload *other)
 
void UnsafeArenaSwap (Message_Payload *other)
 
Message_PayloadNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
void CopyFrom (const Message_Payload &from)
 
void MergeFrom (const Message_Payload &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
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
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
void clear_body ()
 
const std::string & body () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_body (ArgT0 &&arg0, ArgT... args)
 
std::string * mutable_body ()
 
PROTOBUF_NODISCARD std::string * release_body ()
 
void set_allocated_body (std::string *body)
 
void clear_valid ()
 
const std::string & valid () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_valid (ArgT0 &&arg0, ArgT... args)
 
std::string * mutable_valid ()
 
PROTOBUF_NODISCARD std::string * release_valid ()
 
void set_allocated_valid (std::string *valid)
 
bool has_properties () const
 
void clear_properties ()
 
const ::XuMQ::BasicPropertiesproperties () const
 
PROTOBUF_NODISCARD::XuMQ::BasicProperties * release_properties ()
 
::XuMQ::BasicPropertiesmutable_properties ()
 
void set_allocated_properties (::XuMQ::BasicProperties *properties)
 
void unsafe_arena_set_allocated_properties (::XuMQ::BasicProperties *properties)
 
::XuMQ::BasicPropertiesunsafe_arena_release_properties ()
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_body (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_valid (ArgT0 &&arg0, ArgT... args)
 

静态 Public 成员函数

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Message_Payloaddefault_instance ()
 
static const Message_Payloadinternal_default_instance ()
 

静态 Public 属性

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected 成员函数

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

Private 类型

typedef void InternalArenaConstructable_
 
typedef void DestructorSkippable_
 

Private 成员函数

void SharedCtor (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned)
 
void SharedDtor ()
 
void SetCachedSize (int size) const final
 
void InternalSwap (Message_Payload *other)
 
const std::string & _internal_body () const
 
PROTOBUF_ALWAYS_INLINE void _internal_set_body (const std::string &value)
 
std::string * _internal_mutable_body ()
 
const std::string & _internal_valid () const
 
PROTOBUF_ALWAYS_INLINE void _internal_set_valid (const std::string &value)
 
std::string * _internal_mutable_valid ()
 
bool _internal_has_properties () const
 
const ::XuMQ::BasicProperties_internal_properties () const
 
::XuMQ::BasicProperties_internal_mutable_properties ()
 

静态 Private 成员函数

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

Private 属性

union { 
 
   Impl_   _impl_ 
 
};  
 

友元

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

成员类型定义说明

◆ DestructorSkippable_

◆ InternalArenaConstructable_

成员枚举类型说明

◆ anonymous enum

anonymous enum : int
枚举值
kBodyFieldNumber 
kValidFieldNumber 
kPropertiesFieldNumber 

构造及析构函数说明

◆ Message_Payload() [1/5]

XuMQ::Message_Payload::Message_Payload ( )
inline

◆ ~Message_Payload()

XuMQ::Message_Payload::~Message_Payload ( )
override
函数调用图:

◆ Message_Payload() [2/5]

PROTOBUF_CONSTEXPR XuMQ::Message_Payload::Message_Payload ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicit

◆ Message_Payload() [3/5]

XuMQ::Message_Payload::Message_Payload ( const Message_Payload from)
函数调用图:

◆ Message_Payload() [4/5]

XuMQ::Message_Payload::Message_Payload ( Message_Payload &&  from)
inlinenoexcept

◆ Message_Payload() [5/5]

XuMQ::Message_Payload::Message_Payload ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected
函数调用图:

成员函数说明

◆ _internal_body()

const std::string & XuMQ::Message_Payload::_internal_body ( ) const
inlineprivate
这是这个函数的调用关系图:

◆ _internal_has_properties()

bool XuMQ::Message_Payload::_internal_has_properties ( ) const
inlineprivate
这是这个函数的调用关系图:

◆ _internal_mutable_body()

std::string * XuMQ::Message_Payload::_internal_mutable_body ( )
inlineprivate
这是这个函数的调用关系图:

◆ _internal_mutable_properties()

XuMQ::BasicProperties * XuMQ::Message_Payload::_internal_mutable_properties ( )
inlineprivate
函数调用图:
这是这个函数的调用关系图:

◆ _internal_mutable_valid()

std::string * XuMQ::Message_Payload::_internal_mutable_valid ( )
inlineprivate
这是这个函数的调用关系图:

◆ _internal_properties()

const ::XuMQ::BasicProperties & XuMQ::Message_Payload::_internal_properties ( ) const
inlineprivate

◆ _internal_set_body()

void XuMQ::Message_Payload::_internal_set_body ( const std::string &  value)
inlineprivate

◆ _internal_set_valid()

void XuMQ::Message_Payload::_internal_set_valid ( const std::string &  value)
inlineprivate

◆ _internal_valid()

const std::string & XuMQ::Message_Payload::_internal_valid ( ) const
inlineprivate
这是这个函数的调用关系图:

◆ _InternalParse()

const char * XuMQ::Message_Payload::_InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final
函数调用图:

◆ _InternalSerialize()

uint8_t * XuMQ::Message_Payload::_InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final
函数调用图:

◆ body()

const std::string & XuMQ::Message_Payload::body ( ) const
inline

◆ ByteSizeLong()

size_t XuMQ::Message_Payload::ByteSizeLong ( ) const
final
函数调用图:

◆ Clear()

void XuMQ::Message_Payload::Clear ( )
final
函数调用图:
这是这个函数的调用关系图:

◆ clear_body()

void XuMQ::Message_Payload::clear_body ( )
inline

◆ clear_properties()

void XuMQ::Message_Payload::clear_properties ( )
inline

◆ clear_valid()

void XuMQ::Message_Payload::clear_valid ( )
inline

◆ CopyFrom()

void XuMQ::Message_Payload::CopyFrom ( const Message_Payload from)
函数调用图:

◆ default_instance()

static const Message_Payload & XuMQ::Message_Payload::default_instance ( )
inlinestatic

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * XuMQ::Message_Payload::descriptor ( )
inlinestatic

◆ FullMessageName()

::PROTOBUF_NAMESPACE_ID::StringPiece XuMQ::Message_Payload::FullMessageName ( )
inlinestaticprivate

◆ GetCachedSize()

int XuMQ::Message_Payload::GetCachedSize ( ) const
inlinefinal
这是这个函数的调用关系图:

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * XuMQ::Message_Payload::GetClassData ( ) const
final

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * XuMQ::Message_Payload::GetDescriptor ( )
inlinestatic

◆ GetMetadata()

PROTOBUF_NAMESPACE_ID::Metadata XuMQ::Message_Payload::GetMetadata ( ) const
final
函数调用图:

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection * XuMQ::Message_Payload::GetReflection ( )
inlinestatic

◆ has_properties()

bool XuMQ::Message_Payload::has_properties ( ) const
inline

◆ internal_default_instance()

static const Message_Payload * XuMQ::Message_Payload::internal_default_instance ( )
inlinestatic
这是这个函数的调用关系图:

◆ InternalSwap()

void XuMQ::Message_Payload::InternalSwap ( Message_Payload other)
private
函数调用图:
这是这个函数的调用关系图:

◆ IsInitialized()

bool XuMQ::Message_Payload::IsInitialized ( ) const
final

◆ MergeFrom()

void XuMQ::Message_Payload::MergeFrom ( const Message_Payload from)
inline
这是这个函数的调用关系图:

◆ MergeImpl()

void XuMQ::Message_Payload::MergeImpl ( ::PROTOBUF_NAMESPACE_ID::Message &  to_msg,
const ::PROTOBUF_NAMESPACE_ID::Message &  from_msg 
)
staticprivate

◆ mutable_body()

std::string * XuMQ::Message_Payload::mutable_body ( )
inline

◆ mutable_properties()

XuMQ::BasicProperties * XuMQ::Message_Payload::mutable_properties ( )
inline

◆ mutable_valid()

std::string * XuMQ::Message_Payload::mutable_valid ( )
inline

◆ New()

Message_Payload * XuMQ::Message_Payload::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

◆ operator=() [1/2]

Message_Payload & XuMQ::Message_Payload::operator= ( const Message_Payload from)
inline

◆ operator=() [2/2]

Message_Payload & XuMQ::Message_Payload::operator= ( Message_Payload &&  from)
inlinenoexcept

◆ properties()

const ::XuMQ::BasicProperties & XuMQ::Message_Payload::properties ( ) const
inline

◆ release_body()

std::string * XuMQ::Message_Payload::release_body ( )
inline

◆ release_properties()

XuMQ::BasicProperties * XuMQ::Message_Payload::release_properties ( )
inline

◆ release_valid()

std::string * XuMQ::Message_Payload::release_valid ( )
inline

◆ set_allocated_body()

void XuMQ::Message_Payload::set_allocated_body ( std::string *  body)
inline

◆ set_allocated_properties()

void XuMQ::Message_Payload::set_allocated_properties ( ::XuMQ::BasicProperties properties)
inline

◆ set_allocated_valid()

void XuMQ::Message_Payload::set_allocated_valid ( std::string *  valid)
inline

◆ set_body() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void XuMQ::Message_Payload::set_body ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_body() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void XuMQ::Message_Payload::set_body ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_valid() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void XuMQ::Message_Payload::set_valid ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_valid() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void XuMQ::Message_Payload::set_valid ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ SetCachedSize()

void XuMQ::Message_Payload::SetCachedSize ( int  size) const
finalprivate

◆ SharedCtor()

void XuMQ::Message_Payload::SharedCtor ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned 
)
inlineprivate
这是这个函数的调用关系图:

◆ SharedDtor()

void XuMQ::Message_Payload::SharedDtor ( )
inlineprivate
函数调用图:
这是这个函数的调用关系图:

◆ Swap()

void XuMQ::Message_Payload::Swap ( Message_Payload other)
inline

◆ unsafe_arena_release_properties()

XuMQ::BasicProperties * XuMQ::Message_Payload::unsafe_arena_release_properties ( )
inline

◆ unsafe_arena_set_allocated_properties()

void XuMQ::Message_Payload::unsafe_arena_set_allocated_properties ( ::XuMQ::BasicProperties properties)
inline

◆ UnsafeArenaSwap()

void XuMQ::Message_Payload::UnsafeArenaSwap ( Message_Payload other)
inline

◆ valid()

const std::string & XuMQ::Message_Payload::valid ( ) const
inline

友元及相关函数文档

◆ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper

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

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

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

◆ ::TableStruct_msg_2eproto

friend struct ::TableStruct_msg_2eproto
friend

◆ swap

void swap ( Message_Payload a,
Message_Payload b 
)
friend

类成员变量说明

◆ [union]

union { ... } XuMQ::Message_Payload

◆ _class_data_

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData XuMQ::Message_Payload::_class_data_
static
初始值:
= {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
}
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message &to_msg, const ::PROTOBUF_NAMESPACE_ID::Message &from_msg)
Definition msg.pb.cc:700

◆ _impl_

Impl_ XuMQ::Message_Payload::_impl_

◆ kIndexInFileMessages

constexpr int XuMQ::Message_Payload::kIndexInFileMessages
staticconstexpr
初始值:
=
1