|
LibreOffice Module dbaccess (master) 1
|
#include <HelperCollections.hxx>
Public Member Functions | |
| OPrivateColumns (::rtl::Reference< ::connectivity::OSQLColumns > _xColumns, bool _bCase, ::cppu::OWeakObject &_rParent, ::osl::Mutex &_rMutex, const std::vector< OUString > &_rVector, bool _bUseAsIndex=false) | |
| virtual void | disposing () override |
Public Member Functions inherited from connectivity::sdbcx::OCollection | |
| virtual | ~OCollection () |
| DECLARE_SERVICE_INFO () | |
| void | reFill (const ::std::vector< OUString > &_rVector) |
| bool | isCaseSensitive () const |
| void | renameObject (const OUString &_sOldName, const OUString &_sNewName) |
| virtual void | disposing () |
| 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 &rType) override |
| virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
| virtual css::uno::Type SAL_CALL | getElementType () override |
| virtual sal_Bool SAL_CALL | hasElements () override |
| virtual sal_Int32 SAL_CALL | getCount () override |
| virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) 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::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
| 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 css::uno::Reference< css::beans::XPropertySet > SAL_CALL | createDataDescriptor () override |
| 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 sal_Int32 SAL_CALL | findColumn (const OUString &columnName) 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 |
Static Public Member Functions | |
| static std::unique_ptr< OPrivateColumns > | createWithIntrinsicNames (const ::rtl::Reference< ::connectivity::OSQLColumns > &_rColumns, bool _bCase, ::cppu::OWeakObject &_rParent, ::osl::Mutex &_rMutex) |
| creates a columns instance as above, but taking the names from the columns itself More... | |
Protected Member Functions | |
| virtual connectivity::sdbcx::ObjectType | createObject (const OUString &_rName) override |
| virtual void | impl_refresh () override |
| virtual Reference< XPropertySet > | createDescriptor () override |
Protected Member Functions inherited from connectivity::sdbcx::OCollection | |
| virtual void | impl_refresh ()=0 |
| virtual ObjectType | createObject (const OUString &_rName)=0 |
| virtual css::uno::Reference< css::beans::XPropertySet > | createDescriptor () |
| virtual ObjectType | appendObject (const OUString &_rForName, const css::uno::Reference< css::beans::XPropertySet > &descriptor) |
| virtual void | dropObject (sal_Int32 _nPos, const OUString &_sElementName) |
| virtual OUString | getNameForObject (const ObjectType &_xObject) |
| ObjectType | cloneDescriptor (const ObjectType &_descriptor) |
| OCollection (::cppu::OWeakObject &_rParent, bool _bCase, ::osl::Mutex &_rMutex, const ::std::vector< OUString > &_rVector, bool _bUseIndexOnly=false, bool _bUseHardRef=true) | |
| void | clear_NoDispose () |
| void | insertElement (const OUString &_sElementName, const ObjectType &_xElement) |
| ObjectType | getObject (sal_Int32 _nIndex) |
Private Attributes | |
| ::rtl::Reference< ::connectivity::OSQLColumns > | m_aColumns |
Additional Inherited Members | |
Protected Attributes inherited from connectivity::sdbcx::OCollection | |
| ::std::unique_ptr< IObjectCollection > | m_pElements |
| ::comphelper::OInterfaceContainerHelper3< css::container::XContainerListener > | m_aContainerListeners |
| ::comphelper::OInterfaceContainerHelper3< css::util::XRefreshListener > | m_aRefreshListeners |
| ::cppu::OWeakObject & | m_rParent |
| ::osl::Mutex & | m_rMutex |
| bool | m_bUseIndexOnly |
Definition at line 42 of file HelperCollections.hxx.
| dbaccess::OPrivateColumns::OPrivateColumns | ( | ::rtl::Reference< ::connectivity::OSQLColumns > | _xColumns, |
| bool | _bCase, | ||
| ::cppu::OWeakObject & | _rParent, | ||
| ::osl::Mutex & | _rMutex, | ||
| const std::vector< OUString > & | _rVector, | ||
| bool | _bUseAsIndex = false |
||
| ) |
Definition at line 43 of file HelperCollections.cxx.
Referenced by createWithIntrinsicNames().
|
inlineoverrideprotectedvirtual |
Reimplemented from connectivity::sdbcx::OCollection.
Definition at line 48 of file HelperCollections.hxx.
|
overrideprotectedvirtual |
Implements connectivity::sdbcx::OCollection.
Definition at line 78 of file HelperCollections.cxx.
References find(), findRealName(), connectivity::sdbcx::OCollection::isCaseSensitive(), and m_aColumns.
|
static |
creates a columns instance as above, but taking the names from the columns itself
Definition at line 54 of file HelperCollections.cxx.
References OPrivateColumns(), PROPERTY_NAME(), and xColumn.
Referenced by dbaccess::OSingleSelectQueryComposer::getColumns(), and dbaccess::OQuery::rebuildColumns().
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OCollection.
Definition at line 69 of file HelperCollections.cxx.
References connectivity::sdbcx::OCollection::clear_NoDispose(), connectivity::sdbcx::OCollection::disposing(), and m_aColumns.
Referenced by dbaccess::OSingleSelectQueryComposer::clearColumns().
|
inlineoverrideprotectedvirtual |
Implements connectivity::sdbcx::OCollection.
Definition at line 47 of file HelperCollections.hxx.
|
private |
Definition at line 44 of file HelperCollections.hxx.
Referenced by createObject(), and disposing().