LibreOffice Module dbaccess (master) 1
|
#include <myucp_datasupplier.hxx>
Public Member Functions | |
DataSupplier (const rtl::Reference< ODocumentContainer > &rxContent) | |
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 |
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 Attributes | |
osl::Mutex | m_aMutex |
std::vector< std::unique_ptr< ResultListEntry > > | m_aResults |
rtl::Reference< ODocumentContainer > | m_xContent |
bool | m_bCountFinal = false |
Definition at line 44 of file myucp_datasupplier.hxx.
|
explicit |
Definition at line 38 of file myucp_datasupplier.cxx.
References m_xContent.
|
overridevirtual |
Definition at line 43 of file myucp_datasupplier.cxx.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 278 of file myucp_datasupplier.cxx.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 232 of file myucp_datasupplier.cxx.
References m_aResults.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 138 of file myucp_datasupplier.cxx.
References aSeq, ucbhelper::ResultSetDataSupplier::getResultSet(), m_aMutex, m_aResults, m_bCountFinal, m_xContent, nIndex, and nPos.
Referenced by queryContentIdentifierString(), and queryPropertyValues().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 237 of file myucp_datasupplier.cxx.
References m_bCountFinal.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 102 of file myucp_datasupplier.cxx.
References m_aMutex, m_aResults, m_xContent, queryContentIdentifier(), and sName.
Referenced by queryPropertyValues().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 77 of file myucp_datasupplier.cxx.
References m_aMutex, m_aResults, nIndex, and queryContentIdentifierString().
Referenced by queryContent().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 47 of file myucp_datasupplier.cxx.
References getResult(), m_aMutex, m_aResults, m_xContent, and nIndex.
Referenced by queryContentIdentifier().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 243 of file myucp_datasupplier.cxx.
References getResult(), ucbhelper::ResultSetDataSupplier::getResultSet(), m_aMutex, m_aResults, nIndex, and queryContent().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 270 of file myucp_datasupplier.cxx.
References m_aMutex, m_aResults, and nIndex.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 198 of file myucp_datasupplier.cxx.
References aSeq, ucbhelper::ResultSetDataSupplier::getResultSet(), m_aMutex, m_aResults, m_bCountFinal, and m_xContent.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 282 of file myucp_datasupplier.cxx.
|
private |
Definition at line 46 of file myucp_datasupplier.hxx.
Referenced by getResult(), queryContent(), queryContentIdentifier(), queryContentIdentifierString(), queryPropertyValues(), releasePropertyValues(), and totalCount().
|
private |
Definition at line 47 of file myucp_datasupplier.hxx.
Referenced by currentCount(), getResult(), queryContent(), queryContentIdentifier(), queryContentIdentifierString(), queryPropertyValues(), releasePropertyValues(), and totalCount().
|
private |
Definition at line 49 of file myucp_datasupplier.hxx.
Referenced by getResult(), isCountFinal(), and totalCount().
|
private |
Definition at line 48 of file myucp_datasupplier.hxx.
Referenced by getResult(), queryContent(), queryContentIdentifierString(), and totalCount().