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

#include <gio_seekable.hxx>

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

Public Member Functions

 Seekable (GSeekable *pStream)
 
virtual ~Seekable () 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 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

GSeekable *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 35 of file gio_seekable.hxx.

Constructor & Destructor Documentation

gio::Seekable::Seekable ( GSeekable *  pStream)
explicit

Definition at line 32 of file gio_seekable.cxx.

References mpStream.

gio::Seekable::~Seekable ( )
overridevirtual

Definition at line 38 of file gio_seekable.cxx.

Member Function Documentation

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

Reimplemented from cppu::OWeakObject.

Reimplemented in gio::OutputStream.

Definition at line 47 of file gio_seekable.hxx.

sal_Int64 SAL_CALL gio::Seekable::getLength ( )
overridevirtual

Definition at line 78 of file gio_seekable.cxx.

References gio::convertToIOException(), getPosition(), mpStream, and seek().

sal_Int64 SAL_CALL gio::Seekable::getPosition ( )
overridevirtual

Definition at line 70 of file gio_seekable.cxx.

References mpStream.

Referenced by getLength().

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

Reimplemented from cppu::OWeakObject.

Reimplemented in gio::OutputStream.

Definition at line 113 of file gio_seekable.cxx.

References mpStream, and cppu::queryInterface().

Referenced by gio::OutputStream::queryInterface().

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

Reimplemented from cppu::OWeakObject.

Reimplemented in gio::OutputStream.

Definition at line 48 of file gio_seekable.hxx.

void SAL_CALL gio::Seekable::seek ( sal_Int64  location)
overridevirtual

Definition at line 56 of file gio_seekable.cxx.

References gio::convertToIOException(), and mpStream.

Referenced by getLength().

void SAL_CALL gio::Seekable::truncate ( )
overridevirtual

Definition at line 42 of file gio_seekable.cxx.

References gio::convertToIOException(), and mpStream.

Member Data Documentation

GSeekable* const gio::Seekable::mpStream
private

Definition at line 40 of file gio_seekable.hxx.

Referenced by getLength(), getPosition(), queryInterface(), seek(), Seekable(), and truncate().


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