LibreOffice Module connectivity (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
pq_sdbc_driver::IndexColumns Class Referencefinal

#include <pq_xindexcolumns.hxx>

Inheritance diagram for pq_sdbc_driver::IndexColumns:
[legend]
Collaboration diagram for pq_sdbc_driver::IndexColumns:
[legend]

Public Member Functions

virtual void SAL_CALL appendByDescriptor (const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
 
virtual void SAL_CALL dropByName (const OUString &elementName) override
 
virtual void SAL_CALL dropByIndex (sal_Int32 index) override
 
virtual void SAL_CALL refresh () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor () override
 
- Public Member Functions inherited from pq_sdbc_driver::Container
 Container (const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, css::uno::Reference< css::sdbc::XConnection > origin, ConnectionSettings *pSettings, OUString type)
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual void SAL_CALL appendByDescriptor (const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
 
void append (const OUString &str, const css::uno::Reference< css::beans::XPropertySet > &descriptor)
 
virtual void SAL_CALL dropByName (const OUString &elementName) override
 
virtual void SAL_CALL dropByIndex (sal_Int32 index) override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor () override=0
 
virtual void SAL_CALL refresh () override
 
virtual void SAL_CALL addRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override
 
virtual void SAL_CALL removeRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override
 
virtual void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL disposing () override
 
void rename (const OUString &oldName, const OUString &newName)
 

Static Public Member Functions

static css::uno::Reference< css::container::XNameAccess > create (const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, const css::uno::Reference< css::sdbc::XConnection > &origin, ConnectionSettings *pSettings, const OUString &schemaName, const OUString &tableName, const OUString &indexName, const css::uno::Sequence< OUString > &columns)
 

Private Member Functions

 IndexColumns (const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, const css::uno::Reference< css::sdbc::XConnection > &origin, ConnectionSettings *pSettings, OUString schemaName, OUString tableName, OUString indexName, const css::uno::Sequence< OUString > &columns)
 
virtual ~IndexColumns () override
 

Private Attributes

OUString m_schemaName
 
OUString m_tableName
 
OUString m_indexName
 
css::uno::Sequence< OUString > m_columns
 

Additional Inherited Members

- Protected Member Functions inherited from pq_sdbc_driver::Container
void fire (const EventBroadcastHelper &helper)
 
- Protected Attributes inherited from pq_sdbc_driver::Container
::rtl::Reference< comphelper::RefCountedMutexm_xMutex
 
ConnectionSettingsm_pSettings
 
css::uno::Reference< css::sdbc::XConnection > m_origin
 
String2IntMap m_name2index
 
std::vector< css::uno::Any > m_values
 
OUString m_type
 

Detailed Description

Definition at line 44 of file pq_xindexcolumns.hxx.

Constructor & Destructor Documentation

◆ IndexColumns()

pq_sdbc_driver::IndexColumns::IndexColumns ( const ::rtl::Reference< comphelper::RefCountedMutex > &  refMutex,
const css::uno::Reference< css::sdbc::XConnection > &  origin,
ConnectionSettings pSettings,
OUString  schemaName,
OUString  tableName,
OUString  indexName,
const css::uno::Sequence< OUString > &  columns 
)
private

Definition at line 72 of file pq_xindexcolumns.cxx.

Referenced by create().

◆ ~IndexColumns()

pq_sdbc_driver::IndexColumns::~IndexColumns ( )
overrideprivatevirtual

Definition at line 87 of file pq_xindexcolumns.cxx.

Member Function Documentation

◆ appendByDescriptor()

void pq_sdbc_driver::IndexColumns::appendByDescriptor ( const css::uno::Reference< css::beans::XPropertySet > &  descriptor)
overridevirtual

Reimplemented from pq_sdbc_driver::Container.

Definition at line 151 of file pq_xindexcolumns.cxx.

References Any.

◆ create()

Reference< css::container::XNameAccess > pq_sdbc_driver::IndexColumns::create ( const ::rtl::Reference< comphelper::RefCountedMutex > &  refMutex,
const css::uno::Reference< css::sdbc::XConnection > &  origin,
ConnectionSettings pSettings,
const OUString &  schemaName,
const OUString &  tableName,
const OUString &  indexName,
const css::uno::Sequence< OUString > &  columns 
)
static

Definition at line 229 of file pq_xindexcolumns.cxx.

References IndexColumns(), and tableName.

◆ createDataDescriptor()

Reference< css::beans::XPropertySet > pq_sdbc_driver::IndexColumns::createDataDescriptor ( )
overridevirtual

◆ dropByIndex()

void pq_sdbc_driver::IndexColumns::dropByIndex ( sal_Int32  index)
overridevirtual

Reimplemented from pq_sdbc_driver::Container.

Definition at line 188 of file pq_xindexcolumns.cxx.

References Any.

◆ dropByName()

void pq_sdbc_driver::IndexColumns::dropByName ( const OUString &  elementName)
overridevirtual

Reimplemented from pq_sdbc_driver::Container.

Definition at line 166 of file pq_xindexcolumns.cxx.

References Any.

◆ refresh()

void pq_sdbc_driver::IndexColumns::refresh ( )
overridevirtual

Member Data Documentation

◆ m_columns

css::uno::Sequence< OUString > pq_sdbc_driver::IndexColumns::m_columns
private

Definition at line 49 of file pq_xindexcolumns.hxx.

Referenced by refresh().

◆ m_indexName

OUString pq_sdbc_driver::IndexColumns::m_indexName
private

Definition at line 48 of file pq_xindexcolumns.hxx.

Referenced by refresh().

◆ m_schemaName

OUString pq_sdbc_driver::IndexColumns::m_schemaName
private

Definition at line 46 of file pq_xindexcolumns.hxx.

Referenced by refresh().

◆ m_tableName

OUString pq_sdbc_driver::IndexColumns::m_tableName
private

Definition at line 47 of file pq_xindexcolumns.hxx.

Referenced by refresh().


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