LibreOffice Module ucbhelper (master) 1
|
Implements a seekable InputStream working on a buffer. More...
#include <fd_inputstream.hxx>
Public Member Functions | |
FdInputStream (oslFileHandle tmpfl) | |
Defines the storage kind found on which the inputstream acts. More... | |
virtual | ~FdInputStream () 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 |
XSeekable. More... | |
virtual sal_Int64 SAL_CALL | getPosition () override |
virtual sal_Int64 SAL_CALL | getLength () override |
Private Attributes | |
std::mutex | m_aMutex |
oslFileHandle | m_tmpfl |
sal_uInt64 | m_nLength |
Implements a seekable InputStream working on a buffer.
Definition at line 39 of file fd_inputstream.hxx.
ucbhelper::FdInputStream::FdInputStream | ( | oslFileHandle | tmpfl | ) |
Defines the storage kind found on which the inputstream acts.
Definition at line 33 of file fd_inputstream.cxx.
References m_nLength, m_nLength, m_tmpfl, and SAL_WARN_IF.
|
overridevirtual |
Definition at line 51 of file fd_inputstream.cxx.
References m_tmpfl.
|
overridevirtual |
Definition at line 99 of file fd_inputstream.cxx.
References getPosition(), m_nLength, and SAL_MAX_INT32.
|
overridevirtual |
Definition at line 105 of file fd_inputstream.cxx.
|
overridevirtual |
Definition at line 140 of file fd_inputstream.cxx.
References m_nLength.
|
overridevirtual |
Definition at line 128 of file fd_inputstream.cxx.
References m_aMutex, and m_tmpfl.
Referenced by available().
|
overridevirtual |
Definition at line 57 of file fd_inputstream.cxx.
References aData, m_aMutex, m_nLength, and m_tmpfl.
Referenced by readSomeBytes().
|
overridevirtual |
Definition at line 81 of file fd_inputstream.cxx.
References aData, and readBytes().
|
overridevirtual |
XSeekable.
Definition at line 116 of file fd_inputstream.cxx.
References m_aMutex, m_tmpfl, and SAL_WARN_IF.
|
overridevirtual |
Definition at line 88 of file fd_inputstream.cxx.
References m_aMutex, m_tmpfl, and SAL_WARN_IF.
|
private |
Definition at line 83 of file fd_inputstream.hxx.
Referenced by closeInput(), getPosition(), readBytes(), seek(), and skipBytes().
|
private |
Definition at line 85 of file fd_inputstream.hxx.
Referenced by available(), FdInputStream(), getLength(), and readBytes().
|
private |
Definition at line 84 of file fd_inputstream.hxx.
Referenced by closeInput(), FdInputStream(), getPosition(), readBytes(), seek(), skipBytes(), and ~FdInputStream().