LibreOffice Module comphelper (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
comphelper::OSLInputStreamWrapper Class Referencefinal

#include <oslfile2streamwrap.hxx>

Inheritance diagram for comphelper::OSLInputStreamWrapper:
Collaboration diagram for comphelper::OSLInputStreamWrapper:

Public Member Functions

COMPHELPER_DLLPUBLIC OSLInputStreamWrapper (::osl::File &_rStream)

Private Member Functions

virtual ~OSLInputStreamWrapper () 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

::osl::Mutex m_aMutex
::osl::File * m_pFile

Detailed Description

Definition at line 35 of file oslfile2streamwrap.hxx.

Constructor & Destructor Documentation

comphelper::OSLInputStreamWrapper::OSLInputStreamWrapper ( ::osl::File &  _rStream)

Definition at line 34 of file oslfile2streamwrap.cxx.

comphelper::OSLInputStreamWrapper::~OSLInputStreamWrapper ( )

Definition at line 40 of file oslfile2streamwrap.cxx.

Member Function Documentation

sal_Int32 SAL_CALL comphelper::OSLInputStreamWrapper::available ( )

Definition at line 97 of file oslfile2streamwrap.cxx.

References m_aMutex, m_pFile, nPos, and SAL_MAX_INT32.

void SAL_CALL comphelper::OSLInputStreamWrapper::closeInput ( )

Definition at line 125 of file oslfile2streamwrap.cxx.

References m_pFile.

sal_Int32 SAL_CALL comphelper::OSLInputStreamWrapper::readBytes ( css::uno::Sequence< sal_Int8 > &  aData,
sal_Int32  nBytesToRead 

Definition at line 45 of file oslfile2streamwrap.cxx.

References m_aMutex, and m_pFile.

Referenced by readSomeBytes().

sal_Int32 SAL_CALL comphelper::OSLInputStreamWrapper::readSomeBytes ( css::uno::Sequence< sal_Int8 > &  aData,
sal_Int32  nMaxBytesToRead 

Definition at line 69 of file oslfile2streamwrap.cxx.

References m_pFile, and readBytes().

void SAL_CALL comphelper::OSLInputStreamWrapper::skipBytes ( sal_Int32  nBytesToSkip)

Definition at line 80 of file oslfile2streamwrap.cxx.

References m_aMutex, and m_pFile.

Member Data Documentation

::osl::Mutex comphelper::OSLInputStreamWrapper::m_aMutex

Definition at line 50 of file oslfile2streamwrap.hxx.

Referenced by available(), readBytes(), and skipBytes().

::osl::File* comphelper::OSLInputStreamWrapper::m_pFile

Definition at line 51 of file oslfile2streamwrap.hxx.

Referenced by available(), closeInput(), readBytes(), readSomeBytes(), and skipBytes().

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