LibreOffice Module connectivity (master) 1
|
#include <MacabResultSetMetaData.hxx>
Public Member Functions | |
MacabResultSetMetaData (MacabConnection *_pConnection, OUString const &_sTableName) | |
operator css::uno::Reference< css::sdbc::XResultSetMetaData > () noexcept | |
void | setMacabFields (const ::rtl::Reference< connectivity::OSQLColumns > &xColumns) |
sal_uInt32 | fieldAtColumn (sal_Int32 columnIndex) const |
virtual sal_Int32 SAL_CALL | getColumnCount () override |
virtual sal_Bool SAL_CALL | isAutoIncrement (sal_Int32 column) override |
virtual sal_Bool SAL_CALL | isCaseSensitive (sal_Int32 column) override |
virtual sal_Bool SAL_CALL | isSearchable (sal_Int32 column) override |
virtual sal_Bool SAL_CALL | isCurrency (sal_Int32 column) override |
virtual sal_Int32 SAL_CALL | isNullable (sal_Int32 column) override |
virtual sal_Bool SAL_CALL | isSigned (sal_Int32 column) override |
virtual sal_Int32 SAL_CALL | getColumnDisplaySize (sal_Int32 column) override |
virtual OUString SAL_CALL | getColumnLabel (sal_Int32 column) override |
virtual OUString SAL_CALL | getColumnName (sal_Int32 column) override |
virtual OUString SAL_CALL | getSchemaName (sal_Int32 column) override |
virtual sal_Int32 SAL_CALL | getPrecision (sal_Int32 column) override |
virtual sal_Int32 SAL_CALL | getScale (sal_Int32 column) override |
virtual OUString SAL_CALL | getTableName (sal_Int32 column) override |
virtual OUString SAL_CALL | getCatalogName (sal_Int32 column) override |
virtual sal_Int32 SAL_CALL | getColumnType (sal_Int32 column) override |
virtual OUString SAL_CALL | getColumnTypeName (sal_Int32 column) override |
virtual sal_Bool SAL_CALL | isReadOnly (sal_Int32 column) override |
virtual sal_Bool SAL_CALL | isWritable (sal_Int32 column) override |
virtual sal_Bool SAL_CALL | isDefinitelyWritable (sal_Int32 column) override |
virtual OUString SAL_CALL | getColumnServiceName (sal_Int32 column) override |
Protected Member Functions | |
virtual | ~MacabResultSetMetaData () override |
Private Attributes | |
MacabConnection * | m_pConnection |
OUString | m_sTableName |
std::vector< sal_Int32 > | m_aMacabFields |
Definition at line 33 of file MacabResultSetMetaData.hxx.
|
overrideprotectedvirtual |
Definition at line 41 of file MacabResultSetMetaData.cxx.
MacabResultSetMetaData::MacabResultSetMetaData | ( | MacabConnection * | _pConnection, |
OUString const & | _sTableName | ||
) |
Definition at line 34 of file MacabResultSetMetaData.cxx.
References m_sTableName.
|
inline |
Definition at line 53 of file MacabResultSetMetaData.hxx.
References m_aMacabFields.
|
overridevirtual |
Definition at line 145 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 105 of file MacabResultSetMetaData.cxx.
References m_aMacabFields.
|
overridevirtual |
Definition at line 73 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 155 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 120 of file MacabResultSetMetaData.cxx.
References aName, connectivity::macab::MacabConnection::getAddressBook(), connectivity::macab::MacabRecords::getHeader(), connectivity::macab::MacabAddressBook::getMacabRecords(), connectivity::macab::MacabHeader::getString(), connectivity::macab::impl_throwError(), m_aMacabFields, m_pConnection, and m_sTableName.
|
overridevirtual |
Definition at line 160 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 79 of file MacabResultSetMetaData.cxx.
References connectivity::macab::ABTypeToDataType(), connectivity::macab::MacabRecord::get(), connectivity::macab::MacabConnection::getAddressBook(), connectivity::macab::MacabRecords::getHeader(), connectivity::macab::MacabAddressBook::getMacabRecords(), connectivity::macab::impl_throwError(), m_pConnection, m_sTableName, dbtools::throwInvalidIndexException(), and connectivity::macab::macabfield::type.
|
overridevirtual |
Definition at line 150 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 180 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 185 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 115 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 140 of file MacabResultSetMetaData.cxx.
References m_sTableName.
|
overridevirtual |
Definition at line 170 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 110 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 165 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 205 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 190 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 200 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 195 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 175 of file MacabResultSetMetaData.cxx.
|
overridevirtual |
Definition at line 210 of file MacabResultSetMetaData.cxx.
|
inlinenoexcept |
Definition at line 47 of file MacabResultSetMetaData.hxx.
void MacabResultSetMetaData::setMacabFields | ( | const ::rtl::Reference< connectivity::OSQLColumns > & | xColumns | ) |
css::sdbc::SQLException |
Definition at line 45 of file MacabResultSetMetaData.cxx.
References aName, connectivity::macab::MacabConnection::getAddressBook(), connectivity::macab::MacabHeader::getColumnNumber(), connectivity::macab::MacabRecords::getHeader(), connectivity::macab::MacabAddressBook::getMacabRecords(), connectivity::macab::impl_throwError(), m_aMacabFields, m_pConnection, m_sTableName, and u.
|
private |
Definition at line 37 of file MacabResultSetMetaData.hxx.
Referenced by fieldAtColumn(), getColumnCount(), getColumnName(), and setMacabFields().
|
private |
Definition at line 35 of file MacabResultSetMetaData.hxx.
Referenced by getColumnName(), getColumnType(), and setMacabFields().
|
private |
Definition at line 36 of file MacabResultSetMetaData.hxx.
Referenced by getColumnName(), getColumnType(), getTableName(), and setMacabFields().