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

#include <NeonInputStream.hxx>

Inheritance diagram for webdav_ucp::NeonInputStream:
[legend]
Collaboration diagram for webdav_ucp::NeonInputStream:
[legend]

Public Member Functions

 NeonInputStream ()
 
virtual ~NeonInputStream () 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 43 of file NeonInputStream.hxx.

Constructor & Destructor Documentation

NeonInputStream::NeonInputStream ( )

Definition at line 41 of file NeonInputStream.cxx.

NeonInputStream::~NeonInputStream ( )
overridevirtual

Definition at line 47 of file NeonInputStream.cxx.

Member Function Documentation

virtual void SAL_CALL webdav_ucp::NeonInputStream::acquire ( )
throw (
)
inlineoverridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 62 of file NeonInputStream.hxx.

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

Definition at line 52 of file NeonInputStream.cxx.

References mInputBuffer, and mLen.

sal_Int32 SAL_CALL NeonInputStream::available ( )
overridevirtual

Definition at line 106 of file NeonInputStream.cxx.

References mLen, mPos, and SAL_MAX_INT32.

void SAL_CALL NeonInputStream::closeInput ( )
overridevirtual

Definition at line 111 of file NeonInputStream.cxx.

sal_Int64 SAL_CALL NeonInputStream::getLength ( )
overridevirtual

Definition at line 131 of file NeonInputStream.cxx.

References mLen.

sal_Int64 SAL_CALL NeonInputStream::getPosition ( )
overridevirtual

Definition at line 126 of file NeonInputStream.cxx.

References mPos.

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

Reimplemented from cppu::OWeakObject.

Definition at line 59 of file NeonInputStream.cxx.

References Any.

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

Definition at line 68 of file NeonInputStream.cxx.

References mInputBuffer, mLen, and mPos.

Referenced by readSomeBytes().

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

Definition at line 90 of file NeonInputStream.cxx.

References readBytes().

virtual void SAL_CALL webdav_ucp::NeonInputStream::release ( )
throw (
)
inlineoverridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 66 of file NeonInputStream.hxx.

void SAL_CALL NeonInputStream::seek ( sal_Int64  location)
overridevirtual

Definition at line 115 of file NeonInputStream.cxx.

References mLen, and mPos.

void SAL_CALL NeonInputStream::skipBytes ( sal_Int32  nBytesToSkip)
overridevirtual

Definition at line 98 of file NeonInputStream.cxx.

References mLen, and mPos.

Member Data Documentation

css::uno::Sequence< sal_Int8 > webdav_ucp::NeonInputStream::mInputBuffer
private

Definition at line 48 of file NeonInputStream.hxx.

Referenced by AddToStream(), and readBytes().

sal_Int64 webdav_ucp::NeonInputStream::mLen
private

Definition at line 49 of file NeonInputStream.hxx.

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

sal_Int64 webdav_ucp::NeonInputStream::mPos
private

Definition at line 50 of file NeonInputStream.hxx.

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


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