Goby3
3.1.5
2024.05.14
|
#include <google/protobuf/message_lite.h>
Public Types | |
enum | ParseFlags { kMerge = 0 , kParse = 1 , kMergePartial = 2 , kParsePartial = 3 , kMergeWithAliasing = 4 , kParseWithAliasing = 5 , kMergePartialWithAliasing = 6 , kParsePartialWithAliasing = 7 } |
Public Member Functions | |
MessageLite () | |
virtual | ~MessageLite ()=default |
virtual std::string | GetTypeName () const =0 |
virtual MessageLite * | New () const =0 |
virtual MessageLite * | New (Arena *arena) const |
Arena * | GetArena () const |
void * | GetMaybeArenaPointer () const |
virtual void | Clear ()=0 |
virtual bool | IsInitialized () const =0 |
virtual std::string | InitializationErrorString () const |
virtual void | CheckTypeAndMergeFrom (const MessageLite &other)=0 |
std::string | DebugString () const |
std::string | ShortDebugString () const |
std::string | Utf8DebugString () const |
bool | ParseFromCodedStream (io::CodedInputStream *input) |
bool | ParsePartialFromCodedStream (io::CodedInputStream *input) |
bool | ParseFromZeroCopyStream (io::ZeroCopyInputStream *input) |
bool | ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input) |
bool | ParseFromFileDescriptor (int file_descriptor) |
bool | ParsePartialFromFileDescriptor (int file_descriptor) |
bool | ParseFromIstream (std::istream *input) |
bool | ParsePartialFromIstream (std::istream *input) |
bool | MergePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size) |
bool | MergeFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size) |
bool | ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size) |
bool | ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size) |
bool | ParseFromString (const std::string &data) |
bool | ParsePartialFromString (const std::string &data) |
bool | ParseFromArray (const void *data, int size) |
bool | ParsePartialFromArray (const void *data, int size) |
bool | MergeFromCodedStream (io::CodedInputStream *input) |
bool | MergePartialFromCodedStream (io::CodedInputStream *input) |
bool | MergeFromString (const std::string &data) |
bool | SerializeToCodedStream (io::CodedOutputStream *output) const |
bool | SerializePartialToCodedStream (io::CodedOutputStream *output) const |
bool | SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const |
bool | SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const |
bool | SerializeToString (std::string *output) const |
bool | SerializePartialToString (std::string *output) const |
bool | SerializeToArray (void *data, int size) const |
bool | SerializePartialToArray (void *data, int size) const |
std::string | SerializeAsString () const |
std::string | SerializePartialAsString () const |
bool | SerializeToFileDescriptor (int file_descriptor) const |
bool | SerializePartialToFileDescriptor (int file_descriptor) const |
bool | SerializeToOstream (std::ostream *output) const |
bool | SerializePartialToOstream (std::ostream *output) const |
bool | AppendToString (std::string *output) const |
bool | AppendPartialToString (std::string *output) const |
virtual size_t | ByteSizeLong () const =0 |
int | ByteSize () const |
void | SerializeWithCachedSizes (io::CodedOutputStream *output) const |
uint8 * | SerializeWithCachedSizesToArray (uint8 *target) const |
virtual int | GetCachedSize () const =0 |
virtual const char * | _InternalParse (const char *, internal::ParseContext *) |
template<ParseFlags flags, typename T > | |
bool | ParseFrom (const T &input) |
virtual uint8 * | _InternalSerialize (uint8 *ptr, io::EpsCopyOutputStream *stream) const =0 |
bool | IsInitializedWithErrors () const |
Protected Member Functions | |
MessageLite (Arena *arena) | |
Static Protected Member Functions | |
template<typename T > | |
static T * | CreateMaybeMessage (Arena *arena) |
Protected Attributes | |
internal::InternalMetadata | _internal_metadata_ |
Friends | |
class | internal::WireFormatLite |
class | Message |
class | internal::WeakFieldMap |
Definition at line 188 of file message_lite.h.
Enumerator | |
---|---|
kMerge | |
kParse | |
kMergePartial | |
kParsePartial | |
kMergeWithAliasing | |
kParseWithAliasing | |
kMergePartialWithAliasing | |
kParsePartialWithAliasing |
Definition at line 458 of file message_lite.h.
|
inline |
Definition at line 190 of file message_lite.h.
|
virtualdefault |
|
inlineexplicitprotected |
Definition at line 453 of file message_lite.h.
|
inlinevirtual |
Reimplemented in google::protobuf::Message.
Definition at line 442 of file message_lite.h.
|
pure virtual |
Implemented in google::protobuf::Message.
bool google::protobuf::MessageLite::AppendPartialToString | ( | std::string * | output | ) | const |
bool google::protobuf::MessageLite::AppendToString | ( | std::string * | output | ) | const |
|
inline |
Definition at line 408 of file message_lite.h.
|
pure virtual |
Implemented in google::protobuf::Message.
|
pure virtual |
Implemented in google::protobuf::Message.
|
pure virtual |
Implemented in google::protobuf::Message.
|
inlinestaticprotected |
Definition at line 449 of file message_lite.h.
std::string google::protobuf::MessageLite::DebugString | ( | ) | const |
|
inline |
Definition at line 211 of file message_lite.h.
|
pure virtual |
|
inline |
Definition at line 222 of file message_lite.h.
|
pure virtual |
Implemented in google::protobuf::Message.
|
virtual |
Reimplemented in google::protobuf::Message.
|
pure virtual |
Implemented in google::protobuf::Message.
|
inline |
Definition at line 478 of file message_lite.h.
bool google::protobuf::MessageLite::MergeFromBoundedZeroCopyStream | ( | io::ZeroCopyInputStream * | input, |
int | size | ||
) |
bool google::protobuf::MessageLite::MergeFromCodedStream | ( | io::CodedInputStream * | input | ) |
bool google::protobuf::MessageLite::MergeFromString | ( | const std::string & | data | ) |
bool google::protobuf::MessageLite::MergePartialFromBoundedZeroCopyStream | ( | io::ZeroCopyInputStream * | input, |
int | size | ||
) |
bool google::protobuf::MessageLite::MergePartialFromCodedStream | ( | io::CodedInputStream * | input | ) |
|
pure virtual |
Implemented in google::protobuf::Message.
|
virtual |
Reimplemented in google::protobuf::Message.
bool google::protobuf::MessageLite::ParseFrom | ( | const T & | input | ) |
Definition at line 546 of file message_lite.h.
bool google::protobuf::MessageLite::ParseFromBoundedZeroCopyStream | ( | io::ZeroCopyInputStream * | input, |
int | size | ||
) |
bool google::protobuf::MessageLite::ParseFromCodedStream | ( | io::CodedInputStream * | input | ) |
bool google::protobuf::MessageLite::ParseFromIstream | ( | std::istream * | input | ) |
bool google::protobuf::MessageLite::ParseFromString | ( | const std::string & | data | ) |
bool google::protobuf::MessageLite::ParseFromZeroCopyStream | ( | io::ZeroCopyInputStream * | input | ) |
bool google::protobuf::MessageLite::ParsePartialFromBoundedZeroCopyStream | ( | io::ZeroCopyInputStream * | input, |
int | size | ||
) |
bool google::protobuf::MessageLite::ParsePartialFromCodedStream | ( | io::CodedInputStream * | input | ) |
bool google::protobuf::MessageLite::ParsePartialFromIstream | ( | std::istream * | input | ) |
bool google::protobuf::MessageLite::ParsePartialFromString | ( | const std::string & | data | ) |
bool google::protobuf::MessageLite::ParsePartialFromZeroCopyStream | ( | io::ZeroCopyInputStream * | input | ) |
std::string google::protobuf::MessageLite::SerializeAsString | ( | ) | const |
std::string google::protobuf::MessageLite::SerializePartialAsString | ( | ) | const |
bool google::protobuf::MessageLite::SerializePartialToCodedStream | ( | io::CodedOutputStream * | output | ) | const |
bool google::protobuf::MessageLite::SerializePartialToOstream | ( | std::ostream * | output | ) | const |
bool google::protobuf::MessageLite::SerializePartialToString | ( | std::string * | output | ) | const |
bool google::protobuf::MessageLite::SerializePartialToZeroCopyStream | ( | io::ZeroCopyOutputStream * | output | ) | const |
bool google::protobuf::MessageLite::SerializeToCodedStream | ( | io::CodedOutputStream * | output | ) | const |
bool google::protobuf::MessageLite::SerializeToOstream | ( | std::ostream * | output | ) | const |
bool google::protobuf::MessageLite::SerializeToString | ( | std::string * | output | ) | const |
bool google::protobuf::MessageLite::SerializeToZeroCopyStream | ( | io::ZeroCopyOutputStream * | output | ) | const |
|
inline |
Definition at line 413 of file message_lite.h.
uint8* google::protobuf::MessageLite::SerializeWithCachedSizesToArray | ( | uint8 * | target | ) | const |
|
inline |
Definition at line 255 of file message_lite.h.
|
inline |
Definition at line 258 of file message_lite.h.
|
friend |
Definition at line 490 of file message_lite.h.
|
friend |
Definition at line 488 of file message_lite.h.
|
friend |
Definition at line 489 of file message_lite.h.
|
protected |
Definition at line 455 of file message_lite.h.