LibreOffice Module dbaccess (master) 1
|
#include <resultcolumn.hxx>
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::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 () |
Protected Member Functions | |
virtual | ~OResultColumn () override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () 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_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 |
Private Member Functions | |
void | impl_determineIsRowVersion_nothrow () |
Additional Inherited Members | |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn > | |
static std::mutex & | theMutex () |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OResultColumn > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 32 of file resultcolumn.hxx.
|
overrideprotectedvirtual |
Definition at line 95 of file resultcolumn.cxx.
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.
|
overridevirtual |
Implements comphelper::OPropertyArrayUsageHelper< OResultColumn >.
Definition at line 126 of file resultcolumn.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_NAME, PROPERTY_ID_PRECISION, PROPERTY_ID_SCALE, PROPERTY_ID_SCHEMANAME, PROPERTY_ID_SERVICENAME, PROPERTY_ID_TABLENAME, PROPERTY_ID_TYPE, PROPERTY_ID_TYPENAME, PROPERTY_ISAUTOINCREMENT(), PROPERTY_ISCASESENSITIVE(), PROPERTY_ISCURRENCY(), PROPERTY_ISDEFINITELYWRITABLE(), PROPERTY_ISNULLABLE(), PROPERTY_ISREADONLY(), PROPERTY_ISROWVERSION(), PROPERTY_ISSEARCHABLE(), PROPERTY_ISSIGNED(), PROPERTY_ISWRITABLE(), PROPERTY_LABEL(), PROPERTY_NAME(), PROPERTY_PRECISION(), PROPERTY_SCALE(), PROPERTY_SCHEMANAME(), PROPERTY_SERVICENAME(), PROPERTY_TABLENAME(), PROPERTY_TYPE(), and PROPERTY_TYPENAME().
|
overridevirtual |
Reimplemented in dbaccess::ODataColumn.
Definition at line 117 of file resultcolumn.cxx.
References m_aMutex, and m_xMetaData.
Referenced by dbaccess::ODataColumn::disposing().
|
overridevirtual |
Reimplemented in dbaccess::ORowSetDataColumn.
Definition at line 173 of file resultcolumn.cxx.
References impl_determineIsRowVersion_nothrow(), m_aIsRowVersion, m_bSearchable, m_isAutoIncrement, m_isCaseSensitive, m_isCurrency, m_isDefinitelyWritable, m_isNullable, m_isReadOnly, m_isSigned, m_isWritable, m_nColumnDisplaySize, m_nColumnType, m_nPos, m_nPrecision, m_nScale, m_sColumnLabel, m_xMetaData, nHandle, 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, and PROPERTY_ID_TYPENAME.
Referenced by dbaccess::ORowSetDataColumn::getFastPropertyValue().
|
overridevirtual |
Reimplemented in dbaccess::ORowSetDataColumn, and dbaccess::ODataColumn.
Definition at line 100 of file resultcolumn.cxx.
|
overridevirtual |
Reimplemented in dbaccess::ODataColumn.
Definition at line 106 of file resultcolumn.cxx.
|
override |
Definition at line 157 of file resultcolumn.cxx.
References comphelper::OPropertyArrayUsageHelper< OResultColumn >::getArrayHelper().
|
overridevirtual |
Reimplemented in dbaccess::ODataColumn.
Definition at line 111 of file resultcolumn.cxx.
References SERVICE_SDB_RESULTCOLUMN, and SERVICE_SDBCX_COLUMN.
|
private |
Definition at line 50 of file resultcolumn.cxx.
References Any, DBG_UNHANDLED_EXCEPTION, Exception, getPropertyValue(), m_aIsRowVersion, m_xDBMetaData, PROPERTY_CATALOGNAME(), PROPERTY_NAME(), PROPERTY_SCHEMANAME(), PROPERTY_TABLENAME(), sCatalog, and sSchema.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 39 of file resultcolumn.hxx.
Referenced by getFastPropertyValue(), and impl_determineIsRowVersion_nothrow().
|
protected |
Definition at line 42 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 47 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 43 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 41 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 46 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 48 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 44 of file resultcolumn.hxx.
Referenced by getFastPropertyValue(), and dbaccess::ORowSetDataColumn::setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 40 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 45 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 50 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 51 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
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().
|
protected |
Definition at line 52 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 53 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 49 of file resultcolumn.hxx.
Referenced by getFastPropertyValue().
|
protected |
Definition at line 37 of file resultcolumn.hxx.
Referenced by impl_determineIsRowVersion_nothrow().
|
protected |
Definition at line 36 of file resultcolumn.hxx.
Referenced by disposing(), and getFastPropertyValue().