Provides a data provider for reading EXCEL files.
More...
#include <ExcelWorksheetReadDataProvider.qc.dox.h>
Inherits DataProvider::AbstractDataProvider.
|
| void | constructor (soft< hash< auto > > opts, string sheet, InputStream i, string name) |
| | Creates the ExcelReadDataProvider with the input stream, name, sheet name, and optionally an option hash.
|
| |
| void | constructor (soft< hash< auto > > opts, string sheet, string path, string name) |
| | Creates the ExcelReadDataProvider with the input data path, name, sheet name, and optionally an option hash.
|
| |
|
void | setup (soft< hash< auto > > opts, string name, string sheet) |
| | Common constructor code.
|
| |
|
void | setOptions () |
| | Common setup code.
|
| |
|
string | getName () |
| | Returns the object name.
|
| |
| AbstractDataProviderRecordIterator | searchRecordsImpl (soft< hash< auto > > where_cond, soft< hash< auto > > search_options) |
| | Returns an iterator for zero or more records matching the search options.
|
| |
|
soft< hash< string, AbstractDataField > > | getRecordTypeImpl (soft< hash< auto > > search_options) |
| | Returns the description of the record type, if any.
|
| |
|
hash< DataProviderInfo > | getStaticInfoImpl () |
| | Returns data provider static info.
|
| |
|
|
const auto | ProviderInfo = ... |
| | Provider info.
|
| |
|
|
ExcelIterator | i |
| | the iterator object
|
| |
|
string | name |
| | the name of the object
|
| |
|
string | sheet |
| | the name of the worksheet
|
| |
|
soft< hash< auto > > | opts |
| | Excel iteration options.
|
| |
Provides a data provider for reading EXCEL files.
◆ constructor() [1/2]
| void ExcelDataProvider::ExcelWorksheetReadDataProvider::constructor |
( |
soft< hash< auto > > |
opts, |
|
|
string |
sheet, |
|
|
InputStream |
i, |
|
|
string |
name |
|
) |
| |
Creates the ExcelReadDataProvider with the input stream, name, sheet name, and optionally an option hash.
- Parameters
-
| i | the input stream |
| name | the name of the object |
| sheet | the name of the current worksheet |
| opts | a hash of optional options, must be already processed for validity |
◆ constructor() [2/2]
| void ExcelDataProvider::ExcelWorksheetReadDataProvider::constructor |
( |
soft< hash< auto > > |
opts, |
|
|
string |
sheet, |
|
|
string |
path, |
|
|
string |
name |
|
) |
| |
Creates the ExcelReadDataProvider with the input data path, name, sheet name, and optionally an option hash.
- Parameters
-
| path | the path to the input file |
| name | the name of the object |
| sheet | the name of the current worksheet |
| opts | a hash of optional options, must be already processed for validity |
◆ searchRecordsImpl()
| AbstractDataProviderRecordIterator ExcelDataProvider::ExcelWorksheetReadDataProvider::searchRecordsImpl |
( |
soft< hash< auto > > |
where_cond, |
|
|
soft< hash< auto > > |
search_options |
|
) |
| |
Returns an iterator for zero or more records matching the search options.
- Parameters
-
| where_cond | the search criteria |
| search_options | the search options after processing by validateSearchOptions() |
The documentation for this class was generated from the following file:
- doxygen/qlib/ExcelDataProvider/ExcelWorksheetReadDataProvider.qc.dox.h