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

#include <zero_copy_stream_impl_lite.h>

Public Member Functions

 ArrayOutputStream (void *data, int size, int block_size=-1)
 
 ~ArrayOutputStream ()
 
bool Next (void **data, int *size)
 
void BackUp (int count)
 
int64 ByteCount () const
 
- Public Member Functions inherited from google::protobuf::io::ZeroCopyOutputStream
 ZeroCopyOutputStream ()
 
virtual ~ZeroCopyOutputStream ()
 
virtual bool WriteAliasedRaw (const void *data, int size)
 
virtual bool AllowsAliasing () const
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ArrayOutputStream)
 

Private Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

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

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