Qore DataProvider Module Reference  1.0
AbstractDataProviderFactory.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 // minimum required Qore version
26 // assume local scope for variables, do not use "$" signs
27 // require type definitions everywhere
29 // enable all warnings
30 
32 namespace DataProvider {
35 
36 public:
37 
38 
40  AbstractDataProvider create(*hash<auto> options);
41 
42 
44 
46  hash<auto> getInfoAsData();
47 
48 
50 protected:
51  error(string err, string fmt);
52 public:
53 
54 
56  abstract string getName();
57 
59 
61  abstract hash<DataProviderInfo> getInfo();
62 
64  abstract Class getClass();
65 };
66 };
hash< auto > getInfoAsData()
Returns static provider information as data; no objects are returned.
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:194
abstract hash< DataProviderInfo > getInfo()
Returns static provider information.
error(string err, string fmt)
thrown an exception
Data provider factory class.
Definition: AbstractDataProviderFactory.qc.dox.h:34
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 string getName()
Returns the name of the data provider factory.
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32