Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::DynamicMessage Class Reference
Inheritance diagram for google::protobuf::DynamicMessage:
Inheritance graph
[legend]

Classes

struct  TypeInfo
 

Public Member Functions

void CrossLinkPrototypes ()
 
 DynamicMessage (const TypeInfo *type_info)
 
 DynamicMessage (TypeInfo *type_info, bool lock_factory)
 
Arena * GetArena () const override
 
int GetCachedSize () const override
 
Metadata GetMetadata () const override
 
MessageNew () const override
 
MessageNew (Arena *arena) const override
 
void SetCachedSize (int size) const override
 
 ~DynamicMessage ()
 
- Public Member Functions inherited from google::protobuf::Message
size_t ByteSizeLong () const override
 
void CheckInitialized () const
 
void CheckTypeAndMergeFrom (const MessageLite &other) override
 
void Clear () override
 
virtual void CopyFrom (const Message &from)
 
std::string DebugString () const
 
virtual void DiscardUnknownFields ()
 
void FindInitializationErrors (std::vector< std::string > *errors) const
 
const DescriptorGetDescriptor () const
 
const ReflectionGetReflection () const
 
std::string GetTypeName () const override
 
std::string InitializationErrorString () const override
 
bool IsInitialized () const override
 
virtual void MergeFrom (const Message &from)
 
bool MergePartialFromCodedStream (io::CodedInputStream *input) override
 
 Message ()
 
MessageNew (Arena *arena) const override
 
void PrintDebugString () const
 
void SerializeWithCachedSizes (io::CodedOutputStream *output) const override
 
std::string ShortDebugString () const
 
int SpaceUsed () const
 
virtual size_t SpaceUsedLong () const
 
std::string Utf8DebugString () const
 
 ~Message () override
 
- Public Member Functions inherited from google::protobuf::MessageLite
bool AppendPartialToString (std::string *output) const
 
bool AppendToString (std::string *output) const
 
int ByteSize () const
 
std::string DebugString () const
 
virtual voidGetMaybeArenaPointer () const
 
virtual uint8InternalSerializeWithCachedSizesToArray (uint8 *target) const
 
bool MergeFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
bool MergeFromString (const std::string &data)
 
bool MergePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
 MessageLite ()
 
template<ParseFlags flags, typename T >
bool ParseFrom (const T &input)
 
bool ParseFromArray (const void *data, int size)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (std::istream *input)
 
bool ParseFromString (const std::string &data)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromIstream (std::istream *input)
 
bool ParsePartialFromString (const std::string &data)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
std::string SerializeAsString () const
 
std::string SerializePartialAsString () const
 
bool SerializePartialToArray (void *data, int size) const
 
bool SerializePartialToCodedStream (io::CodedOutputStream *output) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToOstream (std::ostream *output) const
 
bool SerializePartialToString (std::string *output) const
 
bool SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializeToCodedStream (io::CodedOutputStream *output) const
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (std::ostream *output) const
 
bool SerializeToString (std::string *output) const
 
bool SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
virtual uint8SerializeWithCachedSizesToArray (uint8 *target) const
 
std::string ShortDebugString () const
 
std::string Utf8DebugString () const
 
virtual ~MessageLite ()
 

Static Public Member Functions

static void operator delete (void *ptr)
 

Private Member Functions

 DynamicMessage (const TypeInfo *type_info, Arena *arena)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (DynamicMessage)
 
bool is_prototype () const
 
voidOffsetToPointer (int offset)
 
const voidOffsetToPointer (int offset) const
 
void SharedCtor (bool lock_factory)
 

Private Attributes

Arena *const arena_
 
std::atomic< int > cached_byte_size_
 
const TypeInfotype_info_
 

Additional Inherited Members

- Public Types inherited from google::protobuf::MessageLite
enum  ParseFlags {
  kMerge = 0, kParse = 1, kMergePartial = 2, kParsePartial = 3,
  kMergeWithAliasing = 4, kParseWithAliasing = 5, kMergePartialWithAliasing = 6, kParsePartialWithAliasing = 7
}
 
- Static Protected Member Functions inherited from google::protobuf::MessageLite
template<typename T >
static const internal::RepeatedPtrFieldBaseCastToBase (const RepeatedPtrField< T > &repeated)
 
template<typename T >
static internal::RepeatedPtrFieldBaseCastToBase (RepeatedPtrField< T > *repeated)
 
template<typename T >
static TCreateMaybeMessage (Arena *arena)
 

Detailed Description

Definition at line 232 of file dynamic_message.cc.

Constructor & Destructor Documentation

◆ DynamicMessage() [1/3]

google::protobuf::DynamicMessage::DynamicMessage ( const TypeInfo type_info)

Definition at line 318 of file dynamic_message.cc.

◆ DynamicMessage() [2/3]

google::protobuf::DynamicMessage::DynamicMessage ( TypeInfo type_info,
bool  lock_factory 
)

Definition at line 328 of file dynamic_message.cc.

◆ ~DynamicMessage()

google::protobuf::DynamicMessage::~DynamicMessage ( )

Definition at line 458 of file dynamic_message.cc.

◆ DynamicMessage() [3/3]

google::protobuf::DynamicMessage::DynamicMessage ( const TypeInfo type_info,
Arena *  arena 
)
private

Definition at line 323 of file dynamic_message.cc.

Member Function Documentation

◆ CrossLinkPrototypes()

void google::protobuf::DynamicMessage::CrossLinkPrototypes ( )

Definition at line 574 of file dynamic_message.cc.

◆ GetArena()

Arena* google::protobuf::DynamicMessage::GetArena ( ) const
inlineoverridevirtual

Reimplemented from google::protobuf::MessageLite.

Definition at line 277 of file dynamic_message.cc.

◆ GetCachedSize()

int google::protobuf::DynamicMessage::GetCachedSize ( ) const
overridevirtual

Implements google::protobuf::MessageLite.

Definition at line 611 of file dynamic_message.cc.

◆ GetMetadata()

Metadata google::protobuf::DynamicMessage::GetMetadata ( ) const
overridevirtual

Implements google::protobuf::Message.

Definition at line 619 of file dynamic_message.cc.

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::DynamicMessage::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( DynamicMessage  )
private

◆ is_prototype()

bool google::protobuf::DynamicMessage::is_prototype ( ) const
inlineprivate

Definition at line 298 of file dynamic_message.cc.

◆ New() [1/2]

Message * google::protobuf::DynamicMessage::New ( ) const
overridevirtual

Implements google::protobuf::Message.

Definition at line 597 of file dynamic_message.cc.

◆ New() [2/2]

Message * google::protobuf::DynamicMessage::New ( Arena *  arena) const
overridevirtual

Reimplemented from google::protobuf::MessageLite.

Definition at line 599 of file dynamic_message.cc.

◆ OffsetToPointer() [1/2]

void* google::protobuf::DynamicMessage::OffsetToPointer ( int  offset)
inlineprivate

Definition at line 305 of file dynamic_message.cc.

◆ OffsetToPointer() [2/2]

const void* google::protobuf::DynamicMessage::OffsetToPointer ( int  offset) const
inlineprivate

Definition at line 308 of file dynamic_message.cc.

◆ operator delete()

static void google::protobuf::DynamicMessage::operator delete ( void ptr)
inlinestatic

Definition at line 290 of file dynamic_message.cc.

◆ SetCachedSize()

void google::protobuf::DynamicMessage::SetCachedSize ( int  size) const
overridevirtual

Reimplemented from google::protobuf::Message.

Definition at line 615 of file dynamic_message.cc.

◆ SharedCtor()

void google::protobuf::DynamicMessage::SharedCtor ( bool  lock_factory)
private

Definition at line 340 of file dynamic_message.cc.

Member Data Documentation

◆ arena_

Arena* const google::protobuf::DynamicMessage::arena_
private

Definition at line 313 of file dynamic_message.cc.

◆ cached_byte_size_

std::atomic<int> google::protobuf::DynamicMessage::cached_byte_size_
mutableprivate

Definition at line 314 of file dynamic_message.cc.

◆ type_info_

const TypeInfo* google::protobuf::DynamicMessage::type_info_
private

Definition at line 312 of file dynamic_message.cc.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08