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

#include <pq_xtable.hxx>

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

Public Member Functions

 Table (const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, const css::uno::Reference< css::sdbc::XConnection > &connection, ConnectionSettings *pSettings)
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &reqType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getColumns () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getIndexes () override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getKeys () override
 
virtual void SAL_CALL rename (const OUString &newName) override
 
virtual void SAL_CALL alterColumnByName (const OUString &colName, const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
 
virtual void SAL_CALL alterColumnByIndex (sal_Int32 index, const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
- Public Member Functions inherited from pq_sdbc_driver::ReflectionBase
 ReflectionBase (OUString implName, const css::uno::Sequence< OUString > &supportedServices, const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, css::uno::Reference< css::sdbc::XConnection > conn, ConnectionSettings *pSettings, cppu::IPropertyArrayHelper &props)
 
void copyValuesFrom (const css::uno::Reference< css::beans::XPropertySet > &set)
 
void setPropertyValue_NoBroadcast_public (const OUString &name, const css::uno::Any &value)
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &reqType) override
 
virtual cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor () override=0
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
- Public Member Functions inherited from cppu::OPropertySetHelper
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 

Private Attributes

css::uno::Reference< css::container::XNameAccess > m_columns
 
css::uno::Reference< css::container::XIndexAccess > m_keys
 
css::uno::Reference< css::container::XNameAccess > m_indexes
 
rtl::Reference< Columnsm_pColumns
 

Additional Inherited Members

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Protected Member Functions inherited from cppu::OPropertySetHelper
void SAL_CALL fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable)
 
void SAL_CALL setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual IPropertyArrayHelper &SAL_CALL getInfoHelper ()=0
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0
 
void setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value)
 
 ~OPropertySetHelper ()
 
- Protected Attributes inherited from pq_sdbc_driver::ReflectionBase
const OUString m_implName
 
const css::uno::Sequence< OUString > m_supportedServices
 
::rtl::Reference< comphelper::RefCountedMutexm_xMutex
 
css::uno::Reference< css::sdbc::XConnection > m_conn
 
ConnectionSettingsm_pSettings
 
cppu::IPropertyArrayHelperm_propsDesc
 
std::vector< css::uno::Any > m_values
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 

Detailed Description

Definition at line 53 of file pq_xtable.hxx.

Constructor & Destructor Documentation

◆ Table()

pq_sdbc_driver::Table::Table ( const ::rtl::Reference< comphelper::RefCountedMutex > &  refMutex,
const css::uno::Reference< css::sdbc::XConnection > &  connection,
ConnectionSettings pSettings 
)

Member Function Documentation

◆ acquire()

virtual void SAL_CALL pq_sdbc_driver::Table::acquire ( )
inlineoverridevirtualnoexcept

Reimplemented from pq_sdbc_driver::ReflectionBase.

Definition at line 71 of file pq_xtable.hxx.

References pq_sdbc_driver::ReflectionBase::acquire().

◆ alterColumnByIndex()

void Table::alterColumnByIndex ( sal_Int32  index,
const css::uno::Reference< css::beans::XPropertySet > &  descriptor 
)
overridevirtual

◆ alterColumnByName()

virtual void SAL_CALL pq_sdbc_driver::Table::alterColumnByName ( const OUString &  colName,
const css::uno::Reference< css::beans::XPropertySet > &  descriptor 
)
overridevirtual

◆ createDataDescriptor()

Reference< XPropertySet > Table::createDataDescriptor ( )
overridevirtual

Implements pq_sdbc_driver::ReflectionBase.

Definition at line 84 of file pq_xtable.cxx.

References m_conn.

◆ getColumns()

Reference< XNameAccess > Table::getColumns ( )
overridevirtual

◆ getImplementationId()

Sequence< sal_Int8 > Table::getImplementationId ( )
overridevirtual

Reimplemented from pq_sdbc_driver::ReflectionBase.

Definition at line 270 of file pq_xtable.cxx.

◆ getIndexes()

Reference< XNameAccess > Table::getIndexes ( )
overridevirtual

◆ getKeys()

Reference< XIndexAccess > Table::getKeys ( )
overridevirtual

◆ getName()

OUString Table::getName ( )
overridevirtual

◆ getTypes()

Sequence< Type > Table::getTypes ( )
overridevirtual

Reimplemented from pq_sdbc_driver::ReflectionBase.

Definition at line 257 of file pq_xtable.cxx.

References cppu::OTypeCollection::getTypes().

◆ queryInterface()

virtual css::uno::Any SAL_CALL pq_sdbc_driver::Table::queryInterface ( const css::uno::Type &  reqType)
overridevirtual

Reimplemented from pq_sdbc_driver::ReflectionBase.

◆ release()

virtual void SAL_CALL pq_sdbc_driver::Table::release ( )
inlineoverridevirtualnoexcept

Reimplemented from pq_sdbc_driver::ReflectionBase.

Definition at line 72 of file pq_xtable.hxx.

References pq_sdbc_driver::ReflectionBase::release().

◆ rename()

void Table::rename ( const OUString &  newName)
overridevirtual

◆ setName()

void Table::setName ( const OUString &  aName)
overridevirtual

Reimplemented from pq_sdbc_driver::ReflectionBase.

Definition at line 298 of file pq_xtable.cxx.

References aName.

Member Data Documentation

◆ m_columns

css::uno::Reference< css::container::XNameAccess > pq_sdbc_driver::Table::m_columns
private

Definition at line 60 of file pq_xtable.hxx.

◆ m_indexes

css::uno::Reference< css::container::XNameAccess > pq_sdbc_driver::Table::m_indexes
private

Definition at line 62 of file pq_xtable.hxx.

◆ m_keys

css::uno::Reference< css::container::XIndexAccess > pq_sdbc_driver::Table::m_keys
private

Definition at line 61 of file pq_xtable.hxx.

◆ m_pColumns

rtl::Reference<Columns> pq_sdbc_driver::Table::m_pColumns
private

Definition at line 63 of file pq_xtable.hxx.


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