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

◆ DataProvider()

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

Definition at line 206 of file dataprovider.cxx.

◆ ~DataProvider()

sc::DataProvider::~DataProvider ( )
virtual

Definition at line 217 of file dataprovider.cxx.

Member Function Documentation

◆ FetchStreamFromURL()

std::unique_ptr< SvStream > sc::DataProvider::FetchStreamFromURL ( const OUString &  rURL,
OStringBuffer &  rBuffer 
)
static

◆ GetURL()

virtual const OUString & sc::DataProvider::GetURL ( ) const
pure virtual

◆ Import()

virtual void sc::DataProvider::Import ( )
pure virtual

◆ setDeterministic()

void sc::DataProvider::setDeterministic ( )

Definition at line 212 of file dataprovider.cxx.

References mbDeterministic.

Member Data Documentation

◆ mbDeterministic

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::HTMLDataProvider::Import(), sc::SQLDataProvider::Import(), sc::XMLDataProvider::Import(), sc::CSVDataProvider::Import(), and setDeterministic().

◆ mrDataSource

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

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