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

Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 201 of file zero_copy_stream_impl_lite.h.

Constructor & Destructor Documentation

◆ CopyingInputStreamAdaptor()

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

Definition at line 201 of file zero_copy_stream_impl_lite.cc.

◆ ~CopyingInputStreamAdaptor()

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

Definition at line 211 of file zero_copy_stream_impl_lite.cc.

Member Function Documentation

◆ AllocateBufferIfNeeded()

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

Definition at line 289 of file zero_copy_stream_impl_lite.cc.

◆ BackUp()

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

◆ ByteCount()

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

◆ FreeBuffer()

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

Definition at line 295 of file zero_copy_stream_impl_lite.cc.

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

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

◆ Next()

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

◆ SetOwnsCopyingStream()

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

Definition at line 214 of file zero_copy_stream_impl_lite.h.

◆ Skip()

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

Member Data Documentation

◆ backup_bytes_

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

Definition at line 251 of file zero_copy_stream_impl_lite.h.

◆ buffer_

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

Definition at line 241 of file zero_copy_stream_impl_lite.h.

◆ buffer_size_

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

Definition at line 242 of file zero_copy_stream_impl_lite.h.

◆ buffer_used_

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

Definition at line 246 of file zero_copy_stream_impl_lite.h.

◆ copying_stream_

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

Definition at line 229 of file zero_copy_stream_impl_lite.h.

◆ failed_

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

Definition at line 233 of file zero_copy_stream_impl_lite.h.

◆ owns_copying_stream_

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

Definition at line 230 of file zero_copy_stream_impl_lite.h.

◆ position_

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

Definition at line 237 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