LibreOffice Module unotools (master) 1
Public Member Functions | Private Member Functions | List of all members
utl::OSeekableOutputStreamWrapper Class Referencefinal

helper class for wrapping an SvStream into a com.sun.star.io::XOutputStream which is seekable (i.e. More...

#include <streamwrap.hxx>

Inheritance diagram for utl::OSeekableOutputStreamWrapper:
[legend]
Collaboration diagram for utl::OSeekableOutputStreamWrapper:
[legend]

Public Member Functions

 OSeekableOutputStreamWrapper (SvStream &_rStream)
 
- Public Member Functions inherited from utl::OOutputStreamWrapper
UNOTOOLS_DLLPUBLIC OOutputStreamWrapper (SvStream &_rStream)
 
- Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Private Member Functions

virtual ~OSeekableOutputStreamWrapper () 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 void SAL_CALL seek (sal_Int64 _nLocation) override
 
virtual sal_Int64 SAL_CALL getPosition () override
 
virtual sal_Int64 SAL_CALL getLength () override
 

Additional Inherited Members

- Protected Member Functions inherited from utl::OOutputStreamWrapper
virtual ~OOutputStreamWrapper () 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
 
void checkError () const
 throws an exception according to the error flag of m_pSvStream More...
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 
- Protected Attributes inherited from utl::OOutputStreamWrapper
SvStreamrStream
 

Detailed Description

helper class for wrapping an SvStream into a com.sun.star.io::XOutputStream which is seekable (i.e.

supports the com.sun.star.io::XSeekable interface).

Definition at line 130 of file streamwrap.hxx.

Constructor & Destructor Documentation

◆ OSeekableOutputStreamWrapper()

utl::OSeekableOutputStreamWrapper::OSeekableOutputStreamWrapper ( SvStream _rStream)

Definition at line 244 of file streamwrap.cxx.

◆ ~OSeekableOutputStreamWrapper()

utl::OSeekableOutputStreamWrapper::~OSeekableOutputStreamWrapper ( )
overrideprivatevirtual

Definition at line 249 of file streamwrap.cxx.

Member Function Documentation

◆ acquire()

virtual void SAL_CALL utl::OSeekableOutputStreamWrapper::acquire ( )
inlineoverrideprivatevirtualnoexcept

Definition at line 142 of file streamwrap.hxx.

◆ getLength()

sal_Int64 SAL_CALL utl::OSeekableOutputStreamWrapper::getLength ( )
overrideprivatevirtual

◆ getPosition()

sal_Int64 SAL_CALL utl::OSeekableOutputStreamWrapper::getPosition ( )
overrideprivatevirtual

◆ queryInterface()

Any SAL_CALL utl::OSeekableOutputStreamWrapper::queryInterface ( const css::uno::Type &  _rType)
overrideprivatevirtual

Reimplemented from cppu::ImplHelper1< class Ifc1 >.

Definition at line 251 of file streamwrap.cxx.

References Any, and cppu::ImplHelper1< class Ifc1 >::queryInterface().

◆ release()

virtual void SAL_CALL utl::OSeekableOutputStreamWrapper::release ( )
inlineoverrideprivatevirtualnoexcept

Definition at line 144 of file streamwrap.hxx.

◆ seek()

void SAL_CALL utl::OSeekableOutputStreamWrapper::seek ( sal_Int64  _nLocation)
overrideprivatevirtual

The documentation for this class was generated from the following files: