Qore CdsRestDataProvider Module Reference  1.0.0
CdsRestDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace CdsRestDataProvider {
28 class CdsRestDataProvider : public DataProvider::AbstractDataProvider {
29 
30 public:
32  CdsRestClient::CdsRestClient rest;
33 
35  const ProviderInfo = ...;
36 
37 
39  const ConstructorOptions = ...;
40 
41 
43  const EnvOptions = ...;
44 
45 
47  const HttpMethods = ...;
48 
49 
50 protected:
52  *hash<auto> meta;
53 
56 
57 public:
58 
60  constructor(CdsRestClient::CdsRestClient rest);
61 
62 
64  constructor(*hash<auto> options);
65 
66 
68  string getName();
69 
70 
72 
74 protected:
75  *list<string> getChildProviderNamesImpl();
76 public:
77 
78 
80 
84 protected:
85  *DataProvider::AbstractDataProvider getChildProviderImpl(string name);
86 public:
87 
88 
90 protected:
91  *hash<auto> getMetadata();
92 public:
93 
94 
96 protected:
97  hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
98 public:
99 
100 
102 protected:
103  static *hash<auto> getClientOptions(*hash<auto> copts);
104 public:
105 
106 };
107 };
static *hash< auto > getClientOptions(*hash< auto > copts)
Returns options for the CdsRestClient.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
constructor(CdsRestClient::CdsRestClient rest)
Creates the object from the arguments.
CdsRestClient::CdsRestClient rest
The REST client object for API calls.
Definition: CdsRestDataProvider.qc.dox.h:32
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
string getName()
Returns the data provider name.
*hash< auto > meta
Metadata keyed by entity type.
Definition: CdsRestDataProvider.qc.dox.h:52
constructor(*hash< auto > options)
Creates the object from constructor options.
Qore::Thread::Mutex lck()
Metadata mutex.
*hash< auto > getMetadata()
Returns metadata.
Qore CdsRestDataProvider module definition.
Definition: CdsEntityDataProvider.qc.dox.h:26