LibreOffice Module comphelper (master)
1
|
#include <seekableinput.hxx>
Public Member Functions | |
OSeekableInputWrapper (const css::uno::Reference< css::io::XInputStream > &xInStream, const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
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 | |
::osl::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 | ( | const css::uno::Reference< css::io::XInputStream > & | xInStream, |
const css::uno::Reference< css::uno::XComponentContext > & | rxContext | ||
) |
Definition at line 59 of file seekableinput.cxx.
References m_xContext, and m_xContext.
Referenced by CheckSeekableCanWrap().
|
overridevirtual |
Definition at line 70 of file seekableinput.cxx.
|
overridevirtual |
Definition at line 157 of file seekableinput.cxx.
References m_aMutex, m_xCopyInput, m_xOriginalStream, and PrepareCopy_Impl().
|
static |
Definition at line 75 of file seekableinput.cxx.
References OSeekableInputWrapper().
|
overridevirtual |
Definition at line 170 of file seekableinput.cxx.
References m_aMutex, m_xCopyInput, m_xCopySeek, and m_xOriginalStream.
|
overridevirtual |
Definition at line 218 of file seekableinput.cxx.
References m_aMutex, m_xCopySeek, m_xOriginalStream, and PrepareCopy_Impl().
|
overridevirtual |
Definition at line 205 of file seekableinput.cxx.
References m_aMutex, m_xCopySeek, m_xOriginalStream, and PrepareCopy_Impl().
|
private |
Definition at line 88 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 118 of file seekableinput.cxx.
References m_aMutex, m_xCopyInput, m_xOriginalStream, and PrepareCopy_Impl().
|
overridevirtual |
Definition at line 131 of file seekableinput.cxx.
References m_aMutex, m_xCopyInput, m_xOriginalStream, and PrepareCopy_Impl().
|
overridevirtual |
Definition at line 192 of file seekableinput.cxx.
References m_aMutex, m_xCopySeek, m_xOriginalStream, and PrepareCopy_Impl().
|
overridevirtual |
Definition at line 144 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().