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

#include <SerfInputStream.hxx>

Inheritance diagram for http_dav_ucp::SerfInputStream:
[legend]
Collaboration diagram for http_dav_ucp::SerfInputStream:
[legend]

Public Member Functions

 SerfInputStream ()
 
virtual ~SerfInputStream () override
 
void AddToStream (const char *inBuf, sal_Int32 inLen)
 
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 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 void SAL_CALL seek (sal_Int64 location) override
 
virtual sal_Int64 SAL_CALL getPosition () override
 
virtual sal_Int64 SAL_CALL getLength () 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

css::uno::Sequence< sal_Int8mInputBuffer
 
sal_Int64 mLen
 
sal_Int64 mPos
 

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 39 of file SerfInputStream.hxx.

Constructor & Destructor Documentation

SerfInputStream::SerfInputStream ( )

Definition at line 35 of file SerfInputStream.cxx.

SerfInputStream::~SerfInputStream ( )
overridevirtual

Definition at line 44 of file SerfInputStream.cxx.

Member Function Documentation

virtual void SAL_CALL http_dav_ucp::SerfInputStream::acquire ( )
throw (
)
inlineoverridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 58 of file SerfInputStream.hxx.

void SerfInputStream::AddToStream ( const char *  inBuf,
sal_Int32  inLen 
)

Definition at line 52 of file SerfInputStream.cxx.

References mInputBuffer, and mLen.

sal_Int32 SAL_CALL SerfInputStream::available ( )
overridevirtual

Definition at line 121 of file SerfInputStream.cxx.

References mLen, mPos, and SAL_MAX_INT32.

void SAL_CALL SerfInputStream::closeInput ( )
overridevirtual

Definition at line 129 of file SerfInputStream.cxx.

sal_Int64 SAL_CALL SerfInputStream::getLength ( )
overridevirtual

Definition at line 154 of file SerfInputStream.cxx.

References mLen.

sal_Int64 SAL_CALL SerfInputStream::getPosition ( )
overridevirtual

Definition at line 146 of file SerfInputStream.cxx.

References mPos.

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

Reimplemented from cppu::OWeakObject.

Definition at line 62 of file SerfInputStream.cxx.

References Any.

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

Definition at line 74 of file SerfInputStream.cxx.

References mInputBuffer, mLen, and mPos.

Referenced by readSomeBytes().

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

Definition at line 99 of file SerfInputStream.cxx.

References readBytes().

virtual void SAL_CALL http_dav_ucp::SerfInputStream::release ( )
throw (
)
inlineoverridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 62 of file SerfInputStream.hxx.

void SAL_CALL SerfInputStream::seek ( sal_Int64  location)
overridevirtual

Definition at line 136 of file SerfInputStream.cxx.

References mLen, and mPos.

void SAL_CALL SerfInputStream::skipBytes ( sal_Int32  nBytesToSkip)
overridevirtual

Definition at line 110 of file SerfInputStream.cxx.

References mLen, and mPos.

Member Data Documentation

css::uno::Sequence< sal_Int8 > http_dav_ucp::SerfInputStream::mInputBuffer
private

Definition at line 44 of file SerfInputStream.hxx.

Referenced by AddToStream(), and readBytes().

sal_Int64 http_dav_ucp::SerfInputStream::mLen
private

Definition at line 45 of file SerfInputStream.hxx.

Referenced by AddToStream(), available(), getLength(), readBytes(), seek(), and skipBytes().

sal_Int64 http_dav_ucp::SerfInputStream::mPos
private

Definition at line 46 of file SerfInputStream.hxx.

Referenced by available(), getPosition(), readBytes(), seek(), and skipBytes().


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