LibreOffice Module ucb (master)  1
Public Member Functions | Private Attributes | List of all members
gio::InputStream Class Referencefinal

#include <gio_inputstream.hxx>

Inheritance diagram for gio::InputStream:
[legend]
Collaboration diagram for gio::InputStream:
[legend]

Public Member Functions

 InputStream (GFileInputStream *pStream)
 
virtual ~InputStream () override
 
virtual sal_Int32 SAL_CALL readBytes (css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nBytesToRead) override
 
virtual sal_Int32 SAL_CALL readSomeBytes (css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nMaxBytesToRead) override
 
virtual void SAL_CALL skipBytes (sal_Int32 nBytesToSkip) override
 
virtual sal_Int32 SAL_CALL available () override
 
virtual void SAL_CALL closeInput () override
 

Private Attributes

GFileInputStream *const mpStream
 

Detailed Description

Definition at line 34 of file gio_inputstream.hxx.

Constructor & Destructor Documentation

gio::InputStream::InputStream ( GFileInputStream *  pStream)
explicit

Definition at line 31 of file gio_inputstream.cxx.

References mpStream.

gio::InputStream::~InputStream ( )
overridevirtual

Definition at line 37 of file gio_inputstream.cxx.

References closeInput().

Member Function Documentation

sal_Int32 SAL_CALL gio::InputStream::available ( )
overridevirtual

Definition at line 42 of file gio_inputstream.cxx.

void SAL_CALL gio::InputStream::closeInput ( )
overridevirtual

Definition at line 47 of file gio_inputstream.cxx.

References mpStream.

Referenced by ~InputStream().

sal_Int32 SAL_CALL gio::InputStream::readBytes ( css::uno::Sequence< sal_Int8 > &  aData,
sal_Int32  nBytesToRead 
)
overridevirtual

Definition at line 62 of file gio_inputstream.cxx.

References gio::convertToIOException(), and mpStream.

Referenced by readSomeBytes(), and skipBytes().

sal_Int32 SAL_CALL gio::InputStream::readSomeBytes ( css::uno::Sequence< sal_Int8 > &  aData,
sal_Int32  nMaxBytesToRead 
)
overridevirtual

Definition at line 84 of file gio_inputstream.cxx.

References readBytes().

void SAL_CALL gio::InputStream::skipBytes ( sal_Int32  nBytesToSkip)
overridevirtual

Definition at line 53 of file gio_inputstream.cxx.

References readBytes().

Member Data Documentation

GFileInputStream* const gio::InputStream::mpStream
private

Definition at line 37 of file gio_inputstream.hxx.

Referenced by closeInput(), InputStream(), and readBytes().


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