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

#include <zero_copy_stream_impl_lite.h>

Public Member Functions

 StringOutputStream (string *target)
 
 ~StringOutputStream ()
 
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 (StringOutputStream)
 

Private Attributes

string * target_
 

Static Private Attributes

static const int kMinimumSize = 16
 

Constructor & Destructor Documentation

google::protobuf::io::StringOutputStream::StringOutputStream ( string *  target)
explicit
google::protobuf::io::StringOutputStream::~StringOutputStream ( )

Member Function Documentation

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

Member Data Documentation

const int google::protobuf::io::StringOutputStream::kMinimumSize = 16
staticprivate
string* google::protobuf::io::StringOutputStream::target_
private

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