LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
sc::DataProvider Class Referenceabstract

Abstract class for all data provider. More...

#include <dataprovider.hxx>

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

Public Member Functions

 DataProvider (sc::ExternalDataSource &rDataSource)
 
virtual ~DataProvider ()
 
virtual void Import ()=0
 
virtual const OUString & GetURL () const =0
 
void setDeterministic ()
 

Static Public Member Functions

static std::unique_ptr< SvStreamFetchStreamFromURL (const OUString &, OStringBuffer &rBuffer)
 

Protected Attributes

bool mbDeterministic
 If true make the threaded import deterministic for the tests. More...
 
sc::ExternalDataSourcemrDataSource
 

Detailed Description

Abstract class for all data provider.

Definition at line 67 of file dataprovider.hxx.

Constructor & Destructor Documentation

sc::DataProvider::DataProvider ( sc::ExternalDataSource rDataSource)

Definition at line 204 of file dataprovider.cxx.

sc::DataProvider::~DataProvider ( )
virtual

Definition at line 215 of file dataprovider.cxx.

Member Function Documentation

std::unique_ptr< SvStream > sc::DataProvider::FetchStreamFromURL ( const OUString &  rURL,
OStringBuffer &  rBuffer 
)
static
virtual const OUString& sc::DataProvider::GetURL ( ) const
pure virtual
virtual void sc::DataProvider::Import ( )
pure virtual
void sc::DataProvider::setDeterministic ( )

Definition at line 210 of file dataprovider.cxx.

References mbDeterministic.

Member Data Documentation

bool sc::DataProvider::mbDeterministic
protected

If true make the threaded import deterministic for the tests.

Definition at line 73 of file dataprovider.hxx.

Referenced by sc::XMLDataProvider::Import(), sc::SQLDataProvider::Import(), sc::HTMLDataProvider::Import(), sc::CSVDataProvider::Import(), and setDeterministic().

sc::ExternalDataSource& sc::DataProvider::mrDataSource
protected

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