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

#include <zero_copy_stream_impl.h>

Classes

class  CopyingFileInputStream
 

Public Member Functions

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

Private Attributes

CopyingFileInputStream copying_input_
 
CopyingInputStreamAdaptor impl_
 

Constructor & Destructor Documentation

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

Member Function Documentation

void google::protobuf::io::FileInputStream::BackUp ( int  count)
virtual
int64 google::protobuf::io::FileInputStream::ByteCount ( ) const
virtual
bool google::protobuf::io::FileInputStream::Close ( )
int google::protobuf::io::FileInputStream::GetErrno ( )
inline
88 { return copying_input_.GetErrno(); }
int GetErrno()
Definition: zero_copy_stream_impl.h:104
CopyingFileInputStream copying_input_
Definition: zero_copy_stream_impl.h:126
google::protobuf::io::FileInputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( FileInputStream  )
private
bool google::protobuf::io::FileInputStream::Next ( const void **  data,
int *  size 
)
virtual
void google::protobuf::io::FileInputStream::SetCloseOnDelete ( bool  value)
inline
void SetCloseOnDelete(bool value)
Definition: zero_copy_stream_impl.h:103
const FieldDescriptor value
Definition: descriptor.h:1522
CopyingFileInputStream copying_input_
Definition: zero_copy_stream_impl.h:126
bool google::protobuf::io::FileInputStream::Skip ( int  count)
virtual

Member Data Documentation

CopyingFileInputStream google::protobuf::io::FileInputStream::copying_input_
private
CopyingInputStreamAdaptor google::protobuf::io::FileInputStream::impl_
private

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