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 () noexcept override
 
virtual void SAL_CALL release () noexcept 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::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Private Attributes

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

Constructor & Destructor Documentation

◆ Seekable()

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

Definition at line 32 of file gio_seekable.cxx.

References mpStream.

◆ ~Seekable()

gio::Seekable::~Seekable ( )
overridevirtual

Definition at line 38 of file gio_seekable.cxx.

Member Function Documentation

◆ acquire()

virtual void SAL_CALL gio::Seekable::acquire ( )
inlineoverridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Reimplemented in gio::OutputStream.

Definition at line 44 of file gio_seekable.hxx.

◆ getLength()

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

Definition at line 78 of file gio_seekable.cxx.

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

◆ getPosition()

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

Definition at line 70 of file gio_seekable.cxx.

References mpStream.

Referenced by getLength().

◆ queryInterface()

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 type.

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

◆ release()

virtual void SAL_CALL gio::Seekable::release ( )
inlineoverridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Reimplemented in gio::OutputStream.

Definition at line 45 of file gio_seekable.hxx.

◆ seek()

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().

◆ truncate()

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

Definition at line 42 of file gio_seekable.cxx.

References gio::convertToIOException(), and mpStream.

Member Data Documentation

◆ mpStream

GSeekable* gio::Seekable::mpStream
private

Definition at line 36 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: