LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
dbaccess::OResultColumn Class Reference

#include <resultcolumn.hxx>

Inheritance diagram for dbaccess::OResultColumn:
[legend]
Collaboration diagram for dbaccess::OResultColumn:
[legend]

Public Member Functions

 OResultColumn (const css::uno::Reference< css::sdbc::XResultSetMetaData > &_xMetaData, sal_Int32 _nPos, const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_rxDBMeta)
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL disposing () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
- Public Member Functions inherited from connectivity::OColumn
 OColumn ()
 
 OColumn (OUString _aTableName, const OUString &_aColumnName, sal_Int32 _aNullable, sal_Int32 _aColumnDisplaySize, sal_Int32 _aPrecision, sal_Int32 _aScale, sal_Int32 _aColumnType)
 
bool isAutoIncrement () const
 
bool isCaseSensitive () const
 
bool isSearchable () const
 
bool isCurrency () const
 
bool isSigned () const
 
bool isReadOnly () const
 
bool isWritable () const
 
bool isDefinitelyWritable () const
 
sal_Int32 isNullable () const
 
sal_Int32 getColumnDisplaySize () const
 
sal_Int32 getPrecision () const
 
sal_Int32 getScale () const
 
sal_Int32 getColumnType () const
 
const OUString & getColumnLabel () const
 
const OUString & getColumnName () const
 
const OUString & getTableName () const
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual ~OResultColumn () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 

Protected Attributes

css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData
 
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xDBMetaData
 
sal_Int32 m_nPos
 
css::uno::Any m_aIsRowVersion
 
mutable ::std::optional< sal_Boolm_isSigned
 
mutable ::std::optional< sal_Boolm_isCurrency
 
mutable ::std::optional< sal_Boolm_bSearchable
 
mutable ::std::optional< sal_Boolm_isCaseSensitive
 
mutable ::std::optional< sal_Boolm_isReadOnly
 
mutable ::std::optional< sal_Boolm_isWritable
 
mutable ::std::optional< sal_Boolm_isDefinitelyWritable
 
mutable ::std::optional< sal_Boolm_isAutoIncrement
 
mutable ::std::optional< sal_Int32 > m_isNullable
 
mutable ::std::optional< OUString > m_sColumnLabel
 
mutable ::std::optional< sal_Int32 > m_nColumnDisplaySize
 
mutable ::std::optional< sal_Int32 > m_nColumnType
 
mutable ::std::optional< sal_Int32 > m_nPrecision
 
mutable ::std::optional< sal_Int32 > m_nScale
 

Private Member Functions

void impl_determineIsRowVersion_nothrow ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn >
static std::mutextheMutex ()
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 32 of file resultcolumn.hxx.

Constructor & Destructor Documentation

◆ ~OResultColumn()

OResultColumn::~OResultColumn ( )
overrideprotectedvirtual

Definition at line 95 of file resultcolumn.cxx.

◆ OResultColumn()

OResultColumn::OResultColumn ( const css::uno::Reference< css::sdbc::XResultSetMetaData > &  _xMetaData,
sal_Int32  _nPos,
const css::uno::Reference< css::sdbc::XDatabaseMetaData > &  _rxDBMeta 
)

Definition at line 41 of file resultcolumn.cxx.

References _nPos, and m_nPos.

Member Function Documentation

◆ createArrayHelper()

cppu::IPropertyArrayHelper * OResultColumn::createArrayHelper ( ) const
overridevirtual

◆ disposing()

void OResultColumn::disposing ( )
overridevirtual

Reimplemented in dbaccess::ODataColumn.

Definition at line 117 of file resultcolumn.cxx.

References m_aMutex, and m_xMetaData.

Referenced by dbaccess::ODataColumn::disposing().

◆ getFastPropertyValue()

void OResultColumn::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overridevirtual

◆ getImplementationId()

Sequence< sal_Int8 > OResultColumn::getImplementationId ( )
overridevirtual

Reimplemented in dbaccess::ORowSetDataColumn, and dbaccess::ODataColumn.

Definition at line 100 of file resultcolumn.cxx.

◆ getImplementationName()

OUString OResultColumn::getImplementationName ( )
overridevirtual

Reimplemented in dbaccess::ODataColumn.

Definition at line 106 of file resultcolumn.cxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper & OResultColumn::getInfoHelper ( )
override

◆ getSupportedServiceNames()

Sequence< OUString > OResultColumn::getSupportedServiceNames ( )
overridevirtual

Reimplemented in dbaccess::ODataColumn.

Definition at line 111 of file resultcolumn.cxx.

References SERVICE_SDB_RESULTCOLUMN, and SERVICE_SDBCX_COLUMN.

◆ impl_determineIsRowVersion_nothrow()

void OResultColumn::impl_determineIsRowVersion_nothrow ( )
private

Member Data Documentation

◆ m_aIsRowVersion

css::uno::Any dbaccess::OResultColumn::m_aIsRowVersion
protected

Definition at line 39 of file resultcolumn.hxx.

Referenced by getFastPropertyValue(), and impl_determineIsRowVersion_nothrow().

◆ m_bSearchable

mutable ::std::optional< sal_Bool > dbaccess::OResultColumn::m_bSearchable
protected

Definition at line 42 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_isAutoIncrement

mutable ::std::optional< sal_Bool > dbaccess::OResultColumn::m_isAutoIncrement
protected

Definition at line 47 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_isCaseSensitive

mutable ::std::optional< sal_Bool > dbaccess::OResultColumn::m_isCaseSensitive
protected

Definition at line 43 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_isCurrency

mutable ::std::optional< sal_Bool > dbaccess::OResultColumn::m_isCurrency
protected

Definition at line 41 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_isDefinitelyWritable

mutable ::std::optional< sal_Bool > dbaccess::OResultColumn::m_isDefinitelyWritable
protected

Definition at line 46 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_isNullable

mutable ::std::optional< sal_Int32 > dbaccess::OResultColumn::m_isNullable
protected

Definition at line 48 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_isReadOnly

mutable ::std::optional< sal_Bool > dbaccess::OResultColumn::m_isReadOnly
protected

◆ m_isSigned

mutable ::std::optional< sal_Bool > dbaccess::OResultColumn::m_isSigned
protected

Definition at line 40 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_isWritable

mutable ::std::optional< sal_Bool > dbaccess::OResultColumn::m_isWritable
protected

Definition at line 45 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_nColumnDisplaySize

mutable ::std::optional< sal_Int32 > dbaccess::OResultColumn::m_nColumnDisplaySize
protected

Definition at line 50 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_nColumnType

mutable ::std::optional< sal_Int32 > dbaccess::OResultColumn::m_nColumnType
protected

Definition at line 51 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_nPos

sal_Int32 dbaccess::OResultColumn::m_nPos
protected

Definition at line 38 of file resultcolumn.hxx.

Referenced by dbaccess::ORowSetDataColumn::fireValueChange(), dbaccess::ODataColumn::getArray(), dbaccess::ODataColumn::getBinaryStream(), dbaccess::ODataColumn::getBlob(), dbaccess::ODataColumn::getBoolean(), dbaccess::ODataColumn::getByte(), dbaccess::ODataColumn::getBytes(), dbaccess::ODataColumn::getCharacterStream(), dbaccess::ODataColumn::getClob(), dbaccess::ODataColumn::getDate(), dbaccess::ODataColumn::getDouble(), dbaccess::ORowSetDataColumn::getFastPropertyValue(), getFastPropertyValue(), dbaccess::ODataColumn::getFloat(), dbaccess::ODataColumn::getInt(), dbaccess::ODataColumn::getLong(), dbaccess::ODataColumn::getObject(), dbaccess::ODataColumn::getRef(), dbaccess::ODataColumn::getShort(), dbaccess::ODataColumn::getString(), dbaccess::ODataColumn::getTime(), dbaccess::ODataColumn::getTimestamp(), dbaccess::ODataColumn::updateBinaryStream(), dbaccess::ODataColumn::updateBoolean(), dbaccess::ODataColumn::updateByte(), dbaccess::ODataColumn::updateBytes(), dbaccess::ODataColumn::updateCharacterStream(), dbaccess::ODataColumn::updateDate(), dbaccess::ODataColumn::updateDouble(), dbaccess::ODataColumn::updateFloat(), dbaccess::ODataColumn::updateInt(), dbaccess::ODataColumn::updateLong(), dbaccess::ODataColumn::updateNull(), dbaccess::ODataColumn::updateNumericObject(), dbaccess::ODataColumn::updateObject(), dbaccess::ODataColumn::updateShort(), dbaccess::ODataColumn::updateString(), dbaccess::ODataColumn::updateTime(), and dbaccess::ODataColumn::updateTimestamp().

◆ m_nPrecision

mutable ::std::optional< sal_Int32 > dbaccess::OResultColumn::m_nPrecision
protected

Definition at line 52 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_nScale

mutable ::std::optional< sal_Int32 > dbaccess::OResultColumn::m_nScale
protected

Definition at line 53 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_sColumnLabel

mutable ::std::optional< OUString > dbaccess::OResultColumn::m_sColumnLabel
protected

Definition at line 49 of file resultcolumn.hxx.

Referenced by getFastPropertyValue().

◆ m_xDBMetaData

css::uno::Reference< css::sdbc::XDatabaseMetaData > dbaccess::OResultColumn::m_xDBMetaData
protected

Definition at line 37 of file resultcolumn.hxx.

Referenced by impl_determineIsRowVersion_nothrow().

◆ m_xMetaData

css::uno::Reference< css::sdbc::XResultSetMetaData > dbaccess::OResultColumn::m_xMetaData
protected

Definition at line 36 of file resultcolumn.hxx.

Referenced by disposing(), and getFastPropertyValue().


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