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 (rtl::Reference< Content > xContent, 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
 
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 getData ()
 

Private Attributes

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

Detailed Description

Definition at line 53 of file gio_datasupplier.hxx.

Constructor & Destructor Documentation

◆ DataSupplier()

gio::DataSupplier::DataSupplier ( rtl::Reference< Content xContent,
sal_Int32  nOpenMode 
)

◆ ~DataSupplier()

gio::DataSupplier::~DataSupplier ( )
overridevirtual

Definition at line 80 of file gio_datasupplier.cxx.

Member Function Documentation

◆ close()

void gio::DataSupplier::close ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 247 of file gio_datasupplier.cxx.

◆ currentCount()

sal_uInt32 gio::DataSupplier::currentCount ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 188 of file gio_datasupplier.cxx.

References maResults.

◆ getData()

bool gio::DataSupplier::getData ( )
private

Definition at line 39 of file gio_datasupplier.cxx.

References maResults, mbCountFinal, mnOpenMode, and mxContent.

Referenced by getResult(), and totalCount().

◆ getResult()

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

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 171 of file gio_datasupplier.cxx.

References getData(), maResults, and nIndex.

Referenced by queryContentIdentifierString(), and queryPropertyValues().

◆ isCountFinal()

bool gio::DataSupplier::isCountFinal ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 193 of file gio_datasupplier.cxx.

References mbCountFinal.

◆ queryContent()

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

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 143 of file gio_datasupplier.cxx.

References maResults, mxContent, nIndex, and queryContentIdentifier().

Referenced by queryPropertyValues().

◆ queryContentIdentifier()

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

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 120 of file gio_datasupplier.cxx.

References maResults, nIndex, and queryContentIdentifierString().

Referenced by queryContent().

◆ queryContentIdentifierString()

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

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 84 of file gio_datasupplier.cxx.

References getResult(), maResults, mxContent, and nIndex.

Referenced by queryContentIdentifier().

◆ queryPropertyValues()

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

◆ releasePropertyValues()

void gio::DataSupplier::releasePropertyValues ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 241 of file gio_datasupplier.cxx.

References maResults, and nIndex.

◆ totalCount()

sal_uInt32 gio::DataSupplier::totalCount ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 182 of file gio_datasupplier.cxx.

References getData(), and maResults.

◆ validate()

void gio::DataSupplier::validate ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 251 of file gio_datasupplier.cxx.

Member Data Documentation

◆ maResults

ResultList gio::DataSupplier::maResults
private

◆ mbCountFinal

bool gio::DataSupplier::mbCountFinal
private

Definition at line 58 of file gio_datasupplier.hxx.

Referenced by getData(), and isCountFinal().

◆ mnOpenMode

sal_Int32 gio::DataSupplier::mnOpenMode
private

Definition at line 57 of file gio_datasupplier.hxx.

Referenced by getData().

◆ mxContent

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

Definition at line 56 of file gio_datasupplier.hxx.

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


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