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

#include <FResultSetMetaData.hxx>

Inheritance diagram for connectivity::file::OResultSetMetaData:
[legend]
Collaboration diagram for connectivity::file::OResultSetMetaData:
[legend]

Public Member Functions

 OResultSetMetaData (::rtl::Reference< connectivity::OSQLColumns > _xColumns, OUString _aTableName, OFileTable *_pTable)
 
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 ~OResultSetMetaData () override
 

Private Member Functions

void checkColumnIndex (sal_Int32 column)
 

Private Attributes

OUString m_aTableName
 
::rtl::Reference< connectivity::OSQLColumnsm_xColumns
 
OFileTablem_pTable
 

Detailed Description

Definition at line 35 of file FResultSetMetaData.hxx.

Constructor & Destructor Documentation

◆ ~OResultSetMetaData()

OResultSetMetaData::~OResultSetMetaData ( )
overrideprotectedvirtual

Definition at line 49 of file FResultSetMetaData.cxx.

References m_xColumns.

◆ OResultSetMetaData()

OResultSetMetaData::OResultSetMetaData ( ::rtl::Reference< connectivity::OSQLColumns _xColumns,
OUString  _aTableName,
OFileTable _pTable 
)

Definition at line 41 of file FResultSetMetaData.cxx.

Member Function Documentation

◆ checkColumnIndex()

void OResultSetMetaData::checkColumnIndex ( sal_Int32  column)
private
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 54 of file FResultSetMetaData.cxx.

References m_xColumns, o3tl::make_unsigned(), and dbtools::throwInvalidIndexException().

Referenced by getColumnName(), getColumnType(), getColumnTypeName(), getPrecision(), getScale(), isCurrency(), isNullable(), and isReadOnly().

◆ getCatalogName()

OUString SAL_CALL OResultSetMetaData::getCatalogName ( sal_Int32  column)
overridevirtual

Definition at line 104 of file FResultSetMetaData.cxx.

◆ getColumnCount()

sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount ( )
overridevirtual

Definition at line 73 of file FResultSetMetaData.cxx.

References m_xColumns.

◆ getColumnDisplaySize()

sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize ( sal_Int32  column)
overridevirtual

Definition at line 60 of file FResultSetMetaData.cxx.

References getPrecision().

◆ getColumnLabel()

OUString SAL_CALL OResultSetMetaData::getColumnLabel ( sal_Int32  column)
overridevirtual

Definition at line 115 of file FResultSetMetaData.cxx.

References getColumnName().

◆ getColumnName()

OUString SAL_CALL OResultSetMetaData::getColumnName ( sal_Int32  column)
overridevirtual

◆ getColumnServiceName()

OUString SAL_CALL OResultSetMetaData::getColumnServiceName ( sal_Int32  column)
overridevirtual

Definition at line 120 of file FResultSetMetaData.cxx.

◆ getColumnType()

sal_Int32 SAL_CALL OResultSetMetaData::getColumnType ( sal_Int32  column)
overridevirtual

◆ getColumnTypeName()

OUString SAL_CALL OResultSetMetaData::getColumnTypeName ( sal_Int32  column)
overridevirtual

◆ getPrecision()

sal_Int32 SAL_CALL OResultSetMetaData::getPrecision ( sal_Int32  column)
overridevirtual

◆ getScale()

sal_Int32 SAL_CALL OResultSetMetaData::getScale ( sal_Int32  column)
overridevirtual

◆ getSchemaName()

OUString SAL_CALL OResultSetMetaData::getSchemaName ( sal_Int32  column)
overridevirtual

Definition at line 85 of file FResultSetMetaData.cxx.

◆ getTableName()

OUString SAL_CALL OResultSetMetaData::getTableName ( sal_Int32  column)
overridevirtual

Definition at line 99 of file FResultSetMetaData.cxx.

References m_aTableName.

◆ isAutoIncrement()

sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement ( sal_Int32  column)
overridevirtual

Definition at line 133 of file FResultSetMetaData.cxx.

◆ isCaseSensitive()

sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive ( sal_Int32  column)
overridevirtual

Definition at line 79 of file FResultSetMetaData.cxx.

◆ isCurrency()

sal_Bool SAL_CALL OResultSetMetaData::isCurrency ( sal_Int32  column)
overridevirtual

◆ isDefinitelyWritable()

sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable ( sal_Int32  column)
overridevirtual

Definition at line 178 of file FResultSetMetaData.cxx.

References isReadOnly().

◆ isNullable()

sal_Int32 SAL_CALL OResultSetMetaData::isNullable ( sal_Int32  column)
overridevirtual

◆ isReadOnly()

sal_Bool SAL_CALL OResultSetMetaData::isReadOnly ( sal_Int32  column)
overridevirtual

◆ isSearchable()

sal_Bool SAL_CALL OResultSetMetaData::isSearchable ( sal_Int32  column)
overridevirtual

Definition at line 163 of file FResultSetMetaData.cxx.

◆ isSigned()

sal_Bool SAL_CALL OResultSetMetaData::isSigned ( sal_Int32  column)
overridevirtual

Definition at line 138 of file FResultSetMetaData.cxx.

◆ isWritable()

sal_Bool SAL_CALL OResultSetMetaData::isWritable ( sal_Int32  column)
overridevirtual

Definition at line 183 of file FResultSetMetaData.cxx.

References isReadOnly().

Member Data Documentation

◆ m_aTableName

OUString connectivity::file::OResultSetMetaData::m_aTableName
private

Definition at line 38 of file FResultSetMetaData.hxx.

Referenced by getTableName().

◆ m_pTable

OFileTable* connectivity::file::OResultSetMetaData::m_pTable
private

Definition at line 40 of file FResultSetMetaData.hxx.

Referenced by isReadOnly().

◆ m_xColumns

::rtl::Reference<connectivity::OSQLColumns> connectivity::file::OResultSetMetaData::m_xColumns
private

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