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:
Collaboration diagram for gio::InputStream:

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 * mpStream

Detailed Description

Definition at line 33 of file gio_inputstream.hxx.

Constructor & Destructor Documentation

◆ InputStream()

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

Definition at line 31 of file gio_inputstream.cxx.

References mpStream.

◆ ~InputStream()

gio::InputStream::~InputStream ( )

Definition at line 37 of file gio_inputstream.cxx.

References closeInput().

Member Function Documentation

◆ available()

sal_Int32 SAL_CALL gio::InputStream::available ( )

Definition at line 42 of file gio_inputstream.cxx.

◆ closeInput()

void SAL_CALL gio::InputStream::closeInput ( )

Definition at line 47 of file gio_inputstream.cxx.

References mpStream.

Referenced by ~InputStream().

◆ readBytes()

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

Definition at line 62 of file gio_inputstream.cxx.

References aData, gio::convertToIOException(), and mpStream.

Referenced by readSomeBytes(), and skipBytes().

◆ readSomeBytes()

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

Definition at line 84 of file gio_inputstream.cxx.

References aData, and readBytes().

◆ skipBytes()

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

Definition at line 53 of file gio_inputstream.cxx.

References readBytes().

Member Data Documentation

◆ mpStream

GFileInputStream* gio::InputStream::mpStream

Definition at line 36 of file gio_inputstream.hxx.

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

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