Qore DataProvider Module Reference  2.0
AbstractDataProviderFactory.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace DataProvider {
29 
30 public:
31 
32 
34  AbstractDataProvider create(*hash<auto> options);
35 
36 
38 
42  hash<auto> getInfoAsData(*bool with_type_info);
43 
44 
46 protected:
47  error(string err, string fmt);
48 public:
49 
50 
52  abstract string getName();
53 
55 
57  abstract hash<DataProviderInfo> getInfo();
58 
60  abstract Class getClass();
61 };
62 };
Data provider factory class.
Definition: AbstractDataProviderFactory.qc.dox.h:28
abstract Class getClass()
Returns the class for the data provider object.
AbstractDataProvider create(*hash< auto > options)
Creates an object from the given constructor options.
abstract hash< DataProviderInfo > getInfo()
Returns static provider information.
abstract string getName()
Returns the name of the data provider factory.
error(string err, string fmt)
thrown an exception
hash< auto > getInfoAsData(*bool with_type_info)
Returns static provider information as data; no objects are returned.
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:260
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27