webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
google::protobuf.internal::WireFormatLite Class Reference

#include <wire_format_lite.h>

Public Types

enum  WireType {
  WIRETYPE_VARINT = 0, WIRETYPE_FIXED64 = 1, WIRETYPE_LENGTH_DELIMITED = 2, WIRETYPE_START_GROUP = 3,
  WIRETYPE_END_GROUP = 4, WIRETYPE_FIXED32 = 5
}
 
enum  FieldType {
  TYPE_DOUBLE = 1, TYPE_FLOAT = 2, TYPE_INT64 = 3, TYPE_UINT64 = 4,
  TYPE_INT32 = 5, TYPE_FIXED64 = 6, TYPE_FIXED32 = 7, TYPE_BOOL = 8,
  TYPE_STRING = 9, TYPE_GROUP = 10, TYPE_MESSAGE = 11, TYPE_BYTES = 12,
  TYPE_UINT32 = 13, TYPE_ENUM = 14, TYPE_SFIXED32 = 15, TYPE_SFIXED64 = 16,
  TYPE_SINT32 = 17, TYPE_SINT64 = 18, MAX_FIELD_TYPE = 18
}
 
enum  CppType {
  CPPTYPE_INT32 = 1, CPPTYPE_INT64 = 2, CPPTYPE_UINT32 = 3, CPPTYPE_UINT64 = 4,
  CPPTYPE_DOUBLE = 5, CPPTYPE_FLOAT = 6, CPPTYPE_BOOL = 7, CPPTYPE_ENUM = 8,
  CPPTYPE_STRING = 9, CPPTYPE_MESSAGE = 10, MAX_CPPTYPE = 10
}
 
enum  Operation { PARSE = 0, SERIALIZE = 1 }
 

Public Member Functions

template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool ReadRepeatedPrimitive (int, uint32 tag, io::CodedInputStream *input, RepeatedField< CType > *values)
 
template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool ReadRepeatedFixedSizePrimitive (int tag_size, uint32 tag, io::CodedInputStream *input, RepeatedField< CType > *values)
 
template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool ReadRepeatedPrimitiveNoInline (int tag_size, uint32 tag, io::CodedInputStream *input, RepeatedField< CType > *value)
 
template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool ReadPackedPrimitive (io::CodedInputStream *input, RepeatedField< CType > *values)
 
template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool ReadPackedFixedSizePrimitive (io::CodedInputStream *input, RepeatedField< CType > *values)
 
template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool ReadPackedPrimitiveNoInline (io::CodedInputStream *input, RepeatedField< CType > *values)
 
template<typename MessageType_WorkAroundCppLookupDefect >
bool ReadGroupNoVirtual (int field_number, io::CodedInputStream *input, MessageType_WorkAroundCppLookupDefect *value)
 
template<typename MessageType_WorkAroundCppLookupDefect >
bool ReadGroupNoVirtualNoRecursionDepth (int field_number, io::CodedInputStream *input, MessageType_WorkAroundCppLookupDefect *value)
 
template<typename MessageType_WorkAroundCppLookupDefect >
bool ReadMessageNoVirtual (io::CodedInputStream *input, MessageType_WorkAroundCppLookupDefect *value)
 
template<typename MessageType_WorkAroundCppLookupDefect >
bool ReadMessageNoVirtualNoRecursionDepth (io::CodedInputStream *input, MessageType_WorkAroundCppLookupDefect *value)
 
template<typename MessageType_WorkAroundCppLookupDefect >
void WriteGroupNoVirtual (int field_number, const MessageType_WorkAroundCppLookupDefect &value, io::CodedOutputStream *output)
 
template<typename MessageType_WorkAroundCppLookupDefect >
void WriteMessageNoVirtual (int field_number, const MessageType_WorkAroundCppLookupDefect &value, io::CodedOutputStream *output)
 
template<typename MessageType_WorkAroundCppLookupDefect >
uint8WriteGroupNoVirtualToArray (int field_number, const MessageType_WorkAroundCppLookupDefect &value, uint8 *target)
 
template<typename MessageType_WorkAroundCppLookupDefect >
uint8WriteMessageNoVirtualToArray (int field_number, const MessageType_WorkAroundCppLookupDefect &value, uint8 *target)
 
template<typename MessageType_WorkAroundCppLookupDefect >
int GroupSizeNoVirtual (const MessageType_WorkAroundCppLookupDefect &value)
 
template<typename MessageType_WorkAroundCppLookupDefect >
int MessageSizeNoVirtual (const MessageType_WorkAroundCppLookupDefect &value)
 

Static Public Member Functions

static CppType FieldTypeToCppType (FieldType type)
 
static WireFormatLite::WireType WireTypeForFieldType (WireFormatLite::FieldType type)
 
static uint32 MakeTag (int field_number, WireType type)
 
static WireType GetTagWireType (uint32 tag)
 
static int GetTagFieldNumber (uint32 tag)
 
static int TagSize (int field_number, WireFormatLite::FieldType type)
 
static bool SkipField (io::CodedInputStream *input, uint32 tag)
 
static bool SkipField (io::CodedInputStream *input, uint32 tag, io::CodedOutputStream *output)
 
static bool SkipMessage (io::CodedInputStream *input)
 
static bool SkipMessage (io::CodedInputStream *input, io::CodedOutputStream *output)
 
static uint32 EncodeFloat (float value)
 
static float DecodeFloat (uint32 value)
 
static uint64 EncodeDouble (double value)
 
static double DecodeDouble (uint64 value)
 
static uint32 ZigZagEncode32 (int32 n)
 
static int32 ZigZagDecode32 (uint32 n)
 
static uint64 ZigZagEncode64 (int64 n)
 
static int64 ZigZagDecode64 (uint64 n)
 
template<typename CType , enum FieldType DeclaredType>
static INL bool ReadPrimitive (input, CType *value)
 
template<typename CType , enum FieldType DeclaredType>
static INL bool ReadRepeatedPrimitive (int tag_size, uint32 tag, input, RepeatedField< CType > *value)
 
template<typename CType , enum FieldType DeclaredType>
static bool ReadRepeatedPrimitiveNoInline (int tag_size, uint32 tag, input, RepeatedField< CType > *value)
 
template<typename CType , enum FieldType DeclaredType>
static INL const uint8ReadPrimitiveFromArray (const uint8 *buffer, CType *value)
 
template<typename CType , enum FieldType DeclaredType>
static INL bool ReadPackedPrimitive (input, RepeatedField< CType > *value)
 
template<typename CType , enum FieldType DeclaredType>
static bool ReadPackedPrimitiveNoInline (input, RepeatedField< CType > *value)
 
static bool ReadPackedEnumNoInline (input, bool(*is_valid)(int), RepeatedField< int > *values)
 
static bool ReadPackedEnumPreserveUnknowns (input, field_number, bool(*is_valid)(int), io::CodedOutputStream *unknown_fields_stream, RepeatedField< int > *values)
 
static bool ReadString (input, string *value)
 
static bool ReadString (input, string **p)
 
static bool ReadBytes (input, string *value)
 
static bool ReadBytes (input, string **p)
 
static bool VerifyUtf8String (const char *data, int size, Operation op, const char *field_name)
 
static bool ReadGroup (field_number, input, MessageLite *value)
 
static bool ReadMessage (input, MessageLite *value)
 
template<typename MessageType >
static bool ReadGroupNoVirtual (field_number, input, MessageType *value)
 
template<typename MessageType >
static bool ReadMessageNoVirtual (input, MessageType *value)
 
template<typename MessageType >
static bool ReadGroupNoVirtualNoRecursionDepth (field_number, input, MessageType *value)
 
template<typename MessageType >
static bool ReadMessageNoVirtualNoRecursionDepth (input, MessageType *value)
 
static INL void WriteTag (field_number, WireType type, output)
 
static INL void WriteInt32NoTag (int32 value, output)
 
static INL void WriteInt64NoTag (int64 value, output)
 
static INL void WriteUInt32NoTag (uint32 value, output)
 
static INL void WriteUInt64NoTag (uint64 value, output)
 
static INL void WriteSInt32NoTag (int32 value, output)
 
static INL void WriteSInt64NoTag (int64 value, output)
 
static INL void WriteFixed32NoTag (uint32 value, output)
 
static INL void WriteFixed64NoTag (uint64 value, output)
 
static INL void WriteSFixed32NoTag (int32 value, output)
 
static INL void WriteSFixed64NoTag (int64 value, output)
 
static INL void WriteFloatNoTag (float value, output)
 
static INL void WriteDoubleNoTag (double value, output)
 
static INL void WriteBoolNoTag (bool value, output)
 
static INL void WriteEnumNoTag (int value, output)
 
static void WriteInt32 (field_number, int32 value, output)
 
static void WriteInt64 (field_number, int64 value, output)
 
static void WriteUInt32 (field_number, uint32 value, output)
 
static void WriteUInt64 (field_number, uint64 value, output)
 
static void WriteSInt32 (field_number, int32 value, output)
 
static void WriteSInt64 (field_number, int64 value, output)
 
static void WriteFixed32 (field_number, uint32 value, output)
 
static void WriteFixed64 (field_number, uint64 value, output)
 
static void WriteSFixed32 (field_number, int32 value, output)
 
static void WriteSFixed64 (field_number, int64 value, output)
 
static void WriteFloat (field_number, float value, output)
 
static void WriteDouble (field_number, double value, output)
 
static void WriteBool (field_number, bool value, output)
 
static void WriteEnum (field_number, int value, output)
 
static void WriteString (field_number, const string &value, output)
 
static void WriteBytes (field_number, const string &value, output)
 
static void WriteStringMaybeAliased (field_number, const string &value, output)
 
static void WriteBytesMaybeAliased (field_number, const string &value, output)
 
static void WriteGroup (field_number, const MessageLite &value, output)
 
static void WriteMessage (field_number, const MessageLite &value, output)
 
static void WriteGroupMaybeToArray (field_number, const MessageLite &value, output)
 
static void WriteMessageMaybeToArray (field_number, const MessageLite &value, output)
 
template<typename MessageType >
static void WriteGroupNoVirtual (field_number, const MessageType &value, output)
 
template<typename MessageType >
static void WriteMessageNoVirtual (field_number, const MessageType &value, output)
 
static INL uint8WriteTagToArray (field_number, WireType type, output)
 
static INL uint8WriteInt32NoTagToArray (int32 value, output)
 
static INL uint8WriteInt64NoTagToArray (int64 value, output)
 
static INL uint8WriteUInt32NoTagToArray (uint32 value, output)
 
static INL uint8WriteUInt64NoTagToArray (uint64 value, output)
 
static INL uint8WriteSInt32NoTagToArray (int32 value, output)
 
static INL uint8WriteSInt64NoTagToArray (int64 value, output)
 
static INL uint8WriteFixed32NoTagToArray (uint32 value, output)
 
static INL uint8WriteFixed64NoTagToArray (uint64 value, output)
 
static INL uint8WriteSFixed32NoTagToArray (int32 value, output)
 
static INL uint8WriteSFixed64NoTagToArray (int64 value, output)
 
static INL uint8WriteFloatNoTagToArray (float value, output)
 
static INL uint8WriteDoubleNoTagToArray (double value, output)
 
static INL uint8WriteBoolNoTagToArray (bool value, output)
 
static INL uint8WriteEnumNoTagToArray (int value, output)
 
static INL uint8WriteInt32ToArray (field_number, int32 value, output)
 
static INL uint8WriteInt64ToArray (field_number, int64 value, output)
 
static INL uint8WriteUInt32ToArray (field_number, uint32 value, output)
 
static INL uint8WriteUInt64ToArray (field_number, uint64 value, output)
 
static INL uint8WriteSInt32ToArray (field_number, int32 value, output)
 
static INL uint8WriteSInt64ToArray (field_number, int64 value, output)
 
static INL uint8WriteFixed32ToArray (field_number, uint32 value, output)
 
static INL uint8WriteFixed64ToArray (field_number, uint64 value, output)
 
static INL uint8WriteSFixed32ToArray (field_number, int32 value, output)
 
static INL uint8WriteSFixed64ToArray (field_number, int64 value, output)
 
static INL uint8WriteFloatToArray (field_number, float value, output)
 
static INL uint8WriteDoubleToArray (field_number, double value, output)
 
static INL uint8WriteBoolToArray (field_number, bool value, output)
 
static INL uint8WriteEnumToArray (field_number, int value, output)
 
static INL uint8WriteStringToArray (field_number, const string &value, output)
 
static INL uint8WriteBytesToArray (field_number, const string &value, output)
 
static INL uint8WriteGroupToArray (field_number, const MessageLite &value, output)
 
static INL uint8WriteMessageToArray (field_number, const MessageLite &value, output)
 
template<typename MessageType >
static INL uint8WriteGroupNoVirtualToArray (field_number, const MessageType &value, output)
 
template<typename MessageType >
static INL uint8WriteMessageNoVirtualToArray (field_number, const MessageType &value, output)
 
static int Int32Size (int32 value)
 
static int Int64Size (int64 value)
 
static int UInt32Size (uint32 value)
 
static int UInt64Size (uint64 value)
 
static int SInt32Size (int32 value)
 
static int SInt64Size (int64 value)
 
static int EnumSize (int value)
 
static int StringSize (const string &value)
 
static int BytesSize (const string &value)
 
static int GroupSize (const MessageLite &value)
 
static int MessageSize (const MessageLite &value)
 
template<typename MessageType >
static int GroupSizeNoVirtual (const MessageType &value)
 
template<typename MessageType >
static int MessageSizeNoVirtual (const MessageType &value)
 
static int LengthDelimitedSize (int length)
 

Static Public Attributes

static const int kTagTypeBits = 3
 
static const uint32 kTagTypeMask = (1 << kTagTypeBits) - 1
 
static const int kMessageSetItemNumber = 1
 
static const int kMessageSetTypeIdNumber = 2
 
static const int kMessageSetMessageNumber = 3
 
static const int kMessageSetItemStartTag
 
static const int kMessageSetItemEndTag
 
static const int kMessageSetTypeIdTag
 
static const int kMessageSetMessageTag
 
static const int kMessageSetItemTagsSize
 
static const int kFixed32Size = 4
 
static const int kFixed64Size = 8
 
static const int kSFixed32Size = 4
 
static const int kSFixed64Size = 8
 
static const int kFloatSize = 4
 
static const int kDoubleSize = 8
 
static const int kBoolSize = 1
 

Member Enumeration Documentation

◆ CppType

Enumerator
CPPTYPE_INT32 
CPPTYPE_INT64 
CPPTYPE_UINT32 
CPPTYPE_UINT64 
CPPTYPE_DOUBLE 
CPPTYPE_FLOAT 
CPPTYPE_BOOL 
CPPTYPE_ENUM 
CPPTYPE_STRING 
CPPTYPE_MESSAGE 
MAX_CPPTYPE 

◆ FieldType

Enumerator
TYPE_DOUBLE 
TYPE_FLOAT 
TYPE_INT64 
TYPE_UINT64 
TYPE_INT32 
TYPE_FIXED64 
TYPE_FIXED32 
TYPE_BOOL 
TYPE_STRING 
TYPE_GROUP 
TYPE_MESSAGE 
TYPE_BYTES 
TYPE_UINT32 
TYPE_ENUM 
TYPE_SFIXED32 
TYPE_SFIXED64 
TYPE_SINT32 
TYPE_SINT64 
MAX_FIELD_TYPE 

◆ Operation

Enumerator
PARSE 
SERIALIZE 

◆ WireType

Enumerator
WIRETYPE_VARINT 
WIRETYPE_FIXED64 
WIRETYPE_LENGTH_DELIMITED 
WIRETYPE_START_GROUP 
WIRETYPE_END_GROUP 
WIRETYPE_FIXED32 

Member Function Documentation

◆ BytesSize()

int google::protobuf.internal::WireFormatLite::BytesSize ( const string value)
inlinestatic

◆ DecodeDouble()

double google::protobuf.internal::WireFormatLite::DecodeDouble ( uint64  value)
inlinestatic

◆ DecodeFloat()

float google::protobuf.internal::WireFormatLite::DecodeFloat ( uint32  value)
inlinestatic

◆ EncodeDouble()

uint64 google::protobuf.internal::WireFormatLite::EncodeDouble ( double  value)
inlinestatic

◆ EncodeFloat()

uint32 google::protobuf.internal::WireFormatLite::EncodeFloat ( float  value)
inlinestatic

◆ EnumSize()

int google::protobuf.internal::WireFormatLite::EnumSize ( int  value)
inlinestatic

◆ FieldTypeToCppType()

WireFormatLite::CppType google::protobuf.internal::WireFormatLite::FieldTypeToCppType ( FieldType  type)
inlinestatic

◆ GetTagFieldNumber()

int google::protobuf.internal::WireFormatLite::GetTagFieldNumber ( uint32  tag)
inlinestatic

◆ GetTagWireType()

WireFormatLite::WireType google::protobuf.internal::WireFormatLite::GetTagWireType ( uint32  tag)
inlinestatic

◆ GroupSize()

int google::protobuf.internal::WireFormatLite::GroupSize ( const MessageLite value)
inlinestatic

◆ GroupSizeNoVirtual() [1/2]

template<typename MessageType >
static int google::protobuf.internal::WireFormatLite::GroupSizeNoVirtual ( const MessageType &  value)
inlinestatic

◆ GroupSizeNoVirtual() [2/2]

template<typename MessageType_WorkAroundCppLookupDefect >
int google::protobuf.internal::WireFormatLite::GroupSizeNoVirtual ( const MessageType_WorkAroundCppLookupDefect &  value)
inline

◆ Int32Size()

int google::protobuf.internal::WireFormatLite::Int32Size ( int32  value)
inlinestatic

◆ Int64Size()

int google::protobuf.internal::WireFormatLite::Int64Size ( int64  value)
inlinestatic

◆ LengthDelimitedSize()

int google::protobuf.internal::WireFormatLite::LengthDelimitedSize ( int  length)
inlinestatic

◆ MakeTag()

uint32 google::protobuf.internal::WireFormatLite::MakeTag ( int  field_number,
WireType  type 
)
inlinestatic

◆ MessageSize()

int google::protobuf.internal::WireFormatLite::MessageSize ( const MessageLite value)
inlinestatic

◆ MessageSizeNoVirtual() [1/2]

template<typename MessageType >
static int google::protobuf.internal::WireFormatLite::MessageSizeNoVirtual ( const MessageType &  value)
inlinestatic

◆ MessageSizeNoVirtual() [2/2]

template<typename MessageType_WorkAroundCppLookupDefect >
int google::protobuf.internal::WireFormatLite::MessageSizeNoVirtual ( const MessageType_WorkAroundCppLookupDefect &  value)
inline

◆ ReadBytes() [1/2]

static bool google::protobuf.internal::WireFormatLite::ReadBytes ( input  ,
string value 
)
static

◆ ReadBytes() [2/2]

static bool google::protobuf.internal::WireFormatLite::ReadBytes ( input  ,
string **  p 
)
static

◆ ReadGroup()

bool google::protobuf.internal::WireFormatLite::ReadGroup ( field_number  ,
input  ,
MessageLite value 
)
inlinestatic

◆ ReadGroupNoVirtual() [1/2]

template<typename MessageType >
static bool google::protobuf.internal::WireFormatLite::ReadGroupNoVirtual ( field_number  ,
input  ,
MessageType *  value 
)
inlinestatic

◆ ReadGroupNoVirtual() [2/2]

template<typename MessageType_WorkAroundCppLookupDefect >
bool google::protobuf.internal::WireFormatLite::ReadGroupNoVirtual ( int  field_number,
io::CodedInputStream input,
MessageType_WorkAroundCppLookupDefect *  value 
)
inline

◆ ReadGroupNoVirtualNoRecursionDepth() [1/2]

template<typename MessageType >
static bool google::protobuf.internal::WireFormatLite::ReadGroupNoVirtualNoRecursionDepth ( field_number  ,
input  ,
MessageType *  value 
)
inlinestatic

◆ ReadGroupNoVirtualNoRecursionDepth() [2/2]

template<typename MessageType_WorkAroundCppLookupDefect >
bool google::protobuf.internal::WireFormatLite::ReadGroupNoVirtualNoRecursionDepth ( int  field_number,
io::CodedInputStream input,
MessageType_WorkAroundCppLookupDefect *  value 
)
inline

◆ ReadMessage()

bool google::protobuf.internal::WireFormatLite::ReadMessage ( input  ,
MessageLite value 
)
inlinestatic

◆ ReadMessageNoVirtual() [1/2]

template<typename MessageType >
static bool google::protobuf.internal::WireFormatLite::ReadMessageNoVirtual ( input  ,
MessageType *  value 
)
inlinestatic

◆ ReadMessageNoVirtual() [2/2]

template<typename MessageType_WorkAroundCppLookupDefect >
bool google::protobuf.internal::WireFormatLite::ReadMessageNoVirtual ( io::CodedInputStream input,
MessageType_WorkAroundCppLookupDefect *  value 
)
inline

◆ ReadMessageNoVirtualNoRecursionDepth() [1/2]

template<typename MessageType >
static bool google::protobuf.internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth ( input  ,
MessageType *  value 
)
inlinestatic

◆ ReadMessageNoVirtualNoRecursionDepth() [2/2]

template<typename MessageType_WorkAroundCppLookupDefect >
bool google::protobuf.internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth ( io::CodedInputStream input,
MessageType_WorkAroundCppLookupDefect *  value 
)
inline

◆ ReadPackedEnumNoInline()

bool google::protobuf.internal::WireFormatLite::ReadPackedEnumNoInline ( input  ,
bool(*)(int)  is_valid,
RepeatedField< int > *  values 
)
static

◆ ReadPackedEnumPreserveUnknowns()

bool google::protobuf.internal::WireFormatLite::ReadPackedEnumPreserveUnknowns ( input  ,
field_number  ,
bool(*)(int)  is_valid,
io::CodedOutputStream unknown_fields_stream,
RepeatedField< int > *  values 
)
static

◆ ReadPackedFixedSizePrimitive()

template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool google::protobuf.internal::WireFormatLite::ReadPackedFixedSizePrimitive ( io::CodedInputStream input,
RepeatedField< CType > *  values 
)
inline

◆ ReadPackedPrimitive() [1/2]

template<typename CType , enum FieldType DeclaredType>
static INL bool google::protobuf.internal::WireFormatLite::ReadPackedPrimitive ( input  ,
RepeatedField< CType > *  value 
)
static

◆ ReadPackedPrimitive() [2/2]

template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool google::protobuf.internal::WireFormatLite::ReadPackedPrimitive ( io::CodedInputStream input,
RepeatedField< CType > *  values 
)
inline

◆ ReadPackedPrimitiveNoInline() [1/2]

template<typename CType , enum FieldType DeclaredType>
static bool google::protobuf.internal::WireFormatLite::ReadPackedPrimitiveNoInline ( input  ,
RepeatedField< CType > *  value 
)
static

◆ ReadPackedPrimitiveNoInline() [2/2]

template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool google::protobuf.internal::WireFormatLite::ReadPackedPrimitiveNoInline ( io::CodedInputStream input,
RepeatedField< CType > *  values 
)

◆ ReadPrimitive()

template<typename CType , enum FieldType DeclaredType>
static INL bool google::protobuf.internal::WireFormatLite::ReadPrimitive ( input  ,
CType *  value 
)
static

◆ ReadPrimitiveFromArray()

template<typename CType , enum FieldType DeclaredType>
static INL const uint8* google::protobuf.internal::WireFormatLite::ReadPrimitiveFromArray ( const uint8 buffer,
CType *  value 
)
static

◆ ReadRepeatedFixedSizePrimitive()

template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool google::protobuf.internal::WireFormatLite::ReadRepeatedFixedSizePrimitive ( int  tag_size,
uint32  tag,
io::CodedInputStream input,
RepeatedField< CType > *  values 
)
inline

◆ ReadRepeatedPrimitive() [1/2]

template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool google::protobuf.internal::WireFormatLite::ReadRepeatedPrimitive ( int  ,
uint32  tag,
io::CodedInputStream input,
RepeatedField< CType > *  values 
)
inline

◆ ReadRepeatedPrimitive() [2/2]

template<typename CType , enum FieldType DeclaredType>
static INL bool google::protobuf.internal::WireFormatLite::ReadRepeatedPrimitive ( int  tag_size,
uint32  tag,
input  ,
RepeatedField< CType > *  value 
)
static

◆ ReadRepeatedPrimitiveNoInline() [1/2]

template<typename CType , enum FieldType DeclaredType>
static bool google::protobuf.internal::WireFormatLite::ReadRepeatedPrimitiveNoInline ( int  tag_size,
uint32  tag,
input  ,
RepeatedField< CType > *  value 
)
static

◆ ReadRepeatedPrimitiveNoInline() [2/2]

template<typename CType , enum WireFormatLite::FieldType DeclaredType>
bool google::protobuf.internal::WireFormatLite::ReadRepeatedPrimitiveNoInline ( int  tag_size,
uint32  tag,
io::CodedInputStream input,
RepeatedField< CType > *  value 
)

◆ ReadString() [1/2]

static bool google::protobuf.internal::WireFormatLite::ReadString ( input  ,
string value 
)
inlinestatic

◆ ReadString() [2/2]

static bool google::protobuf.internal::WireFormatLite::ReadString ( input  ,
string **  p 
)
inlinestatic

◆ SInt32Size()

int google::protobuf.internal::WireFormatLite::SInt32Size ( int32  value)
inlinestatic

◆ SInt64Size()

int google::protobuf.internal::WireFormatLite::SInt64Size ( int64  value)
inlinestatic

◆ SkipField() [1/2]

bool google::protobuf.internal::WireFormatLite::SkipField ( io::CodedInputStream input,
uint32  tag 
)
static

◆ SkipField() [2/2]

bool google::protobuf.internal::WireFormatLite::SkipField ( io::CodedInputStream input,
uint32  tag,
io::CodedOutputStream output 
)
static

◆ SkipMessage() [1/2]

bool google::protobuf.internal::WireFormatLite::SkipMessage ( io::CodedInputStream input)
static

◆ SkipMessage() [2/2]

bool google::protobuf.internal::WireFormatLite::SkipMessage ( io::CodedInputStream input,
io::CodedOutputStream output 
)
static

◆ StringSize()

int google::protobuf.internal::WireFormatLite::StringSize ( const string value)
inlinestatic

◆ TagSize()

int google::protobuf.internal::WireFormatLite::TagSize ( int  field_number,
WireFormatLite::FieldType  type 
)
inlinestatic

◆ UInt32Size()

int google::protobuf.internal::WireFormatLite::UInt32Size ( uint32  value)
inlinestatic

◆ UInt64Size()

int google::protobuf.internal::WireFormatLite::UInt64Size ( uint64  value)
inlinestatic

◆ VerifyUtf8String()

bool google::protobuf.internal::WireFormatLite::VerifyUtf8String ( const char *  data,
int  size,
Operation  op,
const char *  field_name 
)
static

◆ WireTypeForFieldType()

static WireFormatLite::WireType google::protobuf.internal::WireFormatLite::WireTypeForFieldType ( WireFormatLite::FieldType  type)
inlinestatic

◆ WriteBool()

void google::protobuf.internal::WireFormatLite::WriteBool ( field_number  ,
bool  value,
output   
)
static

◆ WriteBoolNoTag()

void google::protobuf.internal::WireFormatLite::WriteBoolNoTag ( bool  value,
output   
)
inlinestatic

◆ WriteBoolNoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteBoolNoTagToArray ( bool  value,
output   
)
inlinestatic

◆ WriteBoolToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteBoolToArray ( field_number  ,
bool  value,
output   
)
inlinestatic

◆ WriteBytes()

void google::protobuf.internal::WireFormatLite::WriteBytes ( field_number  ,
const string value,
output   
)
static

◆ WriteBytesMaybeAliased()

void google::protobuf.internal::WireFormatLite::WriteBytesMaybeAliased ( field_number  ,
const string value,
output   
)
static

◆ WriteBytesToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteBytesToArray ( field_number  ,
const string value,
output   
)
inlinestatic

◆ WriteDouble()

void google::protobuf.internal::WireFormatLite::WriteDouble ( field_number  ,
double  value,
output   
)
static

◆ WriteDoubleNoTag()

void google::protobuf.internal::WireFormatLite::WriteDoubleNoTag ( double  value,
output   
)
inlinestatic

◆ WriteDoubleNoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteDoubleNoTagToArray ( double  value,
output   
)
inlinestatic

◆ WriteDoubleToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteDoubleToArray ( field_number  ,
double  value,
output   
)
inlinestatic

◆ WriteEnum()

void google::protobuf.internal::WireFormatLite::WriteEnum ( field_number  ,
int  value,
output   
)
static

◆ WriteEnumNoTag()

void google::protobuf.internal::WireFormatLite::WriteEnumNoTag ( int  value,
output   
)
inlinestatic

◆ WriteEnumNoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteEnumNoTagToArray ( int  value,
output   
)
inlinestatic

◆ WriteEnumToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteEnumToArray ( field_number  ,
int  value,
output   
)
inlinestatic

◆ WriteFixed32()

void google::protobuf.internal::WireFormatLite::WriteFixed32 ( field_number  ,
uint32  value,
output   
)
static

◆ WriteFixed32NoTag()

void google::protobuf.internal::WireFormatLite::WriteFixed32NoTag ( uint32  value,
output   
)
inlinestatic

◆ WriteFixed32NoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteFixed32NoTagToArray ( uint32  value,
output   
)
inlinestatic

◆ WriteFixed32ToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteFixed32ToArray ( field_number  ,
uint32  value,
output   
)
inlinestatic

◆ WriteFixed64()

void google::protobuf.internal::WireFormatLite::WriteFixed64 ( field_number  ,
uint64  value,
output   
)
static

◆ WriteFixed64NoTag()

void google::protobuf.internal::WireFormatLite::WriteFixed64NoTag ( uint64  value,
output   
)
inlinestatic

◆ WriteFixed64NoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteFixed64NoTagToArray ( uint64  value,
output   
)
inlinestatic

◆ WriteFixed64ToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteFixed64ToArray ( field_number  ,
uint64  value,
output   
)
inlinestatic

◆ WriteFloat()

void google::protobuf.internal::WireFormatLite::WriteFloat ( field_number  ,
float  value,
output   
)
static

◆ WriteFloatNoTag()

void google::protobuf.internal::WireFormatLite::WriteFloatNoTag ( float  value,
output   
)
inlinestatic

◆ WriteFloatNoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteFloatNoTagToArray ( float  value,
output   
)
inlinestatic

◆ WriteFloatToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteFloatToArray ( field_number  ,
float  value,
output   
)
inlinestatic

◆ WriteGroup()

void google::protobuf.internal::WireFormatLite::WriteGroup ( field_number  ,
const MessageLite value,
output   
)
static

◆ WriteGroupMaybeToArray()

void google::protobuf.internal::WireFormatLite::WriteGroupMaybeToArray ( field_number  ,
const MessageLite value,
output   
)
static

◆ WriteGroupNoVirtual() [1/2]

template<typename MessageType >
static void google::protobuf.internal::WireFormatLite::WriteGroupNoVirtual ( field_number  ,
const MessageType &  value,
output   
)
inlinestatic

◆ WriteGroupNoVirtual() [2/2]

template<typename MessageType_WorkAroundCppLookupDefect >
void google::protobuf.internal::WireFormatLite::WriteGroupNoVirtual ( int  field_number,
const MessageType_WorkAroundCppLookupDefect &  value,
io::CodedOutputStream output 
)
inline

◆ WriteGroupNoVirtualToArray() [1/2]

template<typename MessageType >
static INL uint8* google::protobuf.internal::WireFormatLite::WriteGroupNoVirtualToArray ( field_number  ,
const MessageType &  value,
output   
)
static

◆ WriteGroupNoVirtualToArray() [2/2]

template<typename MessageType_WorkAroundCppLookupDefect >
uint8* google::protobuf.internal::WireFormatLite::WriteGroupNoVirtualToArray ( int  field_number,
const MessageType_WorkAroundCppLookupDefect &  value,
uint8 target 
)
inline

◆ WriteGroupToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteGroupToArray ( field_number  ,
const MessageLite value,
output   
)
inlinestatic

◆ WriteInt32()

void google::protobuf.internal::WireFormatLite::WriteInt32 ( field_number  ,
int32  value,
output   
)
static

◆ WriteInt32NoTag()

void google::protobuf.internal::WireFormatLite::WriteInt32NoTag ( int32  value,
output   
)
inlinestatic

◆ WriteInt32NoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteInt32NoTagToArray ( int32  value,
output   
)
inlinestatic

◆ WriteInt32ToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteInt32ToArray ( field_number  ,
int32  value,
output   
)
inlinestatic

◆ WriteInt64()

void google::protobuf.internal::WireFormatLite::WriteInt64 ( field_number  ,
int64  value,
output   
)
static

◆ WriteInt64NoTag()

void google::protobuf.internal::WireFormatLite::WriteInt64NoTag ( int64  value,
output   
)
inlinestatic

◆ WriteInt64NoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteInt64NoTagToArray ( int64  value,
output   
)
inlinestatic

◆ WriteInt64ToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteInt64ToArray ( field_number  ,
int64  value,
output   
)
inlinestatic

◆ WriteMessage()

void google::protobuf.internal::WireFormatLite::WriteMessage ( field_number  ,
const MessageLite value,
output   
)
static

◆ WriteMessageMaybeToArray()

void google::protobuf.internal::WireFormatLite::WriteMessageMaybeToArray ( field_number  ,
const MessageLite value,
output   
)
static

◆ WriteMessageNoVirtual() [1/2]

template<typename MessageType >
static void google::protobuf.internal::WireFormatLite::WriteMessageNoVirtual ( field_number  ,
const MessageType &  value,
output   
)
inlinestatic

◆ WriteMessageNoVirtual() [2/2]

template<typename MessageType_WorkAroundCppLookupDefect >
void google::protobuf.internal::WireFormatLite::WriteMessageNoVirtual ( int  field_number,
const MessageType_WorkAroundCppLookupDefect &  value,
io::CodedOutputStream output 
)
inline

◆ WriteMessageNoVirtualToArray() [1/2]

template<typename MessageType >
static INL uint8* google::protobuf.internal::WireFormatLite::WriteMessageNoVirtualToArray ( field_number  ,
const MessageType &  value,
output   
)
static

◆ WriteMessageNoVirtualToArray() [2/2]

template<typename MessageType_WorkAroundCppLookupDefect >
uint8* google::protobuf.internal::WireFormatLite::WriteMessageNoVirtualToArray ( int  field_number,
const MessageType_WorkAroundCppLookupDefect &  value,
uint8 target 
)
inline

◆ WriteMessageToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteMessageToArray ( field_number  ,
const MessageLite value,
output   
)
inlinestatic

◆ WriteSFixed32()

void google::protobuf.internal::WireFormatLite::WriteSFixed32 ( field_number  ,
int32  value,
output   
)
static

◆ WriteSFixed32NoTag()

void google::protobuf.internal::WireFormatLite::WriteSFixed32NoTag ( int32  value,
output   
)
inlinestatic

◆ WriteSFixed32NoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteSFixed32NoTagToArray ( int32  value,
output   
)
inlinestatic

◆ WriteSFixed32ToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteSFixed32ToArray ( field_number  ,
int32  value,
output   
)
inlinestatic

◆ WriteSFixed64()

void google::protobuf.internal::WireFormatLite::WriteSFixed64 ( field_number  ,
int64  value,
output   
)
static

◆ WriteSFixed64NoTag()

void google::protobuf.internal::WireFormatLite::WriteSFixed64NoTag ( int64  value,
output   
)
inlinestatic

◆ WriteSFixed64NoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteSFixed64NoTagToArray ( int64  value,
output   
)
inlinestatic

◆ WriteSFixed64ToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteSFixed64ToArray ( field_number  ,
int64  value,
output   
)
inlinestatic

◆ WriteSInt32()

void google::protobuf.internal::WireFormatLite::WriteSInt32 ( field_number  ,
int32  value,
output   
)
static

◆ WriteSInt32NoTag()

void google::protobuf.internal::WireFormatLite::WriteSInt32NoTag ( int32  value,
output   
)
inlinestatic

◆ WriteSInt32NoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteSInt32NoTagToArray ( int32  value,
output   
)
inlinestatic

◆ WriteSInt32ToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteSInt32ToArray ( field_number  ,
int32  value,
output   
)
inlinestatic

◆ WriteSInt64()

void google::protobuf.internal::WireFormatLite::WriteSInt64 ( field_number  ,
int64  value,
output   
)
static

◆ WriteSInt64NoTag()

void google::protobuf.internal::WireFormatLite::WriteSInt64NoTag ( int64  value,
output   
)
inlinestatic

◆ WriteSInt64NoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteSInt64NoTagToArray ( int64  value,
output   
)
inlinestatic

◆ WriteSInt64ToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteSInt64ToArray ( field_number  ,
int64  value,
output   
)
inlinestatic

◆ WriteString()

void google::protobuf.internal::WireFormatLite::WriteString ( field_number  ,
const string value,
output   
)
static

◆ WriteStringMaybeAliased()

void google::protobuf.internal::WireFormatLite::WriteStringMaybeAliased ( field_number  ,
const string value,
output   
)
static

◆ WriteStringToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteStringToArray ( field_number  ,
const string value,
output   
)
inlinestatic

◆ WriteTag()

void google::protobuf.internal::WireFormatLite::WriteTag ( field_number  ,
WireType  type,
output   
)
inlinestatic

◆ WriteTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteTagToArray ( field_number  ,
WireType  type,
output   
)
inlinestatic

◆ WriteUInt32()

void google::protobuf.internal::WireFormatLite::WriteUInt32 ( field_number  ,
uint32  value,
output   
)
static

◆ WriteUInt32NoTag()

void google::protobuf.internal::WireFormatLite::WriteUInt32NoTag ( uint32  value,
output   
)
inlinestatic

◆ WriteUInt32NoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteUInt32NoTagToArray ( uint32  value,
output   
)
inlinestatic

◆ WriteUInt32ToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteUInt32ToArray ( field_number  ,
uint32  value,
output   
)
inlinestatic

◆ WriteUInt64()

void google::protobuf.internal::WireFormatLite::WriteUInt64 ( field_number  ,
uint64  value,
output   
)
static

◆ WriteUInt64NoTag()

void google::protobuf.internal::WireFormatLite::WriteUInt64NoTag ( uint64  value,
output   
)
inlinestatic

◆ WriteUInt64NoTagToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteUInt64NoTagToArray ( uint64  value,
output   
)
inlinestatic

◆ WriteUInt64ToArray()

uint8 * google::protobuf.internal::WireFormatLite::WriteUInt64ToArray ( field_number  ,
uint64  value,
output   
)
inlinestatic

◆ ZigZagDecode32()

int32 google::protobuf.internal::WireFormatLite::ZigZagDecode32 ( uint32  n)
inlinestatic

◆ ZigZagDecode64()

int64 google::protobuf.internal::WireFormatLite::ZigZagDecode64 ( uint64  n)
inlinestatic

◆ ZigZagEncode32()

uint32 google::protobuf.internal::WireFormatLite::ZigZagEncode32 ( int32  n)
inlinestatic

◆ ZigZagEncode64()

uint64 google::protobuf.internal::WireFormatLite::ZigZagEncode64 ( int64  n)
inlinestatic

Member Data Documentation

◆ kBoolSize

const int google::protobuf.internal::WireFormatLite::kBoolSize = 1
static

◆ kDoubleSize

const int google::protobuf.internal::WireFormatLite::kDoubleSize = 8
static

◆ kFixed32Size

const int google::protobuf.internal::WireFormatLite::kFixed32Size = 4
static

◆ kFixed64Size

const int google::protobuf.internal::WireFormatLite::kFixed64Size = 8
static

◆ kFloatSize

const int google::protobuf.internal::WireFormatLite::kFloatSize = 4
static

◆ kMessageSetItemEndTag

const int google::protobuf.internal::WireFormatLite::kMessageSetItemEndTag
static

◆ kMessageSetItemNumber

const int google::protobuf.internal::WireFormatLite::kMessageSetItemNumber = 1
static

◆ kMessageSetItemStartTag

const int google::protobuf.internal::WireFormatLite::kMessageSetItemStartTag
static

◆ kMessageSetItemTagsSize

const int google::protobuf.internal::WireFormatLite::kMessageSetItemTagsSize
static
Initial value:
=
io::CodedOutputStream::StaticVarintSize32<
io::CodedOutputStream::StaticVarintSize32<
io::CodedOutputStream::StaticVarintSize32<
io::CodedOutputStream::StaticVarintSize32<

◆ kMessageSetMessageNumber

const int google::protobuf.internal::WireFormatLite::kMessageSetMessageNumber = 3
static

◆ kMessageSetMessageTag

const int google::protobuf.internal::WireFormatLite::kMessageSetMessageTag
static

◆ kMessageSetTypeIdNumber

const int google::protobuf.internal::WireFormatLite::kMessageSetTypeIdNumber = 2
static

◆ kMessageSetTypeIdTag

const int google::protobuf.internal::WireFormatLite::kMessageSetTypeIdTag
static

◆ kSFixed32Size

const int google::protobuf.internal::WireFormatLite::kSFixed32Size = 4
static

◆ kSFixed64Size

const int google::protobuf.internal::WireFormatLite::kSFixed64Size = 8
static

◆ kTagTypeBits

const int google::protobuf.internal::WireFormatLite::kTagTypeBits = 3
static

◆ kTagTypeMask

const uint32 google::protobuf.internal::WireFormatLite::kTagTypeMask = (1 << kTagTypeBits) - 1
static

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