LibreOffice Module package (master) 1
Public Member Functions | Protected Attributes | List of all members
OInputCompStream Class Reference

#include <ocompinstream.hxx>

Inheritance diagram for OInputCompStream:
[legend]
Collaboration diagram for OInputCompStream:
[legend]

Public Member Functions

 OInputCompStream (OWriteStream_Impl &pImpl, css::uno::Reference< css::io::XInputStream > xStream, const css::uno::Sequence< css::beans::PropertyValue > &aProps, sal_Int32 nStorageType)
 
 OInputCompStream (css::uno::Reference< css::io::XInputStream > xStream, const css::uno::Sequence< css::beans::PropertyValue > &aProps, sal_Int32 nStorageType)
 
virtual ~OInputCompStream () override
 
void InternalDispose ()
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual sal_Int32 SAL_CALL readBytes (css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nBytesToRead) override
 
virtual sal_Int32 SAL_CALL readSomeBytes (css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nMaxBytesToRead) override
 
virtual void SAL_CALL skipBytes (sal_Int32 nBytesToSkip) override
 
virtual sal_Int32 SAL_CALL available () override
 
virtual void SAL_CALL closeInput () override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getInputStream () override
 
virtual css::uno::Reference< css::io::XOutputStream > SAL_CALL getOutputStream () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual sal_Bool SAL_CALL hasByID (const OUString &sID) override
 
virtual OUString SAL_CALL getTargetByID (const OUString &sID) override
 
virtual OUString SAL_CALL getTypeByID (const OUString &sID) override
 
virtual css::uno::Sequence< css::beans::StringPair > SAL_CALL getRelationshipByID (const OUString &sID) override
 
virtual css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > SAL_CALL getRelationshipsByType (const OUString &sType) override
 
virtual css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > SAL_CALL getAllRelationships () override
 
virtual void SAL_CALL insertRelationshipByID (const OUString &sID, const css::uno::Sequence< css::beans::StringPair > &aEntry, sal_Bool bReplace) override
 
virtual void SAL_CALL removeRelationshipByID (const OUString &sID) override
 
virtual void SAL_CALL insertRelationships (const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > &aEntries, sal_Bool bReplace) override
 
virtual void SAL_CALL clearRelationships () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 

Protected Attributes

OWriteStream_Implm_pImpl
 
rtl::Reference< comphelper::RefCountedMutexm_xMutex
 
css::uno::Reference< css::io::XInputStream > m_xStream
 
std::unique_ptr<::comphelper::OInterfaceContainerHelper3< css::lang::XEventListener > > m_pInterfaceContainer
 
css::uno::Sequence< css::beans::PropertyValue > m_aProperties
 
bool m_bDisposed
 
sal_Int32 m_nStorageType
 

Detailed Description

Definition at line 37 of file ocompinstream.hxx.

Constructor & Destructor Documentation

◆ OInputCompStream() [1/2]

OInputCompStream::OInputCompStream ( OWriteStream_Impl pImpl,
css::uno::Reference< css::io::XInputStream >  xStream,
const css::uno::Sequence< css::beans::PropertyValue > &  aProps,
sal_Int32  nStorageType 
)

◆ OInputCompStream() [2/2]

OInputCompStream::OInputCompStream ( css::uno::Reference< css::io::XInputStream >  xStream,
const css::uno::Sequence< css::beans::PropertyValue > &  aProps,
sal_Int32  nStorageType 
)

◆ ~OInputCompStream()

OInputCompStream::~OInputCompStream ( )
overridevirtual

Definition at line 65 of file ocompinstream.cxx.

References dispose(), m_bDisposed, m_refCount, and m_xMutex.

Member Function Documentation

◆ addEventListener()

void SAL_CALL OInputCompStream::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 231 of file ocompinstream.cxx.

References m_bDisposed, m_pInterfaceContainer, m_xMutex, and SAL_INFO.

◆ addPropertyChangeListener()

void SAL_CALL OInputCompStream::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 537 of file ocompinstream.cxx.

References m_bDisposed, m_xMutex, and SAL_INFO.

◆ addVetoableChangeListener()

void SAL_CALL OInputCompStream::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 567 of file ocompinstream.cxx.

References m_bDisposed, m_xMutex, and SAL_INFO.

◆ available()

sal_Int32 SAL_CALL OInputCompStream::available ( )
overridevirtual

Definition at line 141 of file ocompinstream.cxx.

References m_bDisposed, m_xMutex, m_xStream, and SAL_INFO.

◆ clearRelationships()

void SAL_CALL OInputCompStream::clearRelationships ( )
overridevirtual

Definition at line 461 of file ocompinstream.cxx.

References m_bDisposed, m_nStorageType, m_xMutex, and SAL_INFO.

◆ closeInput()

void SAL_CALL OInputCompStream::closeInput ( )
overridevirtual

Definition at line 154 of file ocompinstream.cxx.

References dispose().

◆ dispose()

void SAL_CALL OInputCompStream::dispose ( void  )
overridevirtual

◆ getAllRelationships()

uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::getAllRelationships ( )
overridevirtual

◆ getInputStream()

uno::Reference< io::XInputStream > SAL_CALL OInputCompStream::getInputStream ( )
overridevirtual

Definition at line 159 of file ocompinstream.cxx.

References m_bDisposed, m_xMutex, and SAL_INFO.

◆ getOutputStream()

uno::Reference< io::XOutputStream > SAL_CALL OInputCompStream::getOutputStream ( )
overridevirtual

Definition at line 171 of file ocompinstream.cxx.

References m_bDisposed, m_xMutex, and SAL_INFO.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL OInputCompStream::getPropertySetInfo ( )
overridevirtual

Definition at line 477 of file ocompinstream.cxx.

References m_bDisposed, m_xMutex, and SAL_INFO.

◆ getPropertyValue()

uno::Any SAL_CALL OInputCompStream::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 509 of file ocompinstream.cxx.

References m_aProperties, m_bDisposed, m_xMutex, and SAL_INFO.

◆ getRelationshipByID()

uno::Sequence< beans::StringPair > SAL_CALL OInputCompStream::getRelationshipByID ( const OUString &  sID)
overridevirtual

Definition at line 336 of file ocompinstream.cxx.

References aSeq, getAllRelationships(), m_bDisposed, m_nStorageType, m_xMutex, and SAL_INFO.

Referenced by getTargetByID(), getTypeByID(), and hasByID().

◆ getRelationshipsByType()

uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::getRelationshipsByType ( const OUString &  sType)
overridevirtual

◆ getTargetByID()

OUString SAL_CALL OInputCompStream::getTargetByID ( const OUString &  sID)
overridevirtual

Definition at line 294 of file ocompinstream.cxx.

References aSeq, getRelationshipByID(), m_bDisposed, m_nStorageType, m_xMutex, and SAL_INFO.

◆ getTypeByID()

OUString SAL_CALL OInputCompStream::getTypeByID ( const OUString &  sID)
overridevirtual

Definition at line 315 of file ocompinstream.cxx.

References aSeq, getRelationshipByID(), m_bDisposed, m_nStorageType, m_xMutex, and SAL_INFO.

◆ hasByID()

sal_Bool SAL_CALL OInputCompStream::hasByID ( const OUString &  sID)
overridevirtual

Definition at line 259 of file ocompinstream.cxx.

References getRelationshipByID(), m_bDisposed, m_nStorageType, m_xMutex, and SAL_INFO.

◆ insertRelationshipByID()

void SAL_CALL OInputCompStream::insertRelationshipByID ( const OUString &  sID,
const css::uno::Sequence< css::beans::StringPair > &  aEntry,
sal_Bool  bReplace 
)
overridevirtual

Definition at line 413 of file ocompinstream.cxx.

References m_bDisposed, m_nStorageType, m_xMutex, and SAL_INFO.

◆ insertRelationships()

void SAL_CALL OInputCompStream::insertRelationships ( const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > &  aEntries,
sal_Bool  bReplace 
)
overridevirtual

Definition at line 445 of file ocompinstream.cxx.

References m_bDisposed, m_nStorageType, m_xMutex, and SAL_INFO.

◆ InternalDispose()

void OInputCompStream::InternalDispose ( )

Definition at line 183 of file ocompinstream.cxx.

References m_bDisposed, m_pImpl, m_pInterfaceContainer, m_xMutex, and m_xStream.

◆ queryInterface()

uno::Any SAL_CALL OInputCompStream::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented in OInputSeekStream.

Definition at line 76 of file ocompinstream.cxx.

References uno::Any::hasValue(), and m_nStorageType.

Referenced by OInputSeekStream::queryInterface().

◆ readBytes()

sal_Int32 SAL_CALL OInputCompStream::readBytes ( css::uno::Sequence< sal_Int8 > &  aData,
sal_Int32  nBytesToRead 
)
overridevirtual

Definition at line 103 of file ocompinstream.cxx.

References aData, m_bDisposed, m_xMutex, m_xStream, and SAL_INFO.

◆ readSomeBytes()

sal_Int32 SAL_CALL OInputCompStream::readSomeBytes ( css::uno::Sequence< sal_Int8 > &  aData,
sal_Int32  nMaxBytesToRead 
)
overridevirtual

Definition at line 115 of file ocompinstream.cxx.

References aData, m_bDisposed, m_xMutex, m_xStream, and SAL_INFO.

◆ removeEventListener()

void SAL_CALL OInputCompStream::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 246 of file ocompinstream.cxx.

References m_bDisposed, m_pInterfaceContainer, m_xMutex, and SAL_INFO.

◆ removePropertyChangeListener()

void SAL_CALL OInputCompStream::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 552 of file ocompinstream.cxx.

References m_bDisposed, m_xMutex, and SAL_INFO.

◆ removeRelationshipByID()

void SAL_CALL OInputCompStream::removeRelationshipByID ( const OUString &  sID)
overridevirtual

Definition at line 429 of file ocompinstream.cxx.

References m_bDisposed, m_nStorageType, m_xMutex, and SAL_INFO.

◆ removeVetoableChangeListener()

void SAL_CALL OInputCompStream::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 582 of file ocompinstream.cxx.

References m_bDisposed, m_xMutex, and SAL_INFO.

◆ setPropertyValue()

void SAL_CALL OInputCompStream::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 491 of file ocompinstream.cxx.

References m_aProperties, m_bDisposed, m_xMutex, and SAL_INFO.

◆ skipBytes()

void SAL_CALL OInputCompStream::skipBytes ( sal_Int32  nBytesToSkip)
overridevirtual

Definition at line 128 of file ocompinstream.cxx.

References m_bDisposed, m_xMutex, m_xStream, and SAL_INFO.

Member Data Documentation

◆ m_aProperties

css::uno::Sequence< css::beans::PropertyValue > OInputCompStream::m_aProperties
protected

Definition at line 47 of file ocompinstream.hxx.

Referenced by getAllRelationships(), getPropertyValue(), and setPropertyValue().

◆ m_bDisposed

bool OInputCompStream::m_bDisposed
protected

◆ m_nStorageType

sal_Int32 OInputCompStream::m_nStorageType
protected

◆ m_pImpl

OWriteStream_Impl* OInputCompStream::m_pImpl
protected

Definition at line 43 of file ocompinstream.hxx.

Referenced by dispose(), and InternalDispose().

◆ m_pInterfaceContainer

std::unique_ptr<::comphelper::OInterfaceContainerHelper3<css::lang::XEventListener> > OInputCompStream::m_pInterfaceContainer
protected

Definition at line 46 of file ocompinstream.hxx.

Referenced by addEventListener(), dispose(), InternalDispose(), and removeEventListener().

◆ m_xMutex

rtl::Reference<comphelper::RefCountedMutex> OInputCompStream::m_xMutex
protected

◆ m_xStream

css::uno::Reference< css::io::XInputStream > OInputCompStream::m_xStream
protected

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