LibreOffice Module ucb (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
gio::DataSupplier Class Reference

#include <gio_datasupplier.hxx>

Inheritance diagram for gio::DataSupplier:
[legend]
Collaboration diagram for gio::DataSupplier:
[legend]

Public Member Functions

 DataSupplier (const rtl::Reference< Content > &rContent, sal_Int32 nOpenMode)
 
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< ResultSetgetResultSet () const
 

Private Member Functions

bool getData ()
 

Private Attributes

rtl::Reference< ::gio::ContentmxContent
 
sal_Int32 const mnOpenMode
 
bool mbCountFinal
 
ResultList maResults
 

Detailed Description

Definition at line 54 of file gio_datasupplier.hxx.

Constructor & Destructor Documentation

gio::DataSupplier::DataSupplier ( const rtl::Reference< Content > &  rContent,
sal_Int32  nOpenMode 
)
gio::DataSupplier::~DataSupplier ( )
overridevirtual

Definition at line 84 of file gio_datasupplier.cxx.

Member Function Documentation

void gio::DataSupplier::close ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 251 of file gio_datasupplier.cxx.

sal_uInt32 gio::DataSupplier::currentCount ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 192 of file gio_datasupplier.cxx.

References maResults.

bool gio::DataSupplier::getData ( )
private

Definition at line 43 of file gio_datasupplier.cxx.

References maResults, mbCountFinal, mnOpenMode, and mxContent.

Referenced by getResult(), and totalCount().

bool gio::DataSupplier::getResult ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 175 of file gio_datasupplier.cxx.

References getData(), and maResults.

Referenced by queryContentIdentifierString(), and queryPropertyValues().

bool gio::DataSupplier::isCountFinal ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 197 of file gio_datasupplier.cxx.

References mbCountFinal.

uno::Reference< ucb::XContent > gio::DataSupplier::queryContent ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 147 of file gio_datasupplier.cxx.

References maResults, mxContent, and queryContentIdentifier().

Referenced by queryPropertyValues().

uno::Reference< ucb::XContentIdentifier > gio::DataSupplier::queryContentIdentifier ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 124 of file gio_datasupplier.cxx.

References maResults, and queryContentIdentifierString().

Referenced by queryContent().

OUString gio::DataSupplier::queryContentIdentifierString ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 88 of file gio_datasupplier.cxx.

References getResult(), maResults, and mxContent.

Referenced by queryContentIdentifier().

uno::Reference< sdbc::XRow > gio::DataSupplier::queryPropertyValues ( sal_uInt32  nIndex)
overridevirtual
void gio::DataSupplier::releasePropertyValues ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 245 of file gio_datasupplier.cxx.

References maResults.

sal_uInt32 gio::DataSupplier::totalCount ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 186 of file gio_datasupplier.cxx.

References getData(), and maResults.

void gio::DataSupplier::validate ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 255 of file gio_datasupplier.cxx.

Member Data Documentation

ResultList gio::DataSupplier::maResults
private
bool gio::DataSupplier::mbCountFinal
private

Definition at line 59 of file gio_datasupplier.hxx.

Referenced by getData(), and isCountFinal().

sal_Int32 const gio::DataSupplier::mnOpenMode
private

Definition at line 58 of file gio_datasupplier.hxx.

Referenced by getData().

rtl::Reference< ::gio::Content > gio::DataSupplier::mxContent
private

Definition at line 57 of file gio_datasupplier.hxx.

Referenced by getData(), queryContent(), and queryContentIdentifierString().


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