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

#include <zero_copy_stream_impl.h>

Classes

class  CopyingFileOutputStream
 

Public Member Functions

 FileOutputStream (int file_descriptor, int block_size=-1)
 
 ~FileOutputStream ()
 
bool Close ()
 
bool Flush ()
 
void SetCloseOnDelete (bool value)
 
int GetErrno ()
 
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 (FileOutputStream)
 

Private Attributes

CopyingFileOutputStream copying_output_
 
CopyingOutputStreamAdaptor impl_
 

Constructor & Destructor Documentation

google::protobuf::io::FileOutputStream::FileOutputStream ( int  file_descriptor,
int  block_size = -1 
)
explicit
google::protobuf::io::FileOutputStream::~FileOutputStream ( )

Member Function Documentation

void google::protobuf::io::FileOutputStream::BackUp ( int  count)
virtual
int64 google::protobuf::io::FileOutputStream::ByteCount ( ) const
virtual
bool google::protobuf::io::FileOutputStream::Close ( )
bool google::protobuf::io::FileOutputStream::Flush ( )
int google::protobuf::io::FileOutputStream::GetErrno ( )
inline
171 { return copying_output_.GetErrno(); }
CopyingFileOutputStream copying_output_
Definition: zero_copy_stream_impl.h:203
int GetErrno()
Definition: zero_copy_stream_impl.h:186
google::protobuf::io::FileOutputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( FileOutputStream  )
private
bool google::protobuf::io::FileOutputStream::Next ( void **  data,
int *  size 
)
virtual
void google::protobuf::io::FileOutputStream::SetCloseOnDelete ( bool  value)
inline
CopyingFileOutputStream copying_output_
Definition: zero_copy_stream_impl.h:203
void SetCloseOnDelete(bool value)
Definition: zero_copy_stream_impl.h:185
const FieldDescriptor value
Definition: descriptor.h:1522

Member Data Documentation

CopyingFileOutputStream google::protobuf::io::FileOutputStream::copying_output_
private
CopyingOutputStreamAdaptor google::protobuf::io::FileOutputStream::impl_
private

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