LibreOffice Module svl (master) 1
|
#include <oinputstreamcontainer.hxx>
Public Member Functions | |
OFSInputStreamContainer (const css::uno::Reference< css::io::XInputStream > &xStream) | |
virtual | ~OFSInputStreamContainer () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept 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 css::uno::Reference< css::io::XInputStream > SAL_CALL | getInputStream () override |
virtual css::uno::Reference< css::io::XOutputStream > SAL_CALL | getOutputStream () 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 void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
Private Attributes | |
std::mutex | m_aMutex |
css::uno::Reference< css::io::XInputStream > | m_xInputStream |
css::uno::Reference< css::io::XSeekable > | m_xSeekable |
bool | m_bSeekable |
bool | m_bDisposed |
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | m_aListenersContainer |
Definition at line 33 of file oinputstreamcontainer.hxx.
|
explicit |
Definition at line 27 of file oinputstreamcontainer.cxx.
References m_bDisposed, m_bSeekable, m_xSeekable, m_xSeekable, and xStream.
|
overridevirtual |
Definition at line 36 of file oinputstreamcontainer.cxx.
|
overridevirtualnoexcept |
Definition at line 81 of file oinputstreamcontainer.cxx.
References cppu::OWeakObject::acquire().
|
overridevirtual |
Definition at line 239 of file oinputstreamcontainer.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::addInterface(), m_aListenersContainer, m_aMutex, and m_bDisposed.
|
overridevirtual |
Definition at line 132 of file oinputstreamcontainer.cxx.
References m_aMutex, m_bDisposed, and m_xInputStream.
|
overridevirtual |
Definition at line 145 of file oinputstreamcontainer.cxx.
References dispose(), m_aMutex, m_bDisposed, and m_xInputStream.
|
overridevirtual |
Definition at line 221 of file oinputstreamcontainer.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), m_aListenersContainer, m_aMutex, m_bDisposed, and m_xInputStream.
Referenced by closeInput().
|
overridevirtual |
Definition at line 159 of file oinputstreamcontainer.cxx.
References m_aMutex, m_bDisposed, and m_xInputStream.
|
overridevirtual |
Definition at line 208 of file oinputstreamcontainer.cxx.
References m_aMutex, m_bDisposed, and m_xSeekable.
|
overridevirtual |
Definition at line 172 of file oinputstreamcontainer.cxx.
References m_aMutex, and m_bDisposed.
|
overridevirtual |
Definition at line 195 of file oinputstreamcontainer.cxx.
References m_aMutex, m_bDisposed, and m_xSeekable.
|
overridevirtual |
Definition at line 40 of file oinputstreamcontainer.cxx.
References cppu::OTypeCollection::getTypes(), and m_bSeekable.
|
overridevirtual |
Definition at line 59 of file oinputstreamcontainer.cxx.
References uno::Any::hasValue(), and m_bSeekable.
|
overridevirtual |
Definition at line 93 of file oinputstreamcontainer.cxx.
References aData, m_aMutex, m_bDisposed, and m_xInputStream.
|
overridevirtual |
Definition at line 106 of file oinputstreamcontainer.cxx.
References aData, m_aMutex, m_bDisposed, and m_xInputStream.
|
overridevirtualnoexcept |
Definition at line 87 of file oinputstreamcontainer.cxx.
References cppu::OWeakObject::release().
|
overridevirtual |
Definition at line 249 of file oinputstreamcontainer.cxx.
References m_aListenersContainer, m_aMutex, m_bDisposed, and comphelper::OInterfaceContainerHelper4< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 182 of file oinputstreamcontainer.cxx.
References m_aMutex, m_bDisposed, and m_xSeekable.
|
overridevirtual |
Definition at line 119 of file oinputstreamcontainer.cxx.
References m_aMutex, m_bDisposed, and m_xInputStream.
|
private |
Definition at line 46 of file oinputstreamcontainer.hxx.
Referenced by addEventListener(), dispose(), and removeEventListener().
|
private |
Definition at line 37 of file oinputstreamcontainer.hxx.
Referenced by addEventListener(), available(), closeInput(), dispose(), getInputStream(), getLength(), getOutputStream(), getPosition(), readBytes(), readSomeBytes(), removeEventListener(), seek(), and skipBytes().
|
private |
Definition at line 44 of file oinputstreamcontainer.hxx.
Referenced by addEventListener(), available(), closeInput(), dispose(), getInputStream(), getLength(), getOutputStream(), getPosition(), readBytes(), readSomeBytes(), removeEventListener(), seek(), and skipBytes().
|
private |
Definition at line 42 of file oinputstreamcontainer.hxx.
Referenced by getTypes(), OFSInputStreamContainer(), and queryInterface().
|
private |
Definition at line 39 of file oinputstreamcontainer.hxx.
Referenced by available(), closeInput(), dispose(), getInputStream(), readBytes(), readSomeBytes(), and skipBytes().
|
private |
Definition at line 40 of file oinputstreamcontainer.hxx.
Referenced by getLength(), getPosition(), OFSInputStreamContainer(), and seek().