|
LibreOffice Module ucb (master) 1
|
#include <pkgdatasupplier.hxx>
Classes | |
| struct | ResultListEntry |
Public Member Functions | |
| DataSupplier (css::uno::Reference< css::uno::XComponentContext > xContext, const rtl::Reference< Content > &rContent) | |
| virtual | ~DataSupplier () override |
| virtual OUString | queryContentIdentifierString (sal_uInt32 nIndex) override |
| virtual css::uno::Reference< css::ucb::XContentIdentifier > | queryContentIdentifier (sal_uInt32 nIndex) override |
| virtual css::uno::Reference< css::ucb::XContent > | queryContent (sal_uInt32 nIndex) override |
| virtual bool | getResult (sal_uInt32 nIndex) override |
| virtual sal_uInt32 | totalCount () override |
| virtual sal_uInt32 | currentCount () override |
| virtual bool | isCountFinal () override |
| virtual css::uno::Reference< css::sdbc::XRow > | queryPropertyValues (sal_uInt32 nIndex) override |
| virtual void | releasePropertyValues (sal_uInt32 nIndex) override |
| virtual void | close () override |
| virtual void | validate () override |
| OUString | assembleChildURL (const OUString &aName) |
Public Member Functions inherited from ucbhelper::ResultSetDataSupplier | |
| ResultSetDataSupplier () | |
| rtl::Reference< ResultSet > | getResultSet () const |
| virtual OUString | queryContentIdentifierString (sal_uInt32 nIndex)=0 |
| virtual css::uno::Reference< css::ucb::XContentIdentifier > | queryContentIdentifier (sal_uInt32 nIndex)=0 |
| virtual css::uno::Reference< css::ucb::XContent > | queryContent (sal_uInt32 nIndex)=0 |
| virtual bool | getResult (sal_uInt32 nIndex)=0 |
| virtual sal_uInt32 | totalCount ()=0 |
| virtual sal_uInt32 | currentCount ()=0 |
| virtual bool | isCountFinal ()=0 |
| virtual css::uno::Reference< css::sdbc::XRow > | queryPropertyValues (sal_uInt32 nIndex)=0 |
| virtual void | releasePropertyValues (sal_uInt32 nIndex)=0 |
| virtual void | close ()=0 |
| virtual void | validate ()=0 |
Private Member Functions | |
| bool | getResultImpl (std::unique_lock< std::mutex > &, sal_uInt32 nIndex) |
| OUString | queryContentIdentifierStringImpl (std::unique_lock< std::mutex > &, sal_uInt32 nIndex) |
| css::uno::Reference< css::ucb::XContentIdentifier > | queryContentIdentifierImpl (std::unique_lock< std::mutex > &, sal_uInt32 nIndex) |
Private Attributes | |
| std::mutex | m_aMutex |
| std::vector< ResultListEntry > | m_aResults |
| rtl::Reference< Content > | m_xContent |
| css::uno::Reference< css::uno::XComponentContext > | m_xContext |
| css::uno::Reference< css::container::XEnumeration > | m_xFolderEnum |
| bool | m_bCountFinal |
| bool | m_bThrowException |
Definition at line 33 of file pkgdatasupplier.hxx.
| package_ucp::DataSupplier::DataSupplier | ( | css::uno::Reference< css::uno::XComponentContext > | xContext, |
| const rtl::Reference< Content > & | rContent | ||
| ) |
|
overridevirtual |
Definition at line 57 of file pkgdatasupplier.cxx.
| OUString DataSupplier::assembleChildURL | ( | const OUString & | aName | ) |
Definition at line 394 of file pkgdatasupplier.cxx.
References aName, aURL, ucb_impl::urihelper::encodeSegment(), and m_xContent.
Referenced by getResultImpl(), and totalCount().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 381 of file pkgdatasupplier.cxx.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 325 of file pkgdatasupplier.cxx.
References m_aResults.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 162 of file pkgdatasupplier.cxx.
References getResultImpl(), m_aMutex, and nIndex.
|
private |
Definition at line 168 of file pkgdatasupplier.cxx.
References aName, assembleChildURL(), aURL, ucbhelper::ResultSetDataSupplier::getResultSet(), m_aResults, m_bCountFinal, m_bThrowException, m_xFolderEnum, nIndex, and nPos.
Referenced by getResult(), queryContentIdentifierStringImpl(), and queryPropertyValues().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 332 of file pkgdatasupplier.cxx.
References m_bCountFinal.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 125 of file pkgdatasupplier.cxx.
References m_aMutex, m_aResults, m_xContent, nIndex, and queryContentIdentifierImpl().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 92 of file pkgdatasupplier.cxx.
References m_aMutex, nIndex, and queryContentIdentifierImpl().
|
private |
Definition at line 99 of file pkgdatasupplier.cxx.
References m_aResults, nIndex, and queryContentIdentifierStringImpl().
Referenced by queryContent(), and queryContentIdentifier().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 63 of file pkgdatasupplier.cxx.
References m_aMutex, nIndex, and queryContentIdentifierStringImpl().
|
private |
Definition at line 69 of file pkgdatasupplier.cxx.
References getResultImpl(), m_aResults, and nIndex.
Referenced by queryContentIdentifierImpl(), queryContentIdentifierString(), and queryPropertyValues().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 339 of file pkgdatasupplier.cxx.
References package_ucp::Content::getPropertyValues(), getResultImpl(), ucbhelper::ResultSetDataSupplier::getResultSet(), m_aMutex, m_aResults, m_xContent, m_xContext, nIndex, and queryContentIdentifierStringImpl().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 371 of file pkgdatasupplier.cxx.
References m_aMutex, m_aResults, and nIndex.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 258 of file pkgdatasupplier.cxx.
References aName, assembleChildURL(), aURL, ucbhelper::ResultSetDataSupplier::getResultSet(), m_aMutex, m_aResults, m_bCountFinal, m_bThrowException, and m_xFolderEnum.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 387 of file pkgdatasupplier.cxx.
References m_bThrowException.
|
private |
Definition at line 76 of file pkgdatasupplier.hxx.
Referenced by getResult(), queryContent(), queryContentIdentifier(), queryContentIdentifierString(), queryPropertyValues(), releasePropertyValues(), and totalCount().
|
private |
Definition at line 77 of file pkgdatasupplier.hxx.
Referenced by currentCount(), getResultImpl(), queryContent(), queryContentIdentifierImpl(), queryContentIdentifierStringImpl(), queryPropertyValues(), releasePropertyValues(), and totalCount().
|
private |
Definition at line 81 of file pkgdatasupplier.hxx.
Referenced by getResultImpl(), isCountFinal(), and totalCount().
|
private |
Definition at line 82 of file pkgdatasupplier.hxx.
Referenced by getResultImpl(), totalCount(), and validate().
|
private |
Definition at line 78 of file pkgdatasupplier.hxx.
Referenced by assembleChildURL(), queryContent(), and queryPropertyValues().
|
private |
Definition at line 79 of file pkgdatasupplier.hxx.
Referenced by queryPropertyValues().
|
private |
Definition at line 80 of file pkgdatasupplier.hxx.
Referenced by getResultImpl(), and totalCount().