LibreOffice Module comphelper (master) 1
|
#include <seekableinput.hxx>
Public Member Functions | |
OSeekableInputWrapper (css::uno::Reference< css::io::XInputStream > xInStream, css::uno::Reference< css::uno::XComponentContext > xContext) | |
virtual | ~OSeekableInputWrapper () 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 |
virtual void SAL_CALL | seek (sal_Int64 location) override |
virtual sal_Int64 SAL_CALL | getPosition () override |
virtual sal_Int64 SAL_CALL | getLength () override |
Static Public Member Functions | |
static css::uno::Reference< css::io::XInputStream > | CheckSeekableCanWrap (const css::uno::Reference< css::io::XInputStream > &xInStream, const css::uno::Reference< css::uno::XComponentContext > &rxContext) |
Private Member Functions | |
COMPHELPER_DLLPRIVATE void | PrepareCopy_Impl () |
Private Attributes | |
std::mutex | m_aMutex |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
css::uno::Reference< css::io::XInputStream > | m_xOriginalStream |
css::uno::Reference< css::io::XInputStream > | m_xCopyInput |
css::uno::Reference< css::io::XSeekable > | m_xCopySeek |
Definition at line 39 of file seekableinput.hxx.
comphelper::OSeekableInputWrapper::OSeekableInputWrapper | ( | css::uno::Reference< css::io::XInputStream > | xInStream, |
css::uno::Reference< css::uno::XComponentContext > | xContext | ||
) |
Definition at line 60 of file seekableinput.cxx.
References m_xContext, and m_xContext.
Referenced by CheckSeekableCanWrap().
|
overridevirtual |
Definition at line 71 of file seekableinput.cxx.
|
overridevirtual |
Definition at line 158 of file seekableinput.cxx.
References m_aMutex, m_xCopyInput, m_xOriginalStream, and PrepareCopy_Impl().
|
static |
Definition at line 76 of file seekableinput.cxx.
References OSeekableInputWrapper().
|
overridevirtual |
Definition at line 171 of file seekableinput.cxx.
References m_aMutex, m_xCopyInput, m_xCopySeek, and m_xOriginalStream.
|
overridevirtual |
Definition at line 219 of file seekableinput.cxx.
References m_aMutex, m_xCopySeek, m_xOriginalStream, and PrepareCopy_Impl().
|
overridevirtual |
Definition at line 206 of file seekableinput.cxx.
References m_aMutex, m_xCopySeek, m_xOriginalStream, and PrepareCopy_Impl().
|
private |
Definition at line 89 of file seekableinput.cxx.
References comphelper::copyInputToOutput_Impl(), m_xContext, m_xCopyInput, m_xCopySeek, and m_xOriginalStream.
Referenced by available(), getLength(), getPosition(), readBytes(), readSomeBytes(), seek(), and skipBytes().
|
overridevirtual |
Definition at line 119 of file seekableinput.cxx.
References aData, m_aMutex, m_xCopyInput, m_xOriginalStream, and PrepareCopy_Impl().
|
overridevirtual |
Definition at line 132 of file seekableinput.cxx.
References aData, m_aMutex, m_xCopyInput, m_xOriginalStream, and PrepareCopy_Impl().
|
overridevirtual |
Definition at line 193 of file seekableinput.cxx.
References m_aMutex, m_xCopySeek, m_xOriginalStream, and PrepareCopy_Impl().
|
overridevirtual |
Definition at line 145 of file seekableinput.cxx.
References m_aMutex, m_xCopyInput, m_xOriginalStream, and PrepareCopy_Impl().
|
private |
Definition at line 42 of file seekableinput.hxx.
Referenced by available(), closeInput(), getLength(), getPosition(), readBytes(), readSomeBytes(), seek(), and skipBytes().
|
private |
Definition at line 44 of file seekableinput.hxx.
Referenced by OSeekableInputWrapper(), and PrepareCopy_Impl().
|
private |
Definition at line 48 of file seekableinput.hxx.
Referenced by available(), closeInput(), PrepareCopy_Impl(), readBytes(), readSomeBytes(), and skipBytes().
|
private |
Definition at line 49 of file seekableinput.hxx.
Referenced by closeInput(), getLength(), getPosition(), PrepareCopy_Impl(), and seek().
|
private |
Definition at line 46 of file seekableinput.hxx.
Referenced by available(), closeInput(), getLength(), getPosition(), PrepareCopy_Impl(), readBytes(), readSomeBytes(), seek(), and skipBytes().