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

#include <zero_copy_stream_impl_lite.h>

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

Public Member Functions

void BackUp (int count) override
 
void BackUp (int count) override
 
int64 ByteCount () const override
 
int64_t ByteCount () const override
 
 CopyingInputStreamAdaptor (CopyingInputStream *copying_stream, int block_size=-1)
 
 CopyingInputStreamAdaptor (CopyingInputStream *copying_stream, int block_size=-1)
 
bool Next (const void **data, int *size) override
 
bool Next (const void **data, int *size) override
 
void SetOwnsCopyingStream (bool value)
 
void SetOwnsCopyingStream (bool value)
 
bool Skip (int count) override
 
bool Skip (int count) override
 
 ~CopyingInputStreamAdaptor () override
 
 ~CopyingInputStreamAdaptor () override
 
- Public Member Functions inherited from google::protobuf::io::ZeroCopyInputStream
 ZeroCopyInputStream ()
 
 ZeroCopyInputStream ()
 
virtual ~ZeroCopyInputStream ()
 
virtual ~ZeroCopyInputStream ()
 

Private Member Functions

void AllocateBufferIfNeeded ()
 
void AllocateBufferIfNeeded ()
 
void FreeBuffer ()
 
void FreeBuffer ()
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CopyingInputStreamAdaptor)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CopyingInputStreamAdaptor)
 

Private Attributes

int backup_bytes_
 
std::unique_ptr< uint8[]> buffer_
 
std::unique_ptr< uint8_t[]> buffer_
 
const int buffer_size_
 
int buffer_used_
 
CopyingInputStreamcopying_stream_
 
bool failed_
 
bool owns_copying_stream_
 
int64 position_
 
int64_t position_
 

Detailed Description

Definition at line 202 of file bloaty/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h.

Constructor & Destructor Documentation

◆ CopyingInputStreamAdaptor() [1/2]

google::protobuf::io::CopyingInputStreamAdaptor::CopyingInputStreamAdaptor ( CopyingInputStream copying_stream,
int  block_size = -1 
)
explicit

◆ ~CopyingInputStreamAdaptor() [1/2]

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

◆ CopyingInputStreamAdaptor() [2/2]

google::protobuf::io::CopyingInputStreamAdaptor::CopyingInputStreamAdaptor ( CopyingInputStream copying_stream,
int  block_size = -1 
)
explicit

◆ ~CopyingInputStreamAdaptor() [2/2]

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

Member Function Documentation

◆ AllocateBufferIfNeeded() [1/2]

void google::protobuf::io::CopyingInputStreamAdaptor::AllocateBufferIfNeeded ( )
private

◆ AllocateBufferIfNeeded() [2/2]

void google::protobuf::io::CopyingInputStreamAdaptor::AllocateBufferIfNeeded ( )
private

◆ BackUp() [1/2]

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

◆ BackUp() [2/2]

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

◆ ByteCount() [1/2]

int64_t google::protobuf::io::CopyingInputStreamAdaptor::ByteCount ( ) const
overridevirtual

◆ ByteCount() [2/2]

int64_t google::protobuf::io::CopyingInputStreamAdaptor::ByteCount ( ) const
overridevirtual

◆ FreeBuffer() [1/2]

void google::protobuf::io::CopyingInputStreamAdaptor::FreeBuffer ( )
private

◆ FreeBuffer() [2/2]

void google::protobuf::io::CopyingInputStreamAdaptor::FreeBuffer ( )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

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

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

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

◆ Next() [1/2]

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

◆ Next() [2/2]

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

◆ SetOwnsCopyingStream() [1/2]

void google::protobuf::io::CopyingInputStreamAdaptor::SetOwnsCopyingStream ( bool  value)
inline

◆ SetOwnsCopyingStream() [2/2]

void google::protobuf::io::CopyingInputStreamAdaptor::SetOwnsCopyingStream ( bool  value)
inline

◆ Skip() [1/2]

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

◆ Skip() [2/2]

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

Member Data Documentation

◆ backup_bytes_

int google::protobuf::io::CopyingInputStreamAdaptor::backup_bytes_
private

◆ buffer_ [1/2]

std::unique_ptr<uint8[]> google::protobuf::io::CopyingInputStreamAdaptor::buffer_
private

◆ buffer_ [2/2]

std::unique_ptr<uint8_t[]> google::protobuf::io::CopyingInputStreamAdaptor::buffer_
private

◆ buffer_size_

const int google::protobuf::io::CopyingInputStreamAdaptor::buffer_size_
private

◆ buffer_used_

int google::protobuf::io::CopyingInputStreamAdaptor::buffer_used_
private

◆ copying_stream_

CopyingInputStream * google::protobuf::io::CopyingInputStreamAdaptor::copying_stream_
private

◆ failed_

bool google::protobuf::io::CopyingInputStreamAdaptor::failed_
private

◆ owns_copying_stream_

bool google::protobuf::io::CopyingInputStreamAdaptor::owns_copying_stream_
private

◆ position_ [1/2]

int64 google::protobuf::io::CopyingInputStreamAdaptor::position_
private

◆ position_ [2/2]

int64_t google::protobuf::io::CopyingInputStreamAdaptor::position_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:27