LibreOffice Module connectivity (master) 1
|
#include <VIndex.hxx>
Public Member Functions | |
OIndex (bool _bCase) | |
OIndex (const OUString &Name, OUString Catalog, bool _isUnique, bool _isPrimaryKeyIndex, bool _isClustered, bool _bCase) | |
virtual | ~OIndex () override |
DECLARE_SERVICE_INFO () | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual void | construct () override |
virtual void SAL_CALL | disposing () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL | getColumns () override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL | createDataDescriptor () override |
virtual void | refreshColumns ()=0 |
Public Member Functions inherited from comphelper::OIdPropertyArrayUsageHelper< class TYPE > | |
OIdPropertyArrayUsageHelper () | |
virtual | ~OIdPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper (sal_Int32 nId) |
Public Member Functions inherited from connectivity::sdbcx::ODescriptor | |
ODescriptor (::cppu::OBroadcastHelper &_rBHelper, bool _bCase, bool _bNew=false) | |
virtual | ~ODescriptor () override |
bool | isNew () const |
void | setNew (bool _bNew) |
bool | isCaseSensitive () const |
virtual void | construct () |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Protected Member Functions | |
virtual void | refreshColumns () override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper (sal_Int32 _nId) const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
Protected Member Functions inherited from connectivity::sdbcx::IRefreshableColumns | |
~IRefreshableColumns () | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper (sal_Int32 nId) const=0 |
Protected Member Functions inherited from connectivity::sdbcx::ODescriptor | |
::cppu::IPropertyArrayHelper * | doCreateArrayHelper () const |
helper for derived classes to implement OPropertyArrayUsageHelper::createArrayHelper More... | |
Protected Member Functions inherited from comphelper::OPropertyContainer | |
OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper) | |
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 |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override final |
virtual void | getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0 |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final |
Protected Member Functions inherited from comphelper::OPropertyContainerHelper | |
OPropertyContainerHelper () | |
~OPropertyContainerHelper () | |
void | registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType) |
void | registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType) |
void | registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue) |
void | revokeProperty (sal_Int32 _nHandle) |
bool | isRegisteredProperty (sal_Int32 _nHandle) const |
bool | isRegisteredProperty (const OUString &_rName) const |
bool | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) |
void | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) |
void | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const |
void | describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const |
const css::beans::Property & | getProperty (const OUString &_rName) const |
Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
~ImplHelper1 () SAL_NOEXCEPT | |
Protected Attributes | |
OUString | m_Catalog |
bool | m_IsUnique |
bool | m_IsPrimaryKeyIndex |
bool | m_IsClustered |
std::unique_ptr< OCollection > | m_pColumns |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from connectivity::sdbcx::ODescriptor | |
OUString | m_Name |
Additional Inherited Members | |
Static Public Member Functions inherited from connectivity::sdbcx::ODescriptor | |
static bool | isNew (const css::uno::Reference< css::uno::XInterface > &_rxDescriptor) |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Definition at line 39 of file VIndex.hxx.
OIndex::OIndex | ( | bool | _bCase | ) |
Definition at line 59 of file VIndex.cxx.
References m_aMutex.
OIndex::OIndex | ( | const OUString & | Name, |
OUString | Catalog, | ||
bool | _isUnique, | ||
bool | _isPrimaryKeyIndex, | ||
bool | _isClustered, | ||
bool | _bCase | ||
) |
Definition at line 67 of file VIndex.cxx.
References m_aMutex, connectivity::sdbcx::ODescriptor::m_Name, and Name.
|
overridevirtual |
Definition at line 82 of file VIndex.cxx.
|
overridevirtualnoexcept |
Definition at line 185 of file VIndex.cxx.
|
overridevirtual |
Reimplemented from connectivity::sdbcx::ODescriptor.
Definition at line 116 of file VIndex.cxx.
References connectivity::sdbcx::ODescriptor::construct(), connectivity::OMetaConnection::getPropMap(), connectivity::sdbcx::ODescriptor::isNew(), m_Catalog, m_IsClustered, m_IsPrimaryKeyIndex, m_IsUnique, PROPERTY_ID_CATALOG, PROPERTY_ID_ISCLUSTERED, PROPERTY_ID_ISPRIMARYKEYINDEX, PROPERTY_ID_ISUNIQUE, and comphelper::OPropertyContainerHelper::registerProperty().
Referenced by connectivity::ado::OAdoIndex::OAdoIndex(), connectivity::dbase::ODbaseIndex::ODbaseIndex(), and connectivity::OIndexHelper::OIndexHelper().
|
overrideprotectedvirtual |
Implements comphelper::OIdPropertyArrayUsageHelper< class TYPE >.
Definition at line 86 of file VIndex.cxx.
References connectivity::sdbcx::ODescriptor::doCreateArrayHelper().
|
overridevirtual |
Definition at line 161 of file VIndex.cxx.
References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.
connectivity::sdbcx::OIndex::DECLARE_SERVICE_INFO | ( | ) |
References queryInterface().
|
overridevirtual |
Definition at line 128 of file VIndex.cxx.
References comphelper::OPropertySetHelper::disposing(), cppu::BaseMutex::m_aMutex, and m_pColumns.
|
overridevirtual |
Definition at line 138 of file VIndex.cxx.
References connectivity::checkDisposed(), Exception, cppu::BaseMutex::m_aMutex, m_pColumns, refreshColumns(), and TOOLS_WARN_EXCEPTION.
|
overrideprotected |
Definition at line 91 of file VIndex.cxx.
References comphelper::OIdPropertyArrayUsageHelper< class TYPE >::getArrayHelper(), and connectivity::sdbcx::ODescriptor::isNew().
Referenced by getPropertySetInfo().
|
overridevirtual |
Definition at line 175 of file VIndex.cxx.
References connectivity::sdbcx::ODescriptor::m_Name.
|
overridevirtual |
Definition at line 170 of file VIndex.cxx.
References getInfoHelper().
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class Ifc1 >.
Definition at line 109 of file VIndex.cxx.
References connectivity::sdbcx::ODescriptor::getTypes(), cppu::ImplHelper1< class Ifc1 >::getTypes(), and connectivity::sdbcx::ODescriptor::isNew().
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class Ifc1 >.
Definition at line 96 of file VIndex.cxx.
References Any, connectivity::sdbcx::ODescriptor::isNew(), and cppu::ImplHelper1< class Ifc1 >::queryInterface().
|
overrideprotectedvirtual |
Implements connectivity::sdbcx::IRefreshableColumns.
Reimplemented in connectivity::OIndexHelper, connectivity::ado::OAdoIndex, and connectivity::dbase::ODbaseIndex.
Definition at line 195 of file VIndex.cxx.
Referenced by getColumns().
|
overridevirtualnoexcept |
Definition at line 190 of file VIndex.cxx.
|
overridevirtual |
Definition at line 180 of file VIndex.cxx.
|
protected |
Definition at line 48 of file VIndex.hxx.
Referenced by construct().
|
protected |
Definition at line 51 of file VIndex.hxx.
Referenced by construct(), and connectivity::ado::OAdoIndex::fillPropertyValues().
|
protected |
Definition at line 50 of file VIndex.hxx.
Referenced by construct(), and connectivity::ado::OAdoIndex::fillPropertyValues().
|
protected |
Definition at line 49 of file VIndex.hxx.
Referenced by construct(), connectivity::dbase::ODbaseIndex::CreateImpl(), connectivity::ado::OAdoIndex::fillPropertyValues(), and connectivity::dbase::ODbaseIndex::isUnique().
|
protected |
Definition at line 54 of file VIndex.hxx.
Referenced by connectivity::dbase::ODbaseIndex::CreateImpl(), disposing(), getColumns(), connectivity::OIndexHelper::OIndexHelper(), connectivity::OIndexHelper::refreshColumns(), connectivity::ado::OAdoIndex::refreshColumns(), and connectivity::dbase::ODbaseIndex::refreshColumns().