LibreOffice Module connectivity (master) 1
Public Member Functions | Protected Attributes | List of all members
connectivity::firebird::Clob Class Reference

#include <Clob.hxx>

Inheritance diagram for connectivity::firebird::Clob:
[legend]
Collaboration diagram for connectivity::firebird::Clob:
[legend]

Public Member Functions

 Clob (isc_db_handle *pDatabaseHandle, isc_tr_handle *pTransactionHandle, ISC_QUAD const &aBlobID)
 
virtual sal_Int64 SAL_CALL length () override
 
virtual OUString SAL_CALL getSubString (sal_Int64 aPosition, sal_Int32 aLength) override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream () override
 
virtual sal_Int64 SAL_CALL position (const OUString &rPattern, sal_Int32 aStart) override
 
virtual sal_Int64 SAL_CALL positionOfClob (const ::css::uno::Reference< ::css::sdbc::XClob > &rPattern, sal_Int64 aStart) override
 
virtual void SAL_CALL disposing () override
 

Protected Attributes

::osl::Mutex m_aMutex
 
rtl::Reference< connectivity::firebird::Blobm_aBlob
 
sal_Int64 m_nCharCount
 

Detailed Description

Definition at line 25 of file drivers/firebird/Clob.hxx.

Constructor & Destructor Documentation

◆ Clob()

Clob::Clob ( isc_db_handle *  pDatabaseHandle,
isc_tr_handle *  pTransactionHandle,
ISC_QUAD const &  aBlobID 
)

Definition at line 27 of file firebird/Clob.cxx.

References m_aMutex.

Member Function Documentation

◆ disposing()

void SAL_CALL Clob::disposing ( )
overridevirtual

Definition at line 36 of file firebird/Clob.cxx.

References m_aBlob.

◆ getCharacterStream()

uno::Reference< XInputStream > SAL_CALL Clob::getCharacterStream ( )
overridevirtual

Definition at line 119 of file firebird/Clob.cxx.

References connectivity::firebird::checkDisposed(), m_aBlob, and m_aMutex.

◆ getSubString()

OUString SAL_CALL Clob::getSubString ( sal_Int64  aPosition,
sal_Int32  aLength 
)
overridevirtual

Definition at line 69 of file firebird/Clob.cxx.

References connectivity::firebird::checkDisposed(), m_aBlob, m_aMutex, and nLength.

◆ length()

sal_Int64 SAL_CALL Clob::length ( )
overridevirtual

◆ position()

sal_Int64 SAL_CALL Clob::position ( const OUString &  rPattern,
sal_Int32  aStart 
)
overridevirtual

◆ positionOfClob()

sal_Int64 SAL_CALL Clob::positionOfClob ( const ::css::uno::Reference< ::css::sdbc::XClob > &  rPattern,
sal_Int64  aStart 
)
overridevirtual

Member Data Documentation

◆ m_aBlob

rtl::Reference<connectivity::firebird::Blob> connectivity::firebird::Clob::m_aBlob
protected

Definition at line 36 of file drivers/firebird/Clob.hxx.

Referenced by disposing(), getCharacterStream(), getSubString(), and length().

◆ m_aMutex

::osl::Mutex connectivity::firebird::Clob::m_aMutex
protected

Definition at line 29 of file drivers/firebird/Clob.hxx.

Referenced by getCharacterStream(), getSubString(), and length().

◆ m_nCharCount

sal_Int64 connectivity::firebird::Clob::m_nCharCount
protected

Definition at line 38 of file drivers/firebird/Clob.hxx.

Referenced by length().


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