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

#include <NResultSetMetaData.hxx>

Inheritance diagram for connectivity::evoab::OEvoabResultSetMetaData:
[legend]
Collaboration diagram for connectivity::evoab::OEvoabResultSetMetaData:
[legend]

Public Member Functions

 OEvoabResultSetMetaData (OUString _aTableName)
 
void setEvoabFields (const ::rtl::Reference< connectivity::OSQLColumns > &xColumns)
 
sal_uInt32 fieldAtColumn (sal_Int32 columnIndex) const
 
 operator css::uno::Reference< css::sdbc::XResultSetMetaData > () noexcept
 Avoid ambiguous cast error from the compiler. More...
 
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 ~OEvoabResultSetMetaData () override
 

Private Attributes

OUString m_aTableName
 
std::vector< sal_Int32 > m_aEvoabFields
 

Detailed Description

Definition at line 35 of file NResultSetMetaData.hxx.

Constructor & Destructor Documentation

◆ ~OEvoabResultSetMetaData()

OEvoabResultSetMetaData::~OEvoabResultSetMetaData ( )
overrideprotectedvirtual

Definition at line 37 of file NResultSetMetaData.cxx.

◆ OEvoabResultSetMetaData()

OEvoabResultSetMetaData::OEvoabResultSetMetaData ( OUString  _aTableName)
explicit

Definition at line 31 of file NResultSetMetaData.cxx.

Member Function Documentation

◆ fieldAtColumn()

sal_uInt32 connectivity::evoab::OEvoabResultSetMetaData::fieldAtColumn ( sal_Int32  columnIndex) const
inline

Definition at line 46 of file NResultSetMetaData.hxx.

References m_aEvoabFields.

◆ getCatalogName()

OUString SAL_CALL OEvoabResultSetMetaData::getCatalogName ( sal_Int32  column)
overridevirtual

Definition at line 118 of file NResultSetMetaData.cxx.

◆ getColumnCount()

sal_Int32 SAL_CALL OEvoabResultSetMetaData::getColumnCount ( )
overridevirtual

Definition at line 76 of file NResultSetMetaData.cxx.

References m_aEvoabFields.

◆ getColumnDisplaySize()

sal_Int32 SAL_CALL OEvoabResultSetMetaData::getColumnDisplaySize ( sal_Int32  column)
overridevirtual

Definition at line 65 of file NResultSetMetaData.cxx.

◆ getColumnLabel()

OUString SAL_CALL OEvoabResultSetMetaData::getColumnLabel ( sal_Int32  column)
overridevirtual

Definition at line 103 of file NResultSetMetaData.cxx.

References getColumnName().

◆ getColumnName()

OUString SAL_CALL OEvoabResultSetMetaData::getColumnName ( sal_Int32  column)
overridevirtual

Definition at line 91 of file NResultSetMetaData.cxx.

References connectivity::evoab::getFieldName(), and m_aEvoabFields.

Referenced by getColumnLabel().

◆ getColumnServiceName()

OUString SAL_CALL OEvoabResultSetMetaData::getColumnServiceName ( sal_Int32  column)
overridevirtual

Definition at line 108 of file NResultSetMetaData.cxx.

◆ getColumnType()

sal_Int32 SAL_CALL OEvoabResultSetMetaData::getColumnType ( sal_Int32  column)
overridevirtual

Definition at line 70 of file NResultSetMetaData.cxx.

References connectivity::evoab::getFieldType(), and m_aEvoabFields.

◆ getColumnTypeName()

OUString SAL_CALL OEvoabResultSetMetaData::getColumnTypeName ( sal_Int32  column)
overridevirtual

◆ getPrecision()

sal_Int32 SAL_CALL OEvoabResultSetMetaData::getPrecision ( sal_Int32  column)
overridevirtual

Definition at line 139 of file NResultSetMetaData.cxx.

◆ getScale()

sal_Int32 SAL_CALL OEvoabResultSetMetaData::getScale ( sal_Int32  column)
overridevirtual

Definition at line 144 of file NResultSetMetaData.cxx.

◆ getSchemaName()

OUString SAL_CALL OEvoabResultSetMetaData::getSchemaName ( sal_Int32  column)
overridevirtual

Definition at line 86 of file NResultSetMetaData.cxx.

◆ getTableName()

OUString SAL_CALL OEvoabResultSetMetaData::getTableName ( sal_Int32  column)
overridevirtual

Definition at line 113 of file NResultSetMetaData.cxx.

References m_aTableName.

◆ isAutoIncrement()

sal_Bool SAL_CALL OEvoabResultSetMetaData::isAutoIncrement ( sal_Int32  column)
overridevirtual

Definition at line 129 of file NResultSetMetaData.cxx.

◆ isCaseSensitive()

sal_Bool SAL_CALL OEvoabResultSetMetaData::isCaseSensitive ( sal_Int32  column)
overridevirtual

Definition at line 81 of file NResultSetMetaData.cxx.

◆ isCurrency()

sal_Bool SAL_CALL OEvoabResultSetMetaData::isCurrency ( sal_Int32  column)
overridevirtual

Definition at line 124 of file NResultSetMetaData.cxx.

◆ isDefinitelyWritable()

sal_Bool SAL_CALL OEvoabResultSetMetaData::isDefinitelyWritable ( sal_Int32  column)
overridevirtual

Definition at line 164 of file NResultSetMetaData.cxx.

◆ isNullable()

sal_Int32 SAL_CALL OEvoabResultSetMetaData::isNullable ( sal_Int32  column)
overridevirtual

Definition at line 149 of file NResultSetMetaData.cxx.

◆ isReadOnly()

sal_Bool SAL_CALL OEvoabResultSetMetaData::isReadOnly ( sal_Int32  column)
overridevirtual

Definition at line 159 of file NResultSetMetaData.cxx.

◆ isSearchable()

sal_Bool SAL_CALL OEvoabResultSetMetaData::isSearchable ( sal_Int32  column)
overridevirtual

Definition at line 154 of file NResultSetMetaData.cxx.

◆ isSigned()

sal_Bool SAL_CALL OEvoabResultSetMetaData::isSigned ( sal_Int32  column)
overridevirtual

Definition at line 134 of file NResultSetMetaData.cxx.

◆ isWritable()

sal_Bool SAL_CALL OEvoabResultSetMetaData::isWritable ( sal_Int32  column)
overridevirtual

Definition at line 169 of file NResultSetMetaData.cxx.

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

connectivity::evoab::OEvoabResultSetMetaData::operator css::uno::Reference< css::sdbc::XResultSetMetaData > ( )
inlinenoexcept

Avoid ambiguous cast error from the compiler.

Definition at line 49 of file NResultSetMetaData.hxx.

◆ setEvoabFields()

void OEvoabResultSetMetaData::setEvoabFields ( const ::rtl::Reference< connectivity::OSQLColumns > &  xColumns)

Member Data Documentation

◆ m_aEvoabFields

std::vector<sal_Int32> connectivity::evoab::OEvoabResultSetMetaData::m_aEvoabFields
private

◆ m_aTableName

OUString connectivity::evoab::OEvoabResultSetMetaData::m_aTableName
private

Definition at line 37 of file NResultSetMetaData.hxx.

Referenced by getTableName().


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