LibreOffice Module connectivity (master) 1
|
#include <pq_xbase.hxx>
Public Member Functions | |
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 |
Protected Attributes | |
const OUString | m_implName |
const css::uno::Sequence< OUString > | m_supportedServices |
::rtl::Reference< comphelper::RefCountedMutex > | m_xMutex |
css::uno::Reference< css::sdbc::XConnection > | m_conn |
ConnectionSettings * | m_pSettings |
cppu::IPropertyArrayHelper & | m_propsDesc |
std::vector< css::uno::Any > | m_values |
Protected Attributes inherited from cppu::OPropertySetHelper | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
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 () | |
Definition at line 54 of file pq_xbase.hxx.
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 | ||
) |
Definition at line 59 of file pq_xbase.cxx.
References getLength(), implName, and props.
|
inlineoverridevirtualnoexcept |
Reimplemented in pq_sdbc_driver::Index, pq_sdbc_driver::IndexDescriptor, pq_sdbc_driver::Key, pq_sdbc_driver::KeyDescriptor, pq_sdbc_driver::Table, pq_sdbc_driver::TableDescriptor, pq_sdbc_driver::User, and pq_sdbc_driver::View.
Definition at line 83 of file pq_xbase.hxx.
Referenced by pq_sdbc_driver::Index::acquire(), pq_sdbc_driver::IndexDescriptor::acquire(), pq_sdbc_driver::Key::acquire(), pq_sdbc_driver::KeyDescriptor::acquire(), pq_sdbc_driver::Table::acquire(), pq_sdbc_driver::TableDescriptor::acquire(), pq_sdbc_driver::User::acquire(), and pq_sdbc_driver::View::acquire().
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 82 of file pq_xbase.cxx.
void pq_sdbc_driver::ReflectionBase::copyValuesFrom | ( | const css::uno::Reference< css::beans::XPropertySet > & | set | ) |
Definition at line 176 of file pq_xbase.cxx.
References getPropertySetInfo(), Property, props, set(), and setPropertyValue_NoBroadcast_public().
|
overridepure virtual |
Implemented in pq_sdbc_driver::Column, pq_sdbc_driver::ColumnDescriptor, pq_sdbc_driver::Index, pq_sdbc_driver::IndexDescriptor, pq_sdbc_driver::IndexColumn, pq_sdbc_driver::IndexColumnDescriptor, pq_sdbc_driver::Key, pq_sdbc_driver::KeyDescriptor, pq_sdbc_driver::KeyColumn, pq_sdbc_driver::KeyColumnDescriptor, pq_sdbc_driver::Table, pq_sdbc_driver::TableDescriptor, pq_sdbc_driver::User, pq_sdbc_driver::UserDescriptor, pq_sdbc_driver::View, and pq_sdbc_driver::ViewDescriptor.
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 119 of file pq_xbase.cxx.
Reimplemented in pq_sdbc_driver::Index, pq_sdbc_driver::IndexDescriptor, pq_sdbc_driver::Key, pq_sdbc_driver::KeyDescriptor, pq_sdbc_driver::Table, pq_sdbc_driver::TableDescriptor, pq_sdbc_driver::User, and pq_sdbc_driver::View.
Definition at line 171 of file pq_xbase.cxx.
|
overridevirtual |
Definition at line 136 of file pq_xbase.cxx.
References m_implName.
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 77 of file pq_xbase.cxx.
References m_propsDesc.
Referenced by getName().
|
overridevirtual |
Reimplemented in pq_sdbc_driver::Table, and pq_sdbc_driver::View.
Definition at line 193 of file pq_xbase.cxx.
References pq_sdbc_driver::concatQualified(), pq_sdbc_driver::extractStringProperty(), getInfoHelper(), pq_sdbc_driver::getStatics(), NAME, and pq_sdbc_driver::Statics::SCHEMA_NAME.
|
override |
Definition at line 131 of file pq_xbase.cxx.
References m_propsDesc.
Referenced by copyValuesFrom().
|
overridevirtual |
Definition at line 146 of file pq_xbase.cxx.
References m_supportedServices.
|
overridevirtual |
Reimplemented in pq_sdbc_driver::Index, pq_sdbc_driver::IndexDescriptor, pq_sdbc_driver::Key, pq_sdbc_driver::KeyDescriptor, pq_sdbc_driver::Table, pq_sdbc_driver::TableDescriptor, pq_sdbc_driver::User, and pq_sdbc_driver::View.
Definition at line 152 of file pq_xbase.cxx.
References cppu::OPropertySetHelper::getTypes(), and m_xMutex.
Referenced by pq_sdbc_driver::IndexDescriptor::getTypes(), pq_sdbc_driver::KeyDescriptor::getTypes(), and pq_sdbc_driver::TableDescriptor::getTypes().
|
overridevirtual |
Reimplemented from cppu::OPropertySetHelper.
Reimplemented in pq_sdbc_driver::Index, pq_sdbc_driver::IndexDescriptor, pq_sdbc_driver::Key, pq_sdbc_driver::KeyDescriptor, pq_sdbc_driver::Table, pq_sdbc_driver::TableDescriptor, pq_sdbc_driver::User, and pq_sdbc_driver::View.
Definition at line 163 of file pq_xbase.cxx.
References Any.
Referenced by pq_sdbc_driver::IndexDescriptor::queryInterface(), pq_sdbc_driver::KeyDescriptor::queryInterface(), and pq_sdbc_driver::TableDescriptor::queryInterface().
|
inlineoverridevirtualnoexcept |
Reimplemented in pq_sdbc_driver::Index, pq_sdbc_driver::IndexDescriptor, pq_sdbc_driver::Key, pq_sdbc_driver::KeyDescriptor, pq_sdbc_driver::Table, pq_sdbc_driver::TableDescriptor, pq_sdbc_driver::User, and pq_sdbc_driver::View.
Definition at line 84 of file pq_xbase.hxx.
Referenced by pq_sdbc_driver::Index::release(), pq_sdbc_driver::IndexDescriptor::release(), pq_sdbc_driver::Key::release(), pq_sdbc_driver::KeyDescriptor::release(), pq_sdbc_driver::Table::release(), pq_sdbc_driver::TableDescriptor::release(), pq_sdbc_driver::User::release(), and pq_sdbc_driver::View::release().
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 108 of file pq_xbase.cxx.
References m_values, and nHandle.
Referenced by setPropertyValue_NoBroadcast_public().
|
overridevirtual |
Reimplemented in pq_sdbc_driver::Table, and pq_sdbc_driver::View.
Definition at line 205 of file pq_xbase.cxx.
void pq_sdbc_driver::ReflectionBase::setPropertyValue_NoBroadcast_public | ( | const OUString & | name, |
const css::uno::Any & | value | ||
) |
Definition at line 95 of file pq_xbase.cxx.
References cppu::IPropertyArrayHelper::getHandleByName(), m_implName, m_propsDesc, name, nHandle, setFastPropertyValue_NoBroadcast(), and value.
Referenced by pq_sdbc_driver::columnMetaData2SDBCX(), and copyValuesFrom().
|
overridevirtual |
Definition at line 141 of file pq_xbase.cxx.
References ServiceName, and cppu::supportsService().
|
protected |
Definition at line 62 of file pq_xbase.hxx.
Referenced by pq_sdbc_driver::ColumnDescriptor::createDataDescriptor(), pq_sdbc_driver::IndexDescriptor::createDataDescriptor(), pq_sdbc_driver::IndexColumn::createDataDescriptor(), pq_sdbc_driver::IndexColumnDescriptor::createDataDescriptor(), pq_sdbc_driver::KeyDescriptor::createDataDescriptor(), pq_sdbc_driver::KeyColumn::createDataDescriptor(), pq_sdbc_driver::KeyColumnDescriptor::createDataDescriptor(), pq_sdbc_driver::TableDescriptor::createDataDescriptor(), pq_sdbc_driver::UserDescriptor::createDataDescriptor(), pq_sdbc_driver::ViewDescriptor::createDataDescriptor(), pq_sdbc_driver::IndexDescriptor::getColumns(), pq_sdbc_driver::KeyDescriptor::getColumns(), pq_sdbc_driver::TableDescriptor::getColumns(), pq_sdbc_driver::TableDescriptor::getIndexes(), and pq_sdbc_driver::TableDescriptor::getKeys().
|
protected |
Definition at line 59 of file pq_xbase.hxx.
Referenced by getImplementationName(), and setPropertyValue_NoBroadcast_public().
|
protected |
Definition at line 64 of file pq_xbase.hxx.
Referenced by getInfoHelper(), getPropertySetInfo(), and setPropertyValue_NoBroadcast_public().
|
protected |
Definition at line 63 of file pq_xbase.hxx.
Referenced by pq_sdbc_driver::ColumnDescriptor::createDataDescriptor(), pq_sdbc_driver::IndexDescriptor::createDataDescriptor(), pq_sdbc_driver::IndexColumn::createDataDescriptor(), pq_sdbc_driver::IndexColumnDescriptor::createDataDescriptor(), pq_sdbc_driver::KeyDescriptor::createDataDescriptor(), pq_sdbc_driver::KeyColumn::createDataDescriptor(), pq_sdbc_driver::KeyColumnDescriptor::createDataDescriptor(), pq_sdbc_driver::TableDescriptor::createDataDescriptor(), pq_sdbc_driver::UserDescriptor::createDataDescriptor(), pq_sdbc_driver::ViewDescriptor::createDataDescriptor(), pq_sdbc_driver::IndexDescriptor::getColumns(), pq_sdbc_driver::KeyDescriptor::getColumns(), pq_sdbc_driver::TableDescriptor::getColumns(), pq_sdbc_driver::TableDescriptor::getIndexes(), and pq_sdbc_driver::TableDescriptor::getKeys().
|
protected |
Definition at line 60 of file pq_xbase.hxx.
Referenced by getSupportedServiceNames().
|
protected |
Definition at line 65 of file pq_xbase.hxx.
Referenced by convertFastPropertyValue(), pq_sdbc_driver::TableDescriptor::createDataDescriptor(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 61 of file pq_xbase.hxx.
Referenced by pq_sdbc_driver::ColumnDescriptor::createDataDescriptor(), pq_sdbc_driver::IndexDescriptor::createDataDescriptor(), pq_sdbc_driver::IndexColumn::createDataDescriptor(), pq_sdbc_driver::IndexColumnDescriptor::createDataDescriptor(), pq_sdbc_driver::KeyDescriptor::createDataDescriptor(), pq_sdbc_driver::KeyColumn::createDataDescriptor(), pq_sdbc_driver::KeyColumnDescriptor::createDataDescriptor(), pq_sdbc_driver::TableDescriptor::createDataDescriptor(), pq_sdbc_driver::UserDescriptor::createDataDescriptor(), pq_sdbc_driver::ViewDescriptor::createDataDescriptor(), pq_sdbc_driver::IndexDescriptor::getColumns(), pq_sdbc_driver::KeyDescriptor::getColumns(), pq_sdbc_driver::TableDescriptor::getColumns(), pq_sdbc_driver::TableDescriptor::getIndexes(), pq_sdbc_driver::TableDescriptor::getKeys(), and getTypes().