LibreOffice Module unotools (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
utl::OOutputStreamWrapper Class Reference

#include <streamwrap.hxx>

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

Public Member Functions

UNOTOOLS_DLLPUBLIC OOutputStreamWrapper (SvStream &_rStream)
 

Protected Member Functions

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 Attributes

SvStreamrStream
 

Detailed Description

Definition at line 103 of file streamwrap.hxx.

Constructor & Destructor Documentation

◆ OOutputStreamWrapper()

utl::OOutputStreamWrapper::OOutputStreamWrapper ( SvStream _rStream)

Definition at line 207 of file streamwrap.cxx.

◆ ~OOutputStreamWrapper()

utl::OOutputStreamWrapper::~OOutputStreamWrapper ( )
overrideprotectedvirtual

Definition at line 211 of file streamwrap.cxx.

Member Function Documentation

◆ checkError()

void utl::OOutputStreamWrapper::checkError ( ) const
protected

throws an exception according to the error flag of m_pSvStream

Definition at line 235 of file streamwrap.cxx.

References ERRCODE_NONE, SvStream::GetError(), and rStream.

Referenced by flush(), utl::OSeekableOutputStreamWrapper::getLength(), utl::OSeekableOutputStreamWrapper::getPosition(), and utl::OSeekableOutputStreamWrapper::seek().

◆ closeOutput()

void SAL_CALL utl::OOutputStreamWrapper::closeOutput ( )
overrideprotectedvirtual

Definition at line 231 of file streamwrap.cxx.

◆ flush()

void SAL_CALL utl::OOutputStreamWrapper::flush ( )
overrideprotectedvirtual

Definition at line 225 of file streamwrap.cxx.

References checkError(), SvStream::FlushBuffer(), and rStream.

◆ writeBytes()

void SAL_CALL utl::OOutputStreamWrapper::writeBytes ( const css::uno::Sequence< sal_Int8 > &  aData)
overrideprotectedvirtual

Definition at line 213 of file streamwrap.cxx.

References aData, err, ERRCODE_NONE, SvStream::GetError(), rStream, and SvStream::WriteBytes().

Member Data Documentation

◆ rStream

SvStream& utl::OOutputStreamWrapper::rStream
protected

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