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

#include <zero_copy_stream_impl.h>

Public Member Functions

 LimitingInputStream (ZeroCopyInputStream *input, int64 limit)
 
 ~LimitingInputStream ()
 
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 (LimitingInputStream)
 

Private Attributes

ZeroCopyInputStreaminput_
 
int64 limit_
 
int64 prior_bytes_read_
 

Constructor & Destructor Documentation

google::protobuf::io::LimitingInputStream::LimitingInputStream ( ZeroCopyInputStream input,
int64  limit 
)
google::protobuf::io::LimitingInputStream::~LimitingInputStream ( )

Member Function Documentation

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

Member Data Documentation

ZeroCopyInputStream* google::protobuf::io::LimitingInputStream::input_
private
int64 google::protobuf::io::LimitingInputStream::limit_
private
int64 google::protobuf::io::LimitingInputStream::prior_bytes_read_
private

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