LibreOffice Module svl (master) 1
|
#include <ostreamcontainer.hxx>
Public Member Functions | |
OFSStreamContainer (const css::uno::Reference< css::io::XStream > &xStream) | |
virtual | ~OFSStreamContainer () 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 css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () 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 | 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 |
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 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 | writeBytes (const css::uno::Sequence< sal_Int8 > &aData) override |
virtual void SAL_CALL | flush () override |
virtual void SAL_CALL | closeOutput () override |
virtual void SAL_CALL | truncate () override |
virtual void SAL_CALL | waitForCompletion () override |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Private Attributes | |
std::mutex | m_aMutex |
css::uno::Reference< css::io::XStream > | m_xStream |
css::uno::Reference< css::io::XSeekable > | m_xSeekable |
css::uno::Reference< css::io::XInputStream > | m_xInputStream |
css::uno::Reference< css::io::XOutputStream > | m_xOutputStream |
css::uno::Reference< css::io::XTruncate > | m_xTruncate |
css::uno::Reference< css::io::XAsyncOutputMonitor > | m_xAsyncOutputMonitor |
bool | m_bDisposed |
bool | m_bInputClosed |
bool | m_bOutputClosed |
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | m_aListenersContainer |
css::uno::Sequence< css::uno::Type > | m_aTypes |
Additional Inherited Members | |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 35 of file ostreamcontainer.hxx.
|
explicit |
Definition at line 28 of file ostreamcontainer.cxx.
References m_bDisposed, m_xAsyncOutputMonitor, m_xInputStream, m_xOutputStream, m_xSeekable, m_xStream, m_xTruncate, and xStream.
|
overridevirtual |
Definition at line 56 of file ostreamcontainer.cxx.
|
overridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Definition at line 123 of file ostreamcontainer.cxx.
|
overridevirtual |
Definition at line 233 of file ostreamcontainer.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::addInterface(), m_aListenersContainer, m_aMutex, and m_bDisposed.
|
overridevirtual |
Definition at line 335 of file ostreamcontainer.cxx.
References m_aMutex, m_bDisposed, m_xInputStream, and m_xStream.
|
overridevirtual |
Definition at line 348 of file ostreamcontainer.cxx.
References dispose(), m_aMutex, m_bDisposed, m_bInputClosed, m_bOutputClosed, m_xInputStream, and m_xStream.
|
overridevirtual |
Definition at line 398 of file ostreamcontainer.cxx.
References dispose(), m_aMutex, m_bDisposed, m_bInputClosed, m_bOutputClosed, m_xOutputStream, and m_xStream.
|
overridevirtual |
Definition at line 206 of file ostreamcontainer.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), m_aListenersContainer, m_aMutex, m_bDisposed, m_bInputClosed, m_bOutputClosed, m_xInputStream, m_xOutputStream, and m_xStream.
Referenced by closeInput(), and closeOutput().
|
overridevirtual |
Definition at line 385 of file ostreamcontainer.cxx.
References m_aMutex, m_bDisposed, m_xOutputStream, and m_xStream.
|
overridevirtual |
Definition at line 167 of file ostreamcontainer.cxx.
|
overridevirtual |
Definition at line 173 of file ostreamcontainer.cxx.
References m_aMutex, m_bDisposed, m_xInputStream, and m_xStream.
|
overridevirtual |
Definition at line 281 of file ostreamcontainer.cxx.
References m_aMutex, m_bDisposed, m_xSeekable, and m_xStream.
|
overridevirtual |
Definition at line 189 of file ostreamcontainer.cxx.
References m_aMutex, m_bDisposed, m_xOutputStream, and m_xStream.
|
overridevirtual |
Definition at line 268 of file ostreamcontainer.cxx.
References m_aMutex, m_bDisposed, m_xSeekable, and m_xStream.
|
overridevirtual |
Definition at line 136 of file ostreamcontainer.cxx.
References comphelper::containerToSequence(), cppu::UnoType< typename T >::get(), m_aMutex, m_aTypes, m_xAsyncOutputMonitor, m_xInputStream, m_xOutputStream, m_xSeekable, and m_xTruncate.
|
overridevirtual |
Reimplemented from cppu::OWeakObject.
Definition at line 61 of file ostreamcontainer.cxx.
References uno::Any::hasValue(), m_xAsyncOutputMonitor, m_xInputStream, m_xOutputStream, m_xSeekable, and m_xTruncate.
|
overridevirtual |
Definition at line 296 of file ostreamcontainer.cxx.
References aData, m_aMutex, m_bDisposed, m_xInputStream, and m_xStream.
|
overridevirtual |
Definition at line 309 of file ostreamcontainer.cxx.
References aData, m_aMutex, m_bDisposed, m_xInputStream, and m_xStream.
|
overridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Definition at line 129 of file ostreamcontainer.cxx.
|
overridevirtual |
Definition at line 243 of file ostreamcontainer.cxx.
References m_aListenersContainer, m_aMutex, m_bDisposed, and comphelper::OInterfaceContainerHelper4< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 255 of file ostreamcontainer.cxx.
References m_aMutex, m_bDisposed, m_xSeekable, and m_xStream.
|
overridevirtual |
Definition at line 322 of file ostreamcontainer.cxx.
References m_aMutex, m_bDisposed, m_xInputStream, and m_xStream.
|
overridevirtual |
Definition at line 422 of file ostreamcontainer.cxx.
References m_aMutex, m_bDisposed, m_xStream, and m_xTruncate.
|
overridevirtual |
Definition at line 437 of file ostreamcontainer.cxx.
References m_aMutex, m_bDisposed, m_xAsyncOutputMonitor, and m_xStream.
|
overridevirtual |
Definition at line 372 of file ostreamcontainer.cxx.
References aData, m_aMutex, m_bDisposed, m_xOutputStream, and m_xStream.
|
private |
Definition at line 57 of file ostreamcontainer.hxx.
Referenced by addEventListener(), dispose(), and removeEventListener().
|
private |
Definition at line 44 of file ostreamcontainer.hxx.
Referenced by addEventListener(), available(), closeInput(), closeOutput(), dispose(), flush(), getInputStream(), getLength(), getOutputStream(), getPosition(), getTypes(), readBytes(), readSomeBytes(), removeEventListener(), seek(), skipBytes(), truncate(), waitForCompletion(), and writeBytes().
|
private |
Definition at line 58 of file ostreamcontainer.hxx.
Referenced by getTypes().
|
private |
Definition at line 53 of file ostreamcontainer.hxx.
Referenced by addEventListener(), available(), closeInput(), closeOutput(), dispose(), flush(), getInputStream(), getLength(), getOutputStream(), getPosition(), readBytes(), readSomeBytes(), removeEventListener(), seek(), skipBytes(), truncate(), waitForCompletion(), and writeBytes().
|
private |
Definition at line 54 of file ostreamcontainer.hxx.
Referenced by closeInput(), closeOutput(), and dispose().
|
private |
Definition at line 55 of file ostreamcontainer.hxx.
Referenced by closeInput(), closeOutput(), and dispose().
|
private |
Definition at line 51 of file ostreamcontainer.hxx.
Referenced by getTypes(), OFSStreamContainer(), queryInterface(), and waitForCompletion().
|
private |
Definition at line 48 of file ostreamcontainer.hxx.
Referenced by available(), closeInput(), dispose(), getInputStream(), getTypes(), OFSStreamContainer(), queryInterface(), readBytes(), readSomeBytes(), and skipBytes().
|
private |
Definition at line 49 of file ostreamcontainer.hxx.
Referenced by closeOutput(), dispose(), flush(), getOutputStream(), getTypes(), OFSStreamContainer(), queryInterface(), and writeBytes().
|
private |
Definition at line 47 of file ostreamcontainer.hxx.
Referenced by getLength(), getPosition(), getTypes(), OFSStreamContainer(), queryInterface(), and seek().
|
private |
Definition at line 46 of file ostreamcontainer.hxx.
Referenced by available(), closeInput(), closeOutput(), dispose(), flush(), getInputStream(), getLength(), getOutputStream(), getPosition(), OFSStreamContainer(), readBytes(), readSomeBytes(), seek(), skipBytes(), truncate(), waitForCompletion(), and writeBytes().
|
private |
Definition at line 50 of file ostreamcontainer.hxx.
Referenced by getTypes(), OFSStreamContainer(), queryInterface(), and truncate().