Qore DataProvider Module Reference 2.7.3
Loading...
Searching...
No Matches
NullDataProvider.qc.dox.h
1
2// -*- mode: c++; indent-tabs-mode: nil -*-
3
4/*
5 Qorus Integration Engine
6
7 Copyright (C) 2019 - 2023 Qore Technologies, s.r.o., all rights reserved
8
9 **** NOTICE ****
10 All information contained herein is, and remains the property of Qore
11 Technologies, s.r.o. and its suppliers, if any. The intellectual and
12 technical concepts contained herein are proprietary to Qore Technologies,
13 s.r.o. and its suppliers and may be covered by Czech, European, U.S. and
14 Foreign Patents, patents in process, and are protected by trade secret or
15 copyright law. Dissemination of this information or reproduction of this
16 material is strictly forbidden unless prior written permission is obtained
17 from Qore Technologies, s.r.o..
18*/
19
20
22namespace DataProvider {
25
26public:
29 "type": "NullDataProvider",
30 "supports_request": True,
31 };
32
33protected:
36
37public:
38
40 constructor(*hash<auto> options);
41
42
44 string getName();
45
46
48 *string getDesc();
49
50
52 hash<DataProviderInfo> getStaticInfoImpl();
53
54
56protected:
57 auto doRequestImpl(auto req, *hash<auto> request_options);
58public:
59
60
62protected:
64public:
65
66
68protected:
70public:
71
72
74protected:
75 *hash<string, AbstractDataProviderType> getErrorResponseTypesImpl();
76public:
77
78};
79};
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:742
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:206
describes a data type based on a hash
Definition: HashDataType.qc.dox.h:36
A dumrequest data provider that provides an empty hash as the request and response types.
Definition: NullDataProvider.qc.dox.h:24
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*AbstractDataProviderType getResponseTypeImpl()
Returns an empty hash type.
const ProviderInfo
Provider info.
Definition: NullDataProvider.qc.dox.h:28
string getName()
Returns the name of this data provider ("NullRequest")
*string getDesc()
Returns the data provider description.
*AbstractDataProviderType getRequestTypeImpl()
Returns an empty hash type.
*hash< string, AbstractDataProviderType > getErrorResponseTypesImpl()
Returns NOTHING.
auto doRequestImpl(auto req, *hash< auto > request_options)
Returns an empty hash.
constructor(*hash< auto > options)
Creates the object.
static HashDataType type()
The default request and response type for this data provider.
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27
Data provider info.
Definition: AbstractDataProvider.qc.dox.h:443