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

#include <CRowSetDataColumn.hxx>

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

Public Member Functions

 ORowSetDataColumn (const css::uno::Reference< css::sdbc::XResultSetMetaData > &_xMetaData, const css::uno::Reference< css::sdbc::XRow > &_xRow, const css::uno::Reference< css::sdbc::XRowUpdate > &_xRowUpdate, sal_Int32 _nPos, const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_rxDBMeta, OUString i_sDescription, OUString i_sLabel, std::function< const ::connectivity::ORowSetValue &(sal_Int32)> _getValue)
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
void fireValueChange (const ::connectivity::ORowSetValue &_rOldValue)
 
- Public Member Functions inherited from dbaccess::ODataColumn
 ODataColumn (const css::uno::Reference< css::sdbc::XResultSetMetaData > &_xMetaData, const css::uno::Reference< css::sdbc::XRow > &_xRow, const css::uno::Reference< css::sdbc::XRowUpdate > &_xRowUpdate, sal_Int32 _nPos, const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_rxDBMeta)
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL disposing () override
 
virtual sal_Bool SAL_CALL wasNull () override
 
virtual OUString SAL_CALL getString () override
 
virtual sal_Bool SAL_CALL getBoolean () override
 
virtual sal_Int8 SAL_CALL getByte () override
 
virtual sal_Int16 SAL_CALL getShort () override
 
virtual sal_Int32 SAL_CALL getInt () override
 
virtual sal_Int64 SAL_CALL getLong () override
 
virtual float SAL_CALL getFloat () override
 
virtual double SAL_CALL getDouble () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getBytes () override
 
virtual css::util::Date SAL_CALL getDate () override
 
virtual css::util::Time SAL_CALL getTime () override
 
virtual css::util::DateTime SAL_CALL getTimestamp () override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream () override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream () override
 
virtual css::uno::Any SAL_CALL getObject (const css::uno::Reference< css::container::XNameAccess > &typeMap) override
 
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL getRef () override
 
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL getBlob () override
 
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL getClob () override
 
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray () override
 
virtual void SAL_CALL updateNull () override
 
virtual void SAL_CALL updateBoolean (sal_Bool x) override
 
virtual void SAL_CALL updateByte (sal_Int8 x) override
 
virtual void SAL_CALL updateShort (sal_Int16 x) override
 
virtual void SAL_CALL updateInt (sal_Int32 x) override
 
virtual void SAL_CALL updateLong (sal_Int64 x) override
 
virtual void SAL_CALL updateFloat (float x) override
 
virtual void SAL_CALL updateDouble (double x) override
 
virtual void SAL_CALL updateString (const OUString &x) override
 
virtual void SAL_CALL updateBytes (const css::uno::Sequence< sal_Int8 > &x) override
 
virtual void SAL_CALL updateDate (const css::util::Date &x) override
 
virtual void SAL_CALL updateTime (const css::util::Time &x) override
 
virtual void SAL_CALL updateTimestamp (const css::util::DateTime &x) override
 
virtual void SAL_CALL updateBinaryStream (const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL updateCharacterStream (const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL updateObject (const css::uno::Any &x) override
 
virtual void SAL_CALL updateNumericObject (const css::uno::Any &x, sal_Int32 scale) override
 
- Public Member Functions inherited from dbaccess::OResultColumn
 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 ()
 
- Public Member Functions inherited from dbaccess::OColumnSettings
 OColumnSettings ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual ~ORowSetDataColumn () override
 
- Protected Member Functions inherited from dbaccess::ODataColumn
virtual ~ODataColumn () override
 
- Protected Member Functions inherited from dbaccess::OResultColumn
virtual ~OResultColumn () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 
- Protected Member Functions inherited from dbaccess::OColumnSettings
virtual ~OColumnSettings ()
 
void registerProperties (IPropertyContainer &_rPropertyContainer)
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const=0
 

Protected Attributes

const std::function< const ::connectivity::ORowSetValue &(sal_Int32)> m_pGetValue
 
css::uno::Any m_aOldValue
 
OUString m_sLabel
 
OUString m_aDescription
 
- Protected Attributes inherited from dbaccess::OResultColumn
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
 

Additional Inherited Members

- Static Public Member Functions inherited from dbaccess::OColumnSettings
static bool hasDefaultSettings (const css::uno::Reference< css::beans::XPropertySet > &_rxColumn)
 check if the persistent settings have their default value More...
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn >
static std::mutextheMutex ()
 
- Static Protected Member Functions inherited from dbaccess::OColumnSettings
static bool isColumnSettingProperty (const sal_Int32 _nPropertyHandle)
 determines whether the property with the given handle is handled by the class More...
 
static bool isDefaulted (const sal_Int32 _nPropertyHandle, const css::uno::Any &_rPropertyValue)
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static std::mutextheMutex ()
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 35 of file CRowSetDataColumn.hxx.

Constructor & Destructor Documentation

◆ ~ORowSetDataColumn()

ORowSetDataColumn::~ORowSetDataColumn ( )
overrideprotectedvirtual

Definition at line 60 of file CRowSetDataColumn.cxx.

◆ ORowSetDataColumn()

ORowSetDataColumn::ORowSetDataColumn ( const css::uno::Reference< css::sdbc::XResultSetMetaData > &  _xMetaData,
const css::uno::Reference< css::sdbc::XRow > &  _xRow,
const css::uno::Reference< css::sdbc::XRowUpdate > &  _xRowUpdate,
sal_Int32  _nPos,
const css::uno::Reference< css::sdbc::XDatabaseMetaData > &  _rxDBMeta,
OUString  i_sDescription,
OUString  i_sLabel,
std::function< const ::connectivity::ORowSetValue &(sal_Int32)>  _getValue 
)

Member Function Documentation

◆ convertFastPropertyValue()

sal_Bool SAL_CALL ORowSetDataColumn::convertFastPropertyValue ( css::uno::Any &  rConvertedValue,
css::uno::Any &  rOldValue,
sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overridevirtual

◆ createArrayHelper()

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

◆ fireValueChange()

void ORowSetDataColumn::fireValueChange ( const ::connectivity::ORowSetValue _rOldValue)

◆ getFastPropertyValue()

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

◆ getImplementationId()

Sequence< sal_Int8 > ORowSetDataColumn::getImplementationId ( )
overridevirtual

Reimplemented from dbaccess::ODataColumn.

Definition at line 176 of file CRowSetDataColumn.cxx.

◆ getInfoHelper()

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

◆ setFastPropertyValue_NoBroadcast()

void SAL_CALL ORowSetDataColumn::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overridevirtual

Member Data Documentation

◆ m_aDescription

OUString dbaccess::ORowSetDataColumn::m_aDescription
protected

Definition at line 43 of file CRowSetDataColumn.hxx.

Referenced by ORowSetDataColumn().

◆ m_aOldValue

css::uno::Any dbaccess::ORowSetDataColumn::m_aOldValue
protected

Definition at line 41 of file CRowSetDataColumn.hxx.

Referenced by fireValueChange().

◆ m_pGetValue

const std::function<const ::connectivity::ORowSetValue& (sal_Int32)> dbaccess::ORowSetDataColumn::m_pGetValue
protected

Definition at line 40 of file CRowSetDataColumn.hxx.

Referenced by fireValueChange(), and getFastPropertyValue().

◆ m_sLabel

OUString dbaccess::ORowSetDataColumn::m_sLabel
protected

Definition at line 42 of file CRowSetDataColumn.hxx.

Referenced by getFastPropertyValue().


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