30, m_bInputClosed( false )
31, m_bOutputClosed( false )
37 throw uno::RuntimeException();
45 catch( uno::Exception& )
63 uno::Any aReturn = ::cppu::queryInterface
65 ,
static_cast<lang::XTypeProvider*
> (
this )
66 ,
static_cast<io::XStream*
> (
this )
67 ,
static_cast<embed::XExtendedStorageStream*
> (
this )
68 ,
static_cast<lang::XComponent*
> (
this ) );
75 aReturn = ::cppu::queryInterface
77 ,
static_cast<io::XSeekable*
> (
this ) );
85 aReturn = ::cppu::queryInterface
87 ,
static_cast<io::XInputStream*
> (
this ) );
94 aReturn = ::cppu::queryInterface
96 ,
static_cast<io::XOutputStream*
> (
this ) );
103 aReturn = ::cppu::queryInterface
105 ,
static_cast<io::XTruncate*
> (
this ) );
112 aReturn = ::cppu::queryInterface
114 ,
static_cast<io::XAsyncOutputMonitor*
> (
this ) );
120 return OWeakObject::queryInterface( rType );
126 OWeakObject::acquire();
132 OWeakObject::release();
140 std::scoped_lock aGuard(
m_aMutex );
144 std::vector<uno::Type> tmp
169 return css::uno::Sequence<sal_Int8>();
175 std::scoped_lock aGuard(
m_aMutex );
178 throw lang::DisposedException();
181 throw uno::RuntimeException();
184 return uno::Reference< io::XInputStream >(
static_cast< io::XInputStream*
>(
this ) );
186 return uno::Reference< io::XInputStream >();
191 std::scoped_lock aGuard(
m_aMutex );
194 throw lang::DisposedException();
197 throw uno::RuntimeException();
200 return uno::Reference< io::XOutputStream >(
static_cast< io::XOutputStream*
>(
this ) );
202 return uno::Reference< io::XOutputStream >();
208 std::unique_lock aGuard(
m_aMutex );
214 throw uno::RuntimeException();
228 lang::EventObject aSource( getXWeak() );
235 std::unique_lock aGuard(
m_aMutex );
238 throw lang::DisposedException();
245 std::unique_lock aGuard(
m_aMutex );
248 throw lang::DisposedException();
257 std::scoped_lock aGuard(
m_aMutex );
260 throw lang::DisposedException();
263 throw uno::RuntimeException();
270 std::scoped_lock aGuard(
m_aMutex );
273 throw lang::DisposedException();
276 throw uno::RuntimeException();
283 std::scoped_lock aGuard(
m_aMutex );
286 throw lang::DisposedException();
289 throw uno::RuntimeException();
298 std::scoped_lock aGuard(
m_aMutex );
301 throw lang::DisposedException();
304 throw uno::RuntimeException();
311 std::scoped_lock aGuard(
m_aMutex );
314 throw lang::DisposedException();
317 throw uno::RuntimeException();
324 std::scoped_lock aGuard(
m_aMutex );
327 throw lang::DisposedException();
330 throw uno::RuntimeException();
337 std::scoped_lock aGuard(
m_aMutex );
340 throw lang::DisposedException();
343 throw uno::RuntimeException();
351 std::scoped_lock aGuard(
m_aMutex );
354 throw lang::DisposedException();
357 throw uno::RuntimeException();
374 std::scoped_lock aGuard(
m_aMutex );
377 throw lang::DisposedException();
380 throw uno::RuntimeException();
387 std::scoped_lock aGuard(
m_aMutex );
390 throw lang::DisposedException();
393 throw uno::RuntimeException();
401 std::scoped_lock aGuard(
m_aMutex );
404 throw lang::DisposedException();
407 throw uno::RuntimeException();
424 std::scoped_lock aGuard(
m_aMutex );
427 throw lang::DisposedException();
430 throw uno::RuntimeException();
439 std::scoped_lock aGuard(
m_aMutex );
442 throw lang::DisposedException();
445 throw uno::RuntimeException();
css::uno::Reference< css::io::XAsyncOutputMonitor > m_xAsyncOutputMonitor
css::uno::Reference< css::io::XOutputStream > m_xOutputStream
virtual void SAL_CALL closeInput() override
OFSStreamContainer(const css::uno::Reference< css::io::XStream > &xStream)
virtual void SAL_CALL release() noexcept override
virtual css::uno::Reference< css::io::XOutputStream > SAL_CALL getOutputStream() override
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aListenersContainer
virtual sal_Int64 SAL_CALL getPosition() override
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getInputStream() override
virtual void SAL_CALL flush() override
css::uno::Reference< css::io::XInputStream > m_xInputStream
virtual sal_Int32 SAL_CALL available() override
virtual ~OFSStreamContainer() override
virtual sal_Int32 SAL_CALL readSomeBytes(css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nMaxBytesToRead) override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL acquire() noexcept override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void SAL_CALL writeBytes(const css::uno::Sequence< sal_Int8 > &aData) override
virtual void SAL_CALL dispose() override
css::uno::Reference< css::io::XTruncate > m_xTruncate
virtual void SAL_CALL closeOutput() override
virtual sal_Int64 SAL_CALL getLength() override
css::uno::Reference< css::io::XSeekable > m_xSeekable
virtual void SAL_CALL waitForCompletion() override
virtual void SAL_CALL skipBytes(sal_Int32 nBytesToSkip) override
virtual void SAL_CALL truncate() override
virtual void SAL_CALL seek(sal_Int64 location) override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
css::uno::Sequence< css::uno::Type > m_aTypes
css::uno::Reference< css::io::XStream > m_xStream
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual sal_Int32 SAL_CALL readBytes(css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nBytesToRead) override
sal_Int32 addInterface(std::unique_lock< std::mutex > &rGuard, const css::uno::Reference< ListenerT > &rxIFace)
void disposeAndClear(::std::unique_lock<::std::mutex > &rGuard, const css::lang::EventObject &rEvt)
sal_Int32 removeInterface(std::unique_lock< std::mutex > &rGuard, const css::uno::Reference< ListenerT > &rxIFace)
css::uno::Type const & get()
constexpr OUStringLiteral aData
css::uno::Sequence< DstElementType > containerToSequence(const SrcType &i_Container)