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

#include <ADatabaseMetaDataResultSetMetaData.hxx>

Inheritance diagram for connectivity::ado::ODatabaseMetaDataResultSetMetaData:
[legend]
Collaboration diagram for connectivity::ado::ODatabaseMetaDataResultSetMetaData:
[legend]

Public Member Functions

 ODatabaseMetaDataResultSetMetaData (ADORecordset *_pRecordSet, ODatabaseMetaDataResultSet *_pRes)
 
 ~ODatabaseMetaDataResultSetMetaData () override
 
 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

void setColumnPrivilegesMap ()
 
void setColumnsMap ()
 
void setTablesMap ()
 
void setProcedureColumnsMap ()
 
void setPrimaryKeysMap ()
 
void setIndexInfoMap ()
 
void setTablePrivilegesMap ()
 
void setCrossReferenceMap ()
 
void setTypeInfoMap ()
 
void setProceduresMap ()
 

Private Member Functions

 ODatabaseMetaDataResultSetMetaData (const ODatabaseMetaDataResultSetMetaData &)
 
ODatabaseMetaDataResultSetMetaDataoperator= (const ODatabaseMetaDataResultSetMetaData &)
 

Private Attributes

const std::vector< sal_Int32 > & m_vMapping
 
std::map< sal_Int32, connectivity::OColumnm_mColumns
 
std::map< sal_Int32, connectivity::OColumn >::const_iterator m_mColumnsIter
 
ADORecordset * m_pRecordSet
 
sal_Int32 m_nColCount
 

Friends

class ODatabaseMetaDataResultSet
 

Detailed Description

Definition at line 36 of file ADatabaseMetaDataResultSetMetaData.hxx.

Constructor & Destructor Documentation

◆ ODatabaseMetaDataResultSetMetaData() [1/2]

connectivity::ado::ODatabaseMetaDataResultSetMetaData::ODatabaseMetaDataResultSetMetaData ( const ODatabaseMetaDataResultSetMetaData )
private

◆ ODatabaseMetaDataResultSetMetaData() [2/2]

connectivity::ado::ODatabaseMetaDataResultSetMetaData::ODatabaseMetaDataResultSetMetaData ( ADORecordset *  _pRecordSet,
ODatabaseMetaDataResultSet _pRes 
)
inline

Definition at line 64 of file ADatabaseMetaDataResultSetMetaData.hxx.

References m_pRecordSet, and size.

◆ ~ODatabaseMetaDataResultSetMetaData()

ODatabaseMetaDataResultSetMetaData::~ODatabaseMetaDataResultSetMetaData ( )
override

Definition at line 31 of file ADatabaseMetaDataResultSetMetaData.cxx.

References m_pRecordSet.

Member Function Documentation

◆ getCatalogName()

OUString SAL_CALL ODatabaseMetaDataResultSetMetaData::getCatalogName ( sal_Int32  column)
overridevirtual

Definition at line 289 of file ADatabaseMetaDataImpl.cxx.

◆ getColumnCount()

sal_Int32 SAL_CALL ODatabaseMetaDataResultSetMetaData::getColumnCount ( )
overridevirtual

◆ getColumnDisplaySize()

sal_Int32 SAL_CALL ODatabaseMetaDataResultSetMetaData::getColumnDisplaySize ( sal_Int32  column)
overridevirtual

◆ getColumnLabel()

OUString SAL_CALL ODatabaseMetaDataResultSetMetaData::getColumnLabel ( sal_Int32  column)
overridevirtual

◆ getColumnName()

OUString SAL_CALL ODatabaseMetaDataResultSetMetaData::getColumnName ( sal_Int32  column)
overridevirtual

◆ getColumnServiceName()

OUString SAL_CALL ODatabaseMetaDataResultSetMetaData::getColumnServiceName ( sal_Int32  column)
overridevirtual

Definition at line 277 of file ADatabaseMetaDataImpl.cxx.

◆ getColumnType()

sal_Int32 SAL_CALL ODatabaseMetaDataResultSetMetaData::getColumnType ( sal_Int32  column)
overridevirtual

◆ getColumnTypeName()

OUString SAL_CALL ODatabaseMetaDataResultSetMetaData::getColumnTypeName ( sal_Int32  column)
overridevirtual

Definition at line 294 of file ADatabaseMetaDataImpl.cxx.

◆ getPrecision()

sal_Int32 SAL_CALL ODatabaseMetaDataResultSetMetaData::getPrecision ( sal_Int32  column)
overridevirtual

◆ getScale()

sal_Int32 SAL_CALL ODatabaseMetaDataResultSetMetaData::getScale ( sal_Int32  column)
overridevirtual

◆ getSchemaName()

OUString SAL_CALL ODatabaseMetaDataResultSetMetaData::getSchemaName ( sal_Int32  column)
overridevirtual

Definition at line 308 of file ADatabaseMetaDataImpl.cxx.

◆ getTableName()

OUString SAL_CALL ODatabaseMetaDataResultSetMetaData::getTableName ( sal_Int32  column)
overridevirtual

Definition at line 282 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns, and m_mColumnsIter.

◆ isAutoIncrement()

sal_Bool SAL_CALL ODatabaseMetaDataResultSetMetaData::isAutoIncrement ( sal_Int32  column)
overridevirtual

Definition at line 270 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns, and m_mColumnsIter.

◆ isCaseSensitive()

sal_Bool SAL_CALL ODatabaseMetaDataResultSetMetaData::isCaseSensitive ( sal_Int32  column)
overridevirtual

Definition at line 300 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns, and m_mColumnsIter.

◆ isCurrency()

sal_Bool SAL_CALL ODatabaseMetaDataResultSetMetaData::isCurrency ( sal_Int32  column)
overridevirtual

◆ isDefinitelyWritable()

sal_Bool SAL_CALL ODatabaseMetaDataResultSetMetaData::isDefinitelyWritable ( sal_Int32  column)
overridevirtual

◆ isNullable()

sal_Int32 SAL_CALL ODatabaseMetaDataResultSetMetaData::isNullable ( sal_Int32  column)
overridevirtual

◆ isReadOnly()

sal_Bool SAL_CALL ODatabaseMetaDataResultSetMetaData::isReadOnly ( sal_Int32  column)
overridevirtual

◆ isSearchable()

sal_Bool SAL_CALL ODatabaseMetaDataResultSetMetaData::isSearchable ( sal_Int32  column)
overridevirtual

Definition at line 263 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns, and m_mColumnsIter.

◆ isSigned()

sal_Bool SAL_CALL ODatabaseMetaDataResultSetMetaData::isSigned ( sal_Int32  column)
overridevirtual

◆ isWritable()

sal_Bool SAL_CALL ODatabaseMetaDataResultSetMetaData::isWritable ( sal_Int32  column)
overridevirtual

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

connectivity::ado::ODatabaseMetaDataResultSetMetaData::operator css::uno::Reference< css::sdbc::XResultSetMetaData > ( )
inlinenoexcept

Avoid ambiguous cast error from the compiler.

Definition at line 75 of file ADatabaseMetaDataResultSetMetaData.hxx.

◆ operator=()

ODatabaseMetaDataResultSetMetaData & connectivity::ado::ODatabaseMetaDataResultSetMetaData::operator= ( const ODatabaseMetaDataResultSetMetaData )
private

◆ setColumnPrivilegesMap()

void ODatabaseMetaDataResultSetMetaData::setColumnPrivilegesMap ( )
protected

Definition at line 123 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns.

◆ setColumnsMap()

void ODatabaseMetaDataResultSetMetaData::setColumnsMap ( )
protected

Definition at line 131 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns.

◆ setCrossReferenceMap()

void ODatabaseMetaDataResultSetMetaData::setCrossReferenceMap ( )
protected

Definition at line 219 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns.

◆ setIndexInfoMap()

void ODatabaseMetaDataResultSetMetaData::setIndexInfoMap ( )
protected

Definition at line 191 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns.

◆ setPrimaryKeysMap()

void ODatabaseMetaDataResultSetMetaData::setPrimaryKeysMap ( )
protected

Definition at line 179 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns.

◆ setProcedureColumnsMap()

void ODatabaseMetaDataResultSetMetaData::setProcedureColumnsMap ( )
protected

Definition at line 171 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns.

◆ setProceduresMap()

void ODatabaseMetaDataResultSetMetaData::setProceduresMap ( )
protected

Definition at line 255 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns.

◆ setTablePrivilegesMap()

void ODatabaseMetaDataResultSetMetaData::setTablePrivilegesMap ( )
protected

Definition at line 207 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns.

◆ setTablesMap()

void ODatabaseMetaDataResultSetMetaData::setTablesMap ( )
protected

Definition at line 163 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns.

◆ setTypeInfoMap()

void ODatabaseMetaDataResultSetMetaData::setTypeInfoMap ( )
protected

Definition at line 227 of file ADatabaseMetaDataImpl.cxx.

References m_mColumns.

Friends And Related Function Documentation

◆ ODatabaseMetaDataResultSet

friend class ODatabaseMetaDataResultSet
friend

Definition at line 38 of file ADatabaseMetaDataResultSetMetaData.hxx.

Member Data Documentation

◆ m_mColumns

std::map<sal_Int32,connectivity::OColumn> connectivity::ado::ODatabaseMetaDataResultSetMetaData::m_mColumns
private

◆ m_mColumnsIter

std::map<sal_Int32,connectivity::OColumn>::const_iterator connectivity::ado::ODatabaseMetaDataResultSetMetaData::m_mColumnsIter
private

◆ m_nColCount

sal_Int32 connectivity::ado::ODatabaseMetaDataResultSetMetaData::m_nColCount
private

Definition at line 45 of file ADatabaseMetaDataResultSetMetaData.hxx.

Referenced by getColumnCount().

◆ m_pRecordSet

ADORecordset* connectivity::ado::ODatabaseMetaDataResultSetMetaData::m_pRecordSet
private

◆ m_vMapping

const std::vector<sal_Int32>& connectivity::ado::ODatabaseMetaDataResultSetMetaData::m_vMapping
private

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