LibreOffice Module ucb (master)  1
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
hierarchy_ucp::HierarchyResultSetDataSupplier Class Reference

#include <hierarchydatasupplier.hxx>

Inheritance diagram for hierarchy_ucp::HierarchyResultSetDataSupplier:
[legend]
Collaboration diagram for hierarchy_ucp::HierarchyResultSetDataSupplier:
[legend]

Classes

struct  ResultListEntry
 

Public Member Functions

 HierarchyResultSetDataSupplier (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const rtl::Reference< HierarchyContent > &rContent, sal_Int32 nOpenMode)
 
virtual ~HierarchyResultSetDataSupplier () 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< ResultSetgetResultSet () const
 

Private Types

typedef std::vector< std::unique_ptr< ResultListEntry > > ResultList
 

Private Member Functions

bool checkResult (const HierarchyEntryData &rResult)
 

Private Attributes

osl::Mutex m_aMutex
 
ResultList m_aResults
 
rtl::Reference< HierarchyContentm_xContent
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
HierarchyEntry m_aFolder
 
HierarchyEntry::iterator m_aIterator
 
sal_Int32 m_nOpenMode
 
bool m_bCountFinal
 

Detailed Description

Definition at line 32 of file hierarchydatasupplier.hxx.

Member Typedef Documentation

typedef std::vector< std::unique_ptr<ResultListEntry> > hierarchy_ucp::HierarchyResultSetDataSupplier::ResultList
private

Definition at line 75 of file hierarchydatasupplier.hxx.

Constructor & Destructor Documentation

HierarchyResultSetDataSupplier::HierarchyResultSetDataSupplier ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const rtl::Reference< HierarchyContent > &  rContent,
sal_Int32  nOpenMode 
)

Definition at line 41 of file hierarchydatasupplier.cxx.

References get(), getIdentifier(), m_xContent, and m_xContext.

HierarchyResultSetDataSupplier::~HierarchyResultSetDataSupplier ( )
overridevirtual

Definition at line 56 of file hierarchydatasupplier.cxx.

Member Function Documentation

bool HierarchyResultSetDataSupplier::checkResult ( const HierarchyEntryData rResult)
private
void HierarchyResultSetDataSupplier::close ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 319 of file hierarchydatasupplier.cxx.

sal_uInt32 HierarchyResultSetDataSupplier::currentCount ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 257 of file hierarchydatasupplier.cxx.

References m_aResults.

bool HierarchyResultSetDataSupplier::getResult ( sal_uInt32  nIndex)
overridevirtual
bool HierarchyResultSetDataSupplier::isCountFinal ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 264 of file hierarchydatasupplier.cxx.

References m_bCountFinal.

uno::Reference< ucb::XContent > HierarchyResultSetDataSupplier::queryContent ( sal_uInt32  nIndex)
overridevirtual
uno::Reference< ucb::XContentIdentifier > HierarchyResultSetDataSupplier::queryContentIdentifier ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 96 of file hierarchydatasupplier.cxx.

References aId, m_aMutex, m_aResults, queryContentIdentifierString(), and xId.

Referenced by queryContent().

OUString HierarchyResultSetDataSupplier::queryContentIdentifierString ( sal_uInt32  nIndex)
overridevirtual
uno::Reference< sdbc::XRow > HierarchyResultSetDataSupplier::queryPropertyValues ( sal_uInt32  nIndex)
overridevirtual
void HierarchyResultSetDataSupplier::releasePropertyValues ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 309 of file hierarchydatasupplier.cxx.

References m_aMutex, m_aResults, and xRow.

sal_uInt32 HierarchyResultSetDataSupplier::totalCount ( )
overridevirtual
void HierarchyResultSetDataSupplier::validate ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 325 of file hierarchydatasupplier.cxx.

Member Data Documentation

HierarchyEntry hierarchy_ucp::HierarchyResultSetDataSupplier::m_aFolder
private

Definition at line 80 of file hierarchydatasupplier.hxx.

Referenced by getResult(), and totalCount().

HierarchyEntry::iterator hierarchy_ucp::HierarchyResultSetDataSupplier::m_aIterator
private

Definition at line 81 of file hierarchydatasupplier.hxx.

Referenced by getResult(), and totalCount().

osl::Mutex hierarchy_ucp::HierarchyResultSetDataSupplier::m_aMutex
private
ResultList hierarchy_ucp::HierarchyResultSetDataSupplier::m_aResults
private
bool hierarchy_ucp::HierarchyResultSetDataSupplier::m_bCountFinal
private

Definition at line 83 of file hierarchydatasupplier.hxx.

Referenced by getResult(), isCountFinal(), and totalCount().

sal_Int32 hierarchy_ucp::HierarchyResultSetDataSupplier::m_nOpenMode
private

Definition at line 82 of file hierarchydatasupplier.hxx.

Referenced by checkResult().

rtl::Reference< HierarchyContent > hierarchy_ucp::HierarchyResultSetDataSupplier::m_xContent
private
css::uno::Reference< css::uno::XComponentContext > hierarchy_ucp::HierarchyResultSetDataSupplier::m_xContext
private

Definition at line 79 of file hierarchydatasupplier.hxx.

Referenced by queryPropertyValues().


The documentation for this class was generated from the following files: