LibreOffice Module comphelper (master) 1
|
Base class for wrappers around memory data that want to be exposed as an XInputStream. More...
#include <seqstream.hxx>
Public Member Functions | |
MemoryInputStream (const sal_Int8 *pData, sal_Int32 nDataLength) | |
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 |
virtual sal_Int32 | readSomeBytes (sal_Int8 *pData, sal_Int32 nBytesToRead) override |
Private Member Functions | |
sal_Int32 | avail () |
Private Attributes | |
std::mutex | m_aMutex |
const sal_Int8 * | m_pMemoryData |
sal_Int32 | m_nMemoryDataLength |
sal_Int32 | m_nPos |
Base class for wrappers around memory data that want to be exposed as an XInputStream.
Definition at line 37 of file seqstream.hxx.
comphelper::MemoryInputStream::MemoryInputStream | ( | const sal_Int8 * | pData, |
sal_Int32 | nDataLength | ||
) |
Definition at line 39 of file seqstream.cxx.
|
inlineprivate |
Definition at line 49 of file seqstream.cxx.
References m_nMemoryDataLength, and m_nPos.
Referenced by available(), readBytes(), readSomeBytes(), and skipBytes().
|
overridevirtual |
Definition at line 119 of file seqstream.cxx.
|
overridevirtual |
Definition at line 127 of file seqstream.cxx.
|
overridevirtual |
Definition at line 151 of file seqstream.cxx.
References m_aMutex, and m_nMemoryDataLength.
|
overridevirtual |
Definition at line 145 of file seqstream.cxx.
|
overridevirtual |
Definition at line 59 of file seqstream.cxx.
References aData, avail(), m_aMutex, m_nPos, and m_pMemoryData.
|
overridevirtual |
References getLength().
|
overridevirtual |
Definition at line 78 of file seqstream.cxx.
References avail(), m_aMutex, m_nPos, m_pMemoryData, and pData.
|
overridevirtual |
Definition at line 137 of file seqstream.cxx.
References m_aMutex, m_nMemoryDataLength, m_nPos, and SAL_MAX_INT32.
|
overridevirtual |
Definition at line 103 of file seqstream.cxx.
|
private |
Definition at line 41 of file seqstream.hxx.
Referenced by available(), closeInput(), getLength(), getPosition(), readBytes(), readSomeBytes(), seek(), and skipBytes().
|
private |
Definition at line 43 of file seqstream.hxx.
Referenced by avail(), getLength(), and seek().
|
private |
Definition at line 44 of file seqstream.hxx.
Referenced by avail(), closeInput(), getPosition(), readBytes(), readSomeBytes(), seek(), and skipBytes().
|
private |
Definition at line 42 of file seqstream.hxx.
Referenced by readBytes(), and readSomeBytes().