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

#include <zero_copy_stream_impl_lite.h>

Public Member Functions

 CopyingOutputStreamAdaptor (CopyingOutputStream *copying_stream, int block_size=-1)
 
 ~CopyingOutputStreamAdaptor ()
 
bool Flush ()
 
void SetOwnsCopyingStream (bool value)
 
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

bool WriteBuffer ()
 
void AllocateBufferIfNeeded ()
 
void FreeBuffer ()
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CopyingOutputStreamAdaptor)
 

Private Attributes

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

Constructor & Destructor Documentation

google::protobuf::io::CopyingOutputStreamAdaptor::CopyingOutputStreamAdaptor ( CopyingOutputStream copying_stream,
int  block_size = -1 
)
explicit
google::protobuf::io::CopyingOutputStreamAdaptor::~CopyingOutputStreamAdaptor ( )

Member Function Documentation

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

Member Data Documentation

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

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