Qore SwaggerDataProvider Module Reference 1.3
Loading...
Searching...
No Matches
SwaggerDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
29
30public:
32 string uri_path = "/";
33
36
38 const ProviderInfo = ...;
39
40
42 const ConstructorOptions = ...;
43
44
46 const HttpMethods = ...;
47
48
49protected:
51 hash<auto> path_tree;
52
53public:
54
56protected:
57 constructor(hash<auto> path_tree, string uri_path, SwaggerSchema schema, *RestClient rest) ;
58public:
59
60
62 constructor(SwaggerSchema schema, *RestClient rest) ;
63
64
66 constructor(*hash<auto> options);
67
68
70 string getName();
71
72
74 *string getDesc();
75
76
78protected:
79 setSchema(SwaggerSchema schema);
80public:
81
82
84protected:
86public:
87
88
89protected:
90 setupTree();
91public:
92
93
95
97protected:
99public:
100
101
103
107protected:
108 *AbstractDataProvider getChildProviderImpl(string name);
109public:
110
111
113protected:
114 AbstractDataProvider getChildIntern(string name, *string real_name);
115public:
116
117
119protected:
120 hash<DataProviderInfo> getStaticInfoImpl();
121public:
122
123
125protected:
127public:
128
129};
130}; // end namespace swagger
The Swagger data provider common base class.
Definition SwaggerDataProviderCommon.qc.dox.h:28
string getName()
Returns the data provider name.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
setSchema(SwaggerSchema schema)
Sets the schema and display name.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
checkRestClient(RestClient rest)
Checks the REST client.
constructor(*hash< auto > options)
Creates the object from constructor options.
AbstractDataProvider getChildIntern(string name, *string real_name)
Returns the child provider for the given path component.
string display_name
The value to returns as the name of the object.
Definition SwaggerDataProvider.qc.dox.h:35
constructor(SwaggerSchema schema, *RestClient rest)
Creates the object from the arguments.
object getSchemaObjectImpl()
Returns the schema supporting this data provider.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
constructor(hash< auto > path_tree, string uri_path, SwaggerSchema schema, *RestClient rest)
Private constructor; used when traversing the tree.
*string getDesc()
Returns the data provider description.
hash< auto > path_tree
hash of valid paths
Definition SwaggerDataProvider.qc.dox.h:51
Qore SwaggerDataProvider module definition.
Definition SwaggerDataProvider.qc.dox.h:26