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)
 
template<typename T >
getValue (sal_Int32 columnIndex)
 

Private Attributes

osl::Mutex m_aMutex
 
css::uno::Sequence< css::uno::Any > m_aValueMap
 
bool m_nWasNull
 
TaskManager *const m_pMyShell
 
css::uno::Reference< css::script::XTypeConverter > m_xTypeConverter
 

Detailed Description

Definition at line 31 of file filrow.hxx.

Constructor & Destructor Documentation

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

Definition at line 81 of file filrow.cxx.

XRow_impl::~XRow_impl ( )
overridevirtual

Definition at line 88 of file filrow.cxx.

Member Function Documentation

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

Definition at line 273 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

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

Definition at line 212 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

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

Definition at line 254 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

sal_Bool SAL_CALL XRow_impl::getBoolean ( sal_Int32  columnIndex)
overridevirtual

Definition at line 110 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

sal_Int8 SAL_CALL XRow_impl::getByte ( sal_Int32  columnIndex)
overridevirtual

Definition at line 120 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

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

Definition at line 175 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

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

Definition at line 222 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

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

Definition at line 263 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

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

Definition at line 184 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

double SAL_CALL XRow_impl::getDouble ( sal_Int32  columnIndex)
overridevirtual

Definition at line 166 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

float SAL_CALL XRow_impl::getFloat ( sal_Int32  columnIndex)
overridevirtual

Definition at line 157 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

sal_Int32 SAL_CALL XRow_impl::getInt ( sal_Int32  columnIndex)
overridevirtual

Definition at line 139 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

sal_Int64 SAL_CALL XRow_impl::getLong ( sal_Int32  columnIndex)
overridevirtual

Definition at line 148 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

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

Definition at line 245 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

sal_Int16 SAL_CALL XRow_impl::getShort ( sal_Int32  columnIndex)
overridevirtual

Definition at line 129 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

OUString SAL_CALL XRow_impl::getString ( sal_Int32  columnIndex)
overridevirtual

Definition at line 101 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

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

Definition at line 193 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

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

Definition at line 202 of file filrow.cxx.

References isIndexOutOfBounds(), and THROW_WHERE.

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

Definition at line 288 of file filrow.cxx.

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

bool XRow_impl::isIndexOutOfBounds ( sal_Int32  nIndex)
private
sal_Bool SAL_CALL XRow_impl::wasNull ( )
overridevirtual

Definition at line 94 of file filrow.cxx.

References m_nWasNull.

Member Data Documentation

osl::Mutex fileaccess::XRow_impl::m_aMutex
private

Definition at line 102 of file filrow.hxx.

Referenced by getObject(), and getValue().

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

Definition at line 103 of file filrow.hxx.

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

bool fileaccess::XRow_impl::m_nWasNull
private

Definition at line 104 of file filrow.hxx.

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

TaskManager* const fileaccess::XRow_impl::m_pMyShell
private

Definition at line 105 of file filrow.hxx.

Referenced by getValue().

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

Definition at line 106 of file filrow.hxx.

Referenced by getValue().


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