Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::io::LimitingInputStream Class Reference

#include <zero_copy_stream_impl_lite.h>

Inheritance diagram for google::protobuf::io::LimitingInputStream:
Inheritance graph
[legend]

Public Member Functions

void BackUp (int count) override
 
int64 ByteCount () const override
 
 LimitingInputStream (ZeroCopyInputStream *input, int64 limit)
 
bool Next (const void **data, int *size) override
 
bool Skip (int count) override
 
 ~LimitingInputStream () override
 
- 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_
 

Detailed Description

Definition at line 345 of file zero_copy_stream_impl_lite.h.

Constructor & Destructor Documentation

◆ LimitingInputStream()

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

Definition at line 381 of file zero_copy_stream_impl_lite.cc.

◆ ~LimitingInputStream()

google::protobuf::io::LimitingInputStream::~LimitingInputStream ( )
override

Definition at line 387 of file zero_copy_stream_impl_lite.cc.

Member Function Documentation

◆ BackUp()

void google::protobuf::io::LimitingInputStream::BackUp ( int  count)
overridevirtual

◆ ByteCount()

int64 google::protobuf::io::LimitingInputStream::ByteCount ( ) const
overridevirtual

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::io::LimitingInputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( LimitingInputStream  )
private

◆ Next()

bool google::protobuf::io::LimitingInputStream::Next ( const void **  data,
int *  size 
)
overridevirtual

◆ Skip()

bool google::protobuf::io::LimitingInputStream::Skip ( int  count)
overridevirtual

Member Data Documentation

◆ input_

ZeroCopyInputStream* google::protobuf::io::LimitingInputStream::input_
private

Definition at line 358 of file zero_copy_stream_impl_lite.h.

◆ limit_

int64 google::protobuf::io::LimitingInputStream::limit_
private

Definition at line 359 of file zero_copy_stream_impl_lite.h.

◆ prior_bytes_read_

int64 google::protobuf::io::LimitingInputStream::prior_bytes_read_
private

Definition at line 360 of file zero_copy_stream_impl_lite.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:10