KexiPart::DataSource Class Referenceabstract
#include <kexipartdatasource.h>
Public Member Functions | |
| DataSource (Part *part) | |
| virtual KexiDB::FieldList * | fields (KexiProject *project, const KexiPart::Item &i)=0 |
| virtual KexiDB::Cursor * | cursor (KexiProject *project, const KexiPart::Item &i, bool buffer)=0 |
| Part * | part () const |
Detailed Description
this class provides a datasource framework for e.g.
tables and queries using this framework one can query for
- a list of datasources
- the fileds in datasources
- variables (e.g. query variables)
Definition at line 43 of file kexipartdatasource.h.
Constructor & Destructor Documentation
◆ DataSource()
| DataSource::DataSource | ( | Part * | part | ) |
Definition at line 37 of file kexipartdatasource.cpp.
◆ ~DataSource()
|
virtual |
Definition at line 43 of file kexipartdatasource.cpp.
Member Function Documentation
◆ cursor()
|
pure virtual |
- Returns
- the cursor
◆ fields()
|
pure virtual |
- Returns
- a list of fileds for the datasource
- id is the document id for the source
◆ part()
| Part * DataSource::part | ( | ) | const |
- Returns
- the part providing this datasource
Definition at line 48 of file kexipartdatasource.cpp.
The documentation for this class was generated from the following files:
