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

#include <zero_copy_stream_impl_lite.h>

Public Member Functions

 ArrayInputStream (const void *data, int size, int block_size=-1)
 
 ~ArrayInputStream ()
 
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

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ArrayInputStream)
 

Private Attributes

const uint8 *const data_
 
const int size_
 
const int block_size_
 
int position_
 
int last_returned_size_
 

Constructor & Destructor Documentation

google::protobuf::io::ArrayInputStream::ArrayInputStream ( const void *  data,
int  size,
int  block_size = -1 
)
google::protobuf::io::ArrayInputStream::~ArrayInputStream ( )

Member Function Documentation

void google::protobuf::io::ArrayInputStream::BackUp ( int  count)
virtual
int64 google::protobuf::io::ArrayInputStream::ByteCount ( ) const
virtual
google::protobuf::io::ArrayInputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ArrayInputStream  )
private
bool google::protobuf::io::ArrayInputStream::Next ( const void **  data,
int *  size 
)
virtual
bool google::protobuf::io::ArrayInputStream::Skip ( int  count)
virtual

Member Data Documentation

const int google::protobuf::io::ArrayInputStream::block_size_
private
const uint8* const google::protobuf::io::ArrayInputStream::data_
private
int google::protobuf::io::ArrayInputStream::last_returned_size_
private
int google::protobuf::io::ArrayInputStream::position_
private
const int google::protobuf::io::ArrayInputStream::size_
private

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