LibreOffice Module ucb (master)  1
Public Member Functions | Private Attributes | List of all members
gio::OutputStream Class Referencefinal

#include <gio_outputstream.hxx>

Inheritance diagram for gio::OutputStream:
[legend]
Collaboration diagram for gio::OutputStream:
[legend]

Public Member Functions

 OutputStream (GFileOutputStream *pStream)
 
virtual ~OutputStream () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &type) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
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
 
- Public Member Functions inherited from gio::Seekable
 Seekable (GSeekable *pStream)
 
virtual ~Seekable () 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 truncate () override
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Private Attributes

GFileOutputStream *const mpStream
 

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
 

Detailed Description

Definition at line 36 of file gio_outputstream.hxx.

Constructor & Destructor Documentation

gio::OutputStream::OutputStream ( GFileOutputStream *  pStream)
explicit

Definition at line 31 of file gio_outputstream.cxx.

References mpStream.

gio::OutputStream::~OutputStream ( )
overridevirtual

Definition at line 37 of file gio_outputstream.cxx.

References closeOutput().

Member Function Documentation

virtual void SAL_CALL gio::OutputStream::acquire ( )
throw (
)
inlineoverridevirtual

Reimplemented from gio::Seekable.

Definition at line 49 of file gio_outputstream.hxx.

void SAL_CALL gio::OutputStream::closeOutput ( )
overridevirtual

Definition at line 62 of file gio_outputstream.cxx.

References mpStream.

Referenced by ~OutputStream().

void SAL_CALL gio::OutputStream::flush ( )
overridevirtual

Definition at line 52 of file gio_outputstream.cxx.

References gio::convertToIOException(), and mpStream.

css::uno::Any gio::OutputStream::queryInterface ( const css::uno::Type &  type)
overridevirtual

Reimplemented from gio::Seekable.

Definition at line 68 of file gio_outputstream.cxx.

References gio::Seekable::queryInterface().

virtual void SAL_CALL gio::OutputStream::release ( )
throw (
)
inlineoverridevirtual

Reimplemented from gio::Seekable.

Definition at line 50 of file gio_outputstream.hxx.

void SAL_CALL gio::OutputStream::writeBytes ( const css::uno::Sequence< sal_Int8 > &  aData)
overridevirtual

Definition at line 42 of file gio_outputstream.cxx.

References gio::convertToIOException(), and mpStream.

Member Data Documentation

GFileOutputStream* const gio::OutputStream::mpStream
private

Definition at line 41 of file gio_outputstream.hxx.

Referenced by closeOutput(), flush(), OutputStream(), and writeBytes().


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