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

#include <filrow.hxx>

Inheritance diagram for fileaccess::XRow_impl:
[legend]
Collaboration diagram for fileaccess::XRow_impl:
[legend]

Public Member Functions

 XRow_impl (TaskManager *pShell, const css::uno::Sequence< css::uno::Any > &aValueMap)
 
virtual ~XRow_impl () override
 
virtual sal_Bool SAL_CALL wasNull () override
 
virtual OUString SAL_CALL getString (sal_Int32 columnIndex) override
 
virtual sal_Bool SAL_CALL getBoolean (sal_Int32 columnIndex) override
 
virtual sal_Int8 SAL_CALL getByte (sal_Int32 columnIndex) override
 
virtual sal_Int16 SAL_CALL getShort (sal_Int32 columnIndex) override
 
virtual sal_Int32 SAL_CALL getInt (sal_Int32 columnIndex) override
 
virtual sal_Int64 SAL_CALL getLong (sal_Int32 columnIndex) override
 
virtual float SAL_CALL getFloat (sal_Int32 columnIndex) override
 
virtual double SAL_CALL getDouble (sal_Int32 columnIndex) override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getBytes (sal_Int32 columnIndex) override
 
virtual css::util::Date SAL_CALL getDate (sal_Int32 columnIndex) override
 
virtual css::util::Time SAL_CALL getTime (sal_Int32 columnIndex) override
 
virtual css::util::DateTime SAL_CALL getTimestamp (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream (sal_Int32 columnIndex) override
 
virtual css::uno::Any SAL_CALL getObject (sal_Int32 columnIndex, const css::uno::Reference< css::container::XNameAccess > &typeMap) override
 
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL getRef (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL getBlob (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL getClob (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray (sal_Int32 columnIndex) override
 

Private Member Functions

bool isIndexOutOfBounds (sal_Int32 nIndex) const
 
template<typename T >
getValue (sal_Int32 columnIndex)
 

Private Attributes

std::mutex m_aMutex
 
css::uno::Sequence< css::uno::Any > m_aValueMap
 
bool m_nWasNull
 
TaskManagerm_pMyShell
 
css::uno::Reference< css::script::XTypeConverter > m_xTypeConverter
 

Detailed Description

Definition at line 30 of file filrow.hxx.

Constructor & Destructor Documentation

◆ XRow_impl()

XRow_impl::XRow_impl ( TaskManager pShell,
const css::uno::Sequence< css::uno::Any > &  aValueMap 
)

Definition at line 78 of file filrow.cxx.

◆ ~XRow_impl()

XRow_impl::~XRow_impl ( )
overridevirtual

Definition at line 85 of file filrow.cxx.

Member Function Documentation

◆ getArray()

uno::Reference< sdbc::XArray > SAL_CALL XRow_impl::getArray ( sal_Int32  columnIndex)
overridevirtual

Definition at line 270 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getBinaryStream()

uno::Reference< io::XInputStream > SAL_CALL XRow_impl::getBinaryStream ( sal_Int32  columnIndex)
overridevirtual

Definition at line 209 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getBlob()

uno::Reference< sdbc::XBlob > SAL_CALL XRow_impl::getBlob ( sal_Int32  columnIndex)
overridevirtual

Definition at line 251 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getBoolean()

sal_Bool SAL_CALL XRow_impl::getBoolean ( sal_Int32  columnIndex)
overridevirtual

Definition at line 107 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getByte()

sal_Int8 SAL_CALL XRow_impl::getByte ( sal_Int32  columnIndex)
overridevirtual

Definition at line 117 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getBytes()

uno::Sequence< sal_Int8 > SAL_CALL XRow_impl::getBytes ( sal_Int32  columnIndex)
overridevirtual

Definition at line 172 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getCharacterStream()

uno::Reference< io::XInputStream > SAL_CALL XRow_impl::getCharacterStream ( sal_Int32  columnIndex)
overridevirtual

Definition at line 219 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getClob()

uno::Reference< sdbc::XClob > SAL_CALL XRow_impl::getClob ( sal_Int32  columnIndex)
overridevirtual

Definition at line 260 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getDate()

util::Date SAL_CALL XRow_impl::getDate ( sal_Int32  columnIndex)
overridevirtual

Definition at line 181 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getDouble()

double SAL_CALL XRow_impl::getDouble ( sal_Int32  columnIndex)
overridevirtual

Definition at line 163 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getFloat()

float SAL_CALL XRow_impl::getFloat ( sal_Int32  columnIndex)
overridevirtual

Definition at line 154 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getInt()

sal_Int32 SAL_CALL XRow_impl::getInt ( sal_Int32  columnIndex)
overridevirtual

Definition at line 136 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getLong()

sal_Int64 SAL_CALL XRow_impl::getLong ( sal_Int32  columnIndex)
overridevirtual

Definition at line 145 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getObject()

uno::Any SAL_CALL XRow_impl::getObject ( sal_Int32  columnIndex,
const css::uno::Reference< css::container::XNameAccess > &  typeMap 
)
overridevirtual

Definition at line 229 of file filrow.cxx.

References isIndexOutOfBounds(), m_aMutex, m_aValueMap, m_nWasNull, THROW_WHERE, and Value.

◆ getRef()

uno::Reference< sdbc::XRef > SAL_CALL XRow_impl::getRef ( sal_Int32  columnIndex)
overridevirtual

Definition at line 242 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getShort()

sal_Int16 SAL_CALL XRow_impl::getShort ( sal_Int32  columnIndex)
overridevirtual

Definition at line 126 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getString()

OUString SAL_CALL XRow_impl::getString ( sal_Int32  columnIndex)
overridevirtual

Definition at line 98 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getTime()

util::Time SAL_CALL XRow_impl::getTime ( sal_Int32  columnIndex)
overridevirtual

Definition at line 190 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getTimestamp()

util::DateTime SAL_CALL XRow_impl::getTimestamp ( sal_Int32  columnIndex)
overridevirtual

Definition at line 199 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

◆ getValue()

template<typename T >
T XRow_impl::getValue ( sal_Int32  columnIndex)
private

Definition at line 285 of file filrow.cxx.

References m_aMutex, m_aValueMap, m_nWasNull, m_pMyShell, and m_xTypeConverter.

◆ isIndexOutOfBounds()

bool XRow_impl::isIndexOutOfBounds ( sal_Int32  nIndex) const
private

◆ wasNull()

sal_Bool SAL_CALL XRow_impl::wasNull ( )
overridevirtual

Definition at line 91 of file filrow.cxx.

References m_nWasNull.

Member Data Documentation

◆ m_aMutex

std::mutex fileaccess::XRow_impl::m_aMutex
private

Definition at line 101 of file filrow.hxx.

Referenced by getObject(), and getValue().

◆ m_aValueMap

css::uno::Sequence< css::uno::Any > fileaccess::XRow_impl::m_aValueMap
private

Definition at line 102 of file filrow.hxx.

Referenced by getObject(), getValue(), and isIndexOutOfBounds().

◆ m_nWasNull

bool fileaccess::XRow_impl::m_nWasNull
private

Definition at line 103 of file filrow.hxx.

Referenced by getObject(), getValue(), and wasNull().

◆ m_pMyShell

TaskManager* fileaccess::XRow_impl::m_pMyShell
private

Definition at line 104 of file filrow.hxx.

Referenced by getValue().

◆ m_xTypeConverter

css::uno::Reference< css::script::XTypeConverter > fileaccess::XRow_impl::m_xTypeConverter
private

Definition at line 105 of file filrow.hxx.

Referenced by getValue().


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