Qore CdsRestDataProvider Module Reference  1.0.0
CdsRestDataProvider.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
28 // strict argument handling
29 // enable all warnings
30 
32 namespace CdsRestDataProvider {
34 class CdsRestDataProvider : public DataProvider::AbstractDataProvider {
35 
36 public:
38  CdsRestClient::CdsRestClient rest;
39 
41  const ProviderInfo = ...;
42 
43 
45  const ConstructorOptions = ...;
46 
47 
49  const EnvOptions = ...;
50 
51 
53  const HttpMethods = ...;
54 
55 
56 protected:
58  *hash<auto> meta;
59 
61  Qore::Thread::Mutex lck();
62 
63 public:
64 
66  constructor(CdsRestClient::CdsRestClient rest);
67 
68 
70  constructor(*hash<auto> options);
71 
72 
74  string getName();
75 
76 
78 
80 protected:
81  *list<string> getChildProviderNamesImpl();
82 public:
83 
84 
86 
90 protected:
91  *DataProvider::AbstractDataProvider getChildProviderImpl(string name);
92 public:
93 
94 
96 protected:
97  *hash<auto> getMetadata();
98 public:
99 
100 
102 protected:
103  hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
104 public:
105 
106 
108 protected:
109  static *hash<auto> getClientOptions(*hash<auto> copts);
110 public:
111 
112 };
113 };
Qore CdsRestDataProvider module definition.
Definition: CdsEntityDataProvider.qc.dox.h:26
*hash< auto > meta
Metadata keyed by entity type.
Definition: CdsRestDataProvider.qc.dox.h:58
CdsRestClient::CdsRestClient rest
The REST client object for API calls.
Definition: CdsRestDataProvider.qc.dox.h:38