TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::io::CopyingInputStreamAdaptor Class Reference

#include <zero_copy_stream_impl_lite.h>

Public Member Functions

 CopyingInputStreamAdaptor (CopyingInputStream *copying_stream, int block_size=-1)
 
 ~CopyingInputStreamAdaptor ()
 
void SetOwnsCopyingStream (bool value)
 
bool Next (const void **data, int *size)
 
void BackUp (int count)
 
bool Skip (int count)
 
int64 ByteCount () const
 
- Public Member Functions inherited from google::protobuf::io::ZeroCopyInputStream
 ZeroCopyInputStream ()
 
virtual ~ZeroCopyInputStream ()
 

Private Member Functions

void AllocateBufferIfNeeded ()
 
void FreeBuffer ()
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CopyingInputStreamAdaptor)
 

Private Attributes

CopyingInputStreamcopying_stream_
 
bool owns_copying_stream_
 
bool failed_
 
int64 position_
 
scoped_array< uint8buffer_
 
const int buffer_size_
 
int buffer_used_
 
int backup_bytes_
 

Constructor & Destructor Documentation

google::protobuf::io::CopyingInputStreamAdaptor::CopyingInputStreamAdaptor ( CopyingInputStream copying_stream,
int  block_size = -1 
)
explicit
google::protobuf::io::CopyingInputStreamAdaptor::~CopyingInputStreamAdaptor ( )

Member Function Documentation

void google::protobuf::io::CopyingInputStreamAdaptor::AllocateBufferIfNeeded ( )
private
void google::protobuf::io::CopyingInputStreamAdaptor::BackUp ( int  count)
virtual
int64 google::protobuf::io::CopyingInputStreamAdaptor::ByteCount ( ) const
virtual
void google::protobuf::io::CopyingInputStreamAdaptor::FreeBuffer ( )
private
google::protobuf::io::CopyingInputStreamAdaptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( CopyingInputStreamAdaptor  )
private
bool google::protobuf::io::CopyingInputStreamAdaptor::Next ( const void **  data,
int *  size 
)
virtual
void google::protobuf::io::CopyingInputStreamAdaptor::SetOwnsCopyingStream ( bool  value)
inline
bool owns_copying_stream_
Definition: zero_copy_stream_impl_lite.h:224
const FieldDescriptor value
Definition: descriptor.h:1522
bool google::protobuf::io::CopyingInputStreamAdaptor::Skip ( int  count)
virtual

Member Data Documentation

int google::protobuf::io::CopyingInputStreamAdaptor::backup_bytes_
private
scoped_array<uint8> google::protobuf::io::CopyingInputStreamAdaptor::buffer_
private
const int google::protobuf::io::CopyingInputStreamAdaptor::buffer_size_
private
int google::protobuf::io::CopyingInputStreamAdaptor::buffer_used_
private
CopyingInputStream* google::protobuf::io::CopyingInputStreamAdaptor::copying_stream_
private
bool google::protobuf::io::CopyingInputStreamAdaptor::failed_
private
bool google::protobuf::io::CopyingInputStreamAdaptor::owns_copying_stream_
private
int64 google::protobuf::io::CopyingInputStreamAdaptor::position_
private

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