LibreOffice Module dbaccess (master) 1
|
#include <CRowSetDataColumn.hxx>
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::IPropertyArrayHelper * | createArrayHelper () 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::IPropertyArrayHelper * | createArrayHelper () 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::IPropertyArrayHelper * | getArrayHelper () |
Public Member Functions inherited from dbaccess::OColumnSettings | |
OColumnSettings () | |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
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::IPropertyArrayHelper * | createArrayHelper () const =0 |
Protected Member Functions inherited from dbaccess::OColumnSettings | |
virtual | ~OColumnSettings () |
void | registerProperties (IPropertyContainer &_rPropertyContainer) |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () 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_Bool > | m_isSigned |
mutable ::std::optional< sal_Bool > | m_isCurrency |
mutable ::std::optional< sal_Bool > | m_bSearchable |
mutable ::std::optional< sal_Bool > | m_isCaseSensitive |
mutable ::std::optional< sal_Bool > | m_isReadOnly |
mutable ::std::optional< sal_Bool > | m_isWritable |
mutable ::std::optional< sal_Bool > | m_isDefinitelyWritable |
mutable ::std::optional< sal_Bool > | m_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::mutex & | theMutex () |
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::mutex & | theMutex () |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 35 of file CRowSetDataColumn.hxx.
|
overrideprotectedvirtual |
Definition at line 60 of file CRowSetDataColumn.cxx.
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 | ||
) |
Definition at line 43 of file CRowSetDataColumn.cxx.
References _nPos, m_aDescription, PROPERTY_DESCRIPTION(), PROPERTY_ID_DESCRIPTION, and dbaccess::OColumnSettings::registerProperties().
|
overridevirtual |
Definition at line 146 of file CRowSetDataColumn.cxx.
References getFastPropertyValue(), nHandle, PROPERTY_ID_ISREADONLY, and PROPERTY_ID_VALUE.
|
overridevirtual |
Implements comphelper::OPropertyArrayUsageHelper< class TYPE >.
Definition at line 65 of file CRowSetDataColumn.cxx.
References cppu::UnoType< typename T >::get(), PROPERTY_CATALOGNAME(), PROPERTY_DISPLAYSIZE(), PROPERTY_ID_CATALOGNAME, PROPERTY_ID_DISPLAYSIZE, PROPERTY_ID_ISAUTOINCREMENT, PROPERTY_ID_ISCASESENSITIVE, PROPERTY_ID_ISCURRENCY, PROPERTY_ID_ISDEFINITELYWRITABLE, PROPERTY_ID_ISNULLABLE, PROPERTY_ID_ISREADONLY, PROPERTY_ID_ISROWVERSION, PROPERTY_ID_ISSEARCHABLE, PROPERTY_ID_ISSIGNED, PROPERTY_ID_ISWRITABLE, PROPERTY_ID_LABEL, PROPERTY_ID_PRECISION, PROPERTY_ID_SCALE, PROPERTY_ID_SCHEMANAME, PROPERTY_ID_SERVICENAME, PROPERTY_ID_TABLENAME, PROPERTY_ID_TYPE, PROPERTY_ID_TYPENAME, PROPERTY_ID_VALUE, PROPERTY_ISAUTOINCREMENT(), PROPERTY_ISCASESENSITIVE(), PROPERTY_ISCURRENCY(), PROPERTY_ISDEFINITELYWRITABLE(), PROPERTY_ISNULLABLE(), PROPERTY_ISREADONLY(), PROPERTY_ISROWVERSION(), PROPERTY_ISSEARCHABLE(), PROPERTY_ISSIGNED(), PROPERTY_ISWRITABLE(), PROPERTY_LABEL(), PROPERTY_PRECISION(), PROPERTY_SCALE(), PROPERTY_SCHEMANAME(), PROPERTY_SERVICENAME(), PROPERTY_TABLENAME(), PROPERTY_TYPE(), PROPERTY_TYPENAME(), and PROPERTY_VALUE().
void ORowSetDataColumn::fireValueChange | ( | const ::connectivity::ORowSetValue & | _rOldValue | ) |
Definition at line 181 of file CRowSetDataColumn.cxx.
References Any, m_aOldValue, dbaccess::OResultColumn::m_nPos, m_pGetValue, connectivity::ORowSetValue::makeAny(), nHandle, PROPERTY_ID_VALUE, and value.
|
overridevirtual |
Reimplemented from dbaccess::OResultColumn.
Definition at line 104 of file CRowSetDataColumn.cxx.
References cppu::getCaughtException(), dbaccess::OResultColumn::getFastPropertyValue(), dbaccess::OResultColumn::m_nPos, m_pGetValue, m_sLabel, nHandle, PROPERTY_ID_LABEL, and PROPERTY_ID_VALUE.
Referenced by convertFastPropertyValue().
|
overridevirtual |
Reimplemented from dbaccess::ODataColumn.
Definition at line 176 of file CRowSetDataColumn.cxx.
|
override |
Definition at line 99 of file CRowSetDataColumn.cxx.
References comphelper::OPropertyArrayUsageHelper< class TYPE >::getArrayHelper().
|
overridevirtual |
Reimplemented in dbaccess::ORowSetColumn.
Definition at line 126 of file CRowSetDataColumn.cxx.
References dbaccess::OResultColumn::m_isReadOnly, nHandle, PROPERTY_ID_ISREADONLY, PROPERTY_ID_VALUE, and dbaccess::ODataColumn::updateObject().
Referenced by dbaccess::ORowSetColumn::setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 43 of file CRowSetDataColumn.hxx.
Referenced by ORowSetDataColumn().
|
protected |
Definition at line 41 of file CRowSetDataColumn.hxx.
Referenced by fireValueChange().
|
protected |
Definition at line 40 of file CRowSetDataColumn.hxx.
Referenced by fireValueChange(), and getFastPropertyValue().
|
protected |
Definition at line 42 of file CRowSetDataColumn.hxx.
Referenced by getFastPropertyValue().