LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
sc::SQLDataProvider Class Reference

#include <sqldataprovider.hxx>

Inheritance diagram for sc::SQLDataProvider:
[legend]
Collaboration diagram for sc::SQLDataProvider:
[legend]

Public Member Functions

 SQLDataProvider (ScDocument *pDoc, sc::ExternalDataSource &rDataSource)
 
virtual ~SQLDataProvider () override
 
virtual void Import () override
 
virtual const OUString & GetURL () const override
 
void ImportFinished ()
 
- Public Member Functions inherited from sc::DataProvider
 DataProvider (sc::ExternalDataSource &rDataSource)
 
virtual ~DataProvider ()
 
virtual void Import ()=0
 
virtual const OUString & GetURL () const =0
 
void setDeterministic ()
 

Private Attributes

ScDocumentmpDocument
 
rtl::Reference< SQLFetchThreadmxSQLFetchThread
 
ScDocumentUniquePtr mpDoc
 

Additional Inherited Members

- Static Public Member Functions inherited from sc::DataProvider
static std::unique_ptr< SvStreamFetchStreamFromURL (const OUString &, OStringBuffer &rBuffer)
 
- Protected Attributes inherited from sc::DataProvider
bool mbDeterministic
 If true make the threaded import deterministic for the tests. More...
 
sc::ExternalDataSourcemrDataSource
 

Detailed Description

Definition at line 18 of file sqldataprovider.hxx.

Constructor & Destructor Documentation

◆ SQLDataProvider()

sc::SQLDataProvider::SQLDataProvider ( ScDocument pDoc,
sc::ExternalDataSource rDataSource 
)

Definition at line 125 of file sqldataprovider.cxx.

◆ ~SQLDataProvider()

sc::SQLDataProvider::~SQLDataProvider ( )
overridevirtual

Definition at line 131 of file sqldataprovider.cxx.

References mxSQLFetchThread.

Member Function Documentation

◆ GetURL()

const OUString & sc::SQLDataProvider::GetURL ( ) const
overridevirtual

◆ Import()

void sc::SQLDataProvider::Import ( )
overridevirtual

◆ ImportFinished()

void sc::SQLDataProvider::ImportFinished ( )

Member Data Documentation

◆ mpDoc

ScDocumentUniquePtr sc::SQLDataProvider::mpDoc
private

Definition at line 24 of file sqldataprovider.hxx.

Referenced by Import(), and ImportFinished().

◆ mpDocument

ScDocument* sc::SQLDataProvider::mpDocument
private

Definition at line 21 of file sqldataprovider.hxx.

Referenced by Import().

◆ mxSQLFetchThread

rtl::Reference<SQLFetchThread> sc::SQLDataProvider::mxSQLFetchThread
private

Definition at line 22 of file sqldataprovider.hxx.

Referenced by Import(), ImportFinished(), and ~SQLDataProvider().


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