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

Implements a OutputStream working on an std::ostream. More...

#include <std_outputstream.hxx>

Inheritance diagram for cmis::StdOutputStream:
[legend]
Collaboration diagram for cmis::StdOutputStream:
[legend]

Public Member Functions

 StdOutputStream (boost::shared_ptr< std::ostream > const &pStream)
 
virtual ~StdOutputStream () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) 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 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

osl::Mutex m_aMutex
 
boost::shared_ptr< std::ostream > m_pStream
 

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

Implements a OutputStream working on an std::ostream.

Definition at line 25 of file std_outputstream.hxx.

Constructor & Destructor Documentation

cmis::StdOutputStream::StdOutputStream ( boost::shared_ptr< std::ostream > const &  pStream)

Definition at line 23 of file std_outputstream.cxx.

cmis::StdOutputStream::~StdOutputStream ( )
overridevirtual

Definition at line 28 of file std_outputstream.cxx.

References m_pStream.

Member Function Documentation

void SAL_CALL cmis::StdOutputStream::acquire ( )
throw (
)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 41 of file std_outputstream.cxx.

void SAL_CALL cmis::StdOutputStream::closeOutput ( )
overridevirtual

Definition at line 87 of file std_outputstream.cxx.

References m_aMutex, and m_pStream.

void SAL_CALL cmis::StdOutputStream::flush ( )
overridevirtual

Definition at line 69 of file std_outputstream.cxx.

References m_aMutex, m_pStream, and SAL_INFO.

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

Reimplemented from cppu::OWeakObject.

Definition at line 34 of file std_outputstream.cxx.

References uno::Any::hasValue().

void SAL_CALL cmis::StdOutputStream::release ( )
throw (
)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 46 of file std_outputstream.cxx.

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

Definition at line 51 of file std_outputstream.cxx.

References m_aMutex, m_pStream, and SAL_INFO.

Member Data Documentation

osl::Mutex cmis::StdOutputStream::m_aMutex
private

Definition at line 49 of file std_outputstream.hxx.

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

boost::shared_ptr< std::ostream > cmis::StdOutputStream::m_pStream
private

Definition at line 50 of file std_outputstream.hxx.

Referenced by closeOutput(), flush(), writeBytes(), and ~StdOutputStream().


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