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

#include <MacabResultSetMetaData.hxx>

Inheritance diagram for connectivity::macab::MacabResultSetMetaData:
[legend]
Collaboration diagram for connectivity::macab::MacabResultSetMetaData:
[legend]

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

MacabConnectionm_pConnection
 
OUString m_sTableName
 
std::vector< sal_Int32 > m_aMacabFields
 

Detailed Description

Definition at line 33 of file MacabResultSetMetaData.hxx.

Constructor & Destructor Documentation

◆ ~MacabResultSetMetaData()

MacabResultSetMetaData::~MacabResultSetMetaData ( )
overrideprotectedvirtual

Definition at line 41 of file MacabResultSetMetaData.cxx.

◆ MacabResultSetMetaData()

MacabResultSetMetaData::MacabResultSetMetaData ( MacabConnection _pConnection,
OUString const &  _sTableName 
)

Definition at line 34 of file MacabResultSetMetaData.cxx.

References m_sTableName.

Member Function Documentation

◆ fieldAtColumn()

sal_uInt32 connectivity::macab::MacabResultSetMetaData::fieldAtColumn ( sal_Int32  columnIndex) const
inline

Definition at line 53 of file MacabResultSetMetaData.hxx.

References m_aMacabFields.

◆ getCatalogName()

OUString SAL_CALL MacabResultSetMetaData::getCatalogName ( sal_Int32  column)
overridevirtual

Definition at line 145 of file MacabResultSetMetaData.cxx.

◆ getColumnCount()

sal_Int32 SAL_CALL MacabResultSetMetaData::getColumnCount ( )
overridevirtual

Definition at line 105 of file MacabResultSetMetaData.cxx.

References m_aMacabFields.

◆ getColumnDisplaySize()

sal_Int32 SAL_CALL MacabResultSetMetaData::getColumnDisplaySize ( sal_Int32  column)
overridevirtual

Definition at line 73 of file MacabResultSetMetaData.cxx.

◆ getColumnLabel()

OUString SAL_CALL MacabResultSetMetaData::getColumnLabel ( sal_Int32  column)
overridevirtual

Definition at line 155 of file MacabResultSetMetaData.cxx.

◆ getColumnName()

OUString SAL_CALL MacabResultSetMetaData::getColumnName ( sal_Int32  column)
overridevirtual

◆ getColumnServiceName()

OUString SAL_CALL MacabResultSetMetaData::getColumnServiceName ( sal_Int32  column)
overridevirtual

Definition at line 160 of file MacabResultSetMetaData.cxx.

◆ getColumnType()

sal_Int32 SAL_CALL MacabResultSetMetaData::getColumnType ( sal_Int32  column)
overridevirtual

◆ getColumnTypeName()

OUString SAL_CALL MacabResultSetMetaData::getColumnTypeName ( sal_Int32  column)
overridevirtual

Definition at line 150 of file MacabResultSetMetaData.cxx.

◆ getPrecision()

sal_Int32 SAL_CALL MacabResultSetMetaData::getPrecision ( sal_Int32  column)
overridevirtual

Definition at line 180 of file MacabResultSetMetaData.cxx.

◆ getScale()

sal_Int32 SAL_CALL MacabResultSetMetaData::getScale ( sal_Int32  column)
overridevirtual

Definition at line 185 of file MacabResultSetMetaData.cxx.

◆ getSchemaName()

OUString SAL_CALL MacabResultSetMetaData::getSchemaName ( sal_Int32  column)
overridevirtual

Definition at line 115 of file MacabResultSetMetaData.cxx.

◆ getTableName()

OUString SAL_CALL MacabResultSetMetaData::getTableName ( sal_Int32  column)
overridevirtual

Definition at line 140 of file MacabResultSetMetaData.cxx.

References m_sTableName.

◆ isAutoIncrement()

sal_Bool SAL_CALL MacabResultSetMetaData::isAutoIncrement ( sal_Int32  column)
overridevirtual

Definition at line 170 of file MacabResultSetMetaData.cxx.

◆ isCaseSensitive()

sal_Bool SAL_CALL MacabResultSetMetaData::isCaseSensitive ( sal_Int32  column)
overridevirtual

Definition at line 110 of file MacabResultSetMetaData.cxx.

◆ isCurrency()

sal_Bool SAL_CALL MacabResultSetMetaData::isCurrency ( sal_Int32  column)
overridevirtual

Definition at line 165 of file MacabResultSetMetaData.cxx.

◆ isDefinitelyWritable()

sal_Bool SAL_CALL MacabResultSetMetaData::isDefinitelyWritable ( sal_Int32  column)
overridevirtual

Definition at line 205 of file MacabResultSetMetaData.cxx.

◆ isNullable()

sal_Int32 SAL_CALL MacabResultSetMetaData::isNullable ( sal_Int32  column)
overridevirtual

Definition at line 190 of file MacabResultSetMetaData.cxx.

◆ isReadOnly()

sal_Bool SAL_CALL MacabResultSetMetaData::isReadOnly ( sal_Int32  column)
overridevirtual

Definition at line 200 of file MacabResultSetMetaData.cxx.

◆ isSearchable()

sal_Bool SAL_CALL MacabResultSetMetaData::isSearchable ( sal_Int32  column)
overridevirtual

Definition at line 195 of file MacabResultSetMetaData.cxx.

◆ isSigned()

sal_Bool SAL_CALL MacabResultSetMetaData::isSigned ( sal_Int32  column)
overridevirtual

Definition at line 175 of file MacabResultSetMetaData.cxx.

◆ isWritable()

sal_Bool SAL_CALL MacabResultSetMetaData::isWritable ( sal_Int32  column)
overridevirtual

Definition at line 210 of file MacabResultSetMetaData.cxx.

◆ operator css::uno::Reference< css::sdbc::XResultSetMetaData >()

connectivity::macab::MacabResultSetMetaData::operator css::uno::Reference< css::sdbc::XResultSetMetaData > ( )
inlinenoexcept

Definition at line 47 of file MacabResultSetMetaData.hxx.

◆ setMacabFields()

void MacabResultSetMetaData::setMacabFields ( const ::rtl::Reference< connectivity::OSQLColumns > &  xColumns)

Member Data Documentation

◆ m_aMacabFields

std::vector<sal_Int32> connectivity::macab::MacabResultSetMetaData::m_aMacabFields
private

◆ m_pConnection

MacabConnection* connectivity::macab::MacabResultSetMetaData::m_pConnection
private

Definition at line 35 of file MacabResultSetMetaData.hxx.

Referenced by getColumnName(), getColumnType(), and setMacabFields().

◆ m_sTableName

OUString connectivity::macab::MacabResultSetMetaData::m_sTableName
private

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