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

#include <zero_copy_stream_impl.h>

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

Classes

class  CopyingFileInputStream
 

Public Member Functions

void BackUp (int count) override
 
int64 ByteCount () const override
 
bool Close ()
 
 FileInputStream (int file_descriptor, int block_size=-1)
 
int GetErrno () const
 
bool Next (const void **data, int *size) override
 
void SetCloseOnDelete (bool value)
 
bool Skip (int count) override
 
- 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_
 

Detailed Description

Definition at line 64 of file zero_copy_stream_impl.h.

Constructor & Destructor Documentation

◆ FileInputStream()

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

Definition at line 83 of file zero_copy_stream_impl.cc.

Member Function Documentation

◆ BackUp()

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

◆ ByteCount()

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

◆ Close()

bool google::protobuf::io::FileInputStream::Close ( )

Definition at line 86 of file zero_copy_stream_impl.cc.

◆ GetErrno()

int google::protobuf::io::FileInputStream::GetErrno ( ) const
inline

Definition at line 88 of file zero_copy_stream_impl.h.

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

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

◆ Next()

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

◆ SetCloseOnDelete()

void google::protobuf::io::FileInputStream::SetCloseOnDelete ( bool  value)
inline

Definition at line 82 of file zero_copy_stream_impl.h.

◆ Skip()

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

Member Data Documentation

◆ copying_input_

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

Definition at line 126 of file zero_copy_stream_impl.h.

◆ impl_

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

Definition at line 127 of file zero_copy_stream_impl.h.


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


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