BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Public Member Functions
google::protobuf::io::CodedInputStream Class Reference

#include <coded_stream.h>

List of all members.

Public Types

typedef int Limit

Public Member Functions

 CodedInputStream (ZeroCopyInputStream *input)
 CodedInputStream (const uint8 *buffer, int size)
 ~CodedInputStream ()
bool Skip (int count)
bool GetDirectBufferPointer (const void **data, int *size)
void GetDirectBufferPointerInline (const void **data, int *size) GOOGLE_ATTRIBUTE_ALWAYS_INLINE
bool ReadRaw (void *buffer, int size)
bool ReadString (string *buffer, int size)
bool InternalReadStringInline (string *buffer, int size) GOOGLE_ATTRIBUTE_ALWAYS_INLINE
bool ReadLittleEndian32 (uint32 *value)
bool ReadLittleEndian64 (uint64 *value)
bool ReadVarint32 (uint32 *value)
bool ReadVarint64 (uint64 *value)
uint32 ReadTag () GOOGLE_ATTRIBUTE_ALWAYS_INLINE
bool ExpectTag (uint32 expected) GOOGLE_ATTRIBUTE_ALWAYS_INLINE
bool ExpectAtEnd ()
bool LastTagWas (uint32 expected)
bool ConsumedEntireMessage ()
Limit PushLimit (int byte_limit)
void PopLimit (Limit limit)
int BytesUntilLimit ()
void SetTotalBytesLimit (int total_bytes_limit, int warning_threshold)
void SetRecursionLimit (int limit)
bool IncrementRecursionDepth ()
void DecrementRecursionDepth ()
void SetExtensionRegistry (DescriptorPool *pool, MessageFactory *factory)
const DescriptorPoolGetExtensionPool ()
MessageFactoryGetExtensionFactory ()

Static Public Member Functions

static const uint8ReadLittleEndian32FromArray (const uint8 *buffer, uint32 *value)
static const uint8ReadLittleEndian64FromArray (const uint8 *buffer, uint64 *value)
static const uint8ExpectTagFromArray (const uint8 *buffer, uint32 expected) GOOGLE_ATTRIBUTE_ALWAYS_INLINE

Member Typedef Documentation


Constructor & Destructor Documentation

google::protobuf::io::CodedInputStream::CodedInputStream ( const uint8 buffer,
int  size 
) [inline, explicit]

Member Function Documentation

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

const uint8 * google::protobuf::io::CodedInputStream::ExpectTagFromArray ( const uint8 buffer,
uint32  expected 
) [inline, static]
bool google::protobuf::io::CodedInputStream::GetDirectBufferPointer ( const void **  data,
int *  size 
)
void google::protobuf::io::CodedInputStream::GetDirectBufferPointerInline ( const void **  data,
int *  size 
) [inline]

Here is the caller graph for this function:

bool google::protobuf::io::CodedInputStream::InternalReadStringInline ( string *  buffer,
int  size 
) [inline]

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

const uint8 * google::protobuf::io::CodedInputStream::ReadLittleEndian32FromArray ( const uint8 buffer,
uint32 value 
) [inline, static]

Here is the caller graph for this function:

const uint8 * google::protobuf::io::CodedInputStream::ReadLittleEndian64FromArray ( const uint8 buffer,
uint64 value 
) [inline, static]

Here is the caller graph for this function:

bool google::protobuf::io::CodedInputStream::ReadRaw ( void *  buffer,
int  size 
)
bool google::protobuf::io::CodedInputStream::ReadString ( string *  buffer,
int  size 
)

Here is the caller graph for this function:

void google::protobuf::io::CodedInputStream::SetTotalBytesLimit ( int  total_bytes_limit,
int  warning_threshold 
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines