| Qore DataProvider Module Reference 3.2.2

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 - 2024 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
22 namespace DataProvider {
24 class NullDataProvider : public AbstractDataProvider {
25
26 public:
28 const ProviderInfo = ...;
29
30
31 protected:
33 static HashDataType type();
34
35 public:
36
38 constructor(*hash<auto> options);
39
40
42 string getName();
43
44
46 *string getDesc();
47
48
50 hash<DataProviderInfo> getStaticInfoImpl();
51
52
54 protected:
55 auto doRequestImpl(auto req, *hash<auto> request_options);
56 public:
57
58
60 protected:
61 *AbstractDataProviderType getResponseTypeImpl();
62 public:
63
64
66 protected:
67 *AbstractDataProviderType getRequestTypeImpl();
68 public:
69
70
72 protected:
73 *hash<string, AbstractDataProviderType> getErrorResponseTypesImpl();
74 public:
75
76};
77};
DataProvider::AbstractDataProvider
The AbstractDataProvider class.
Definition AbstractDataProvider.qc.dox.h:919
DataProvider::AbstractDataProviderType
describes a data type
Definition AbstractDataProviderType.qc.dox.h:139
DataProvider::HashDataType
describes a data type based on a hash
Definition HashDataType.qc.dox.h:36
DataProvider::NullDataProvider
A dumrequest data provider that provides an empty hash as the request and response types.
Definition NullDataProvider.qc.dox.h:24
DataProvider::NullDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
DataProvider::NullDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns an empty hash type.
DataProvider::NullDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition NullDataProvider.qc.dox.h:28
DataProvider::NullDataProvider::getName
string getName()
Returns the name of this data provider ("NullRequest")
DataProvider::NullDataProvider::getDesc
*string getDesc()
Returns the data provider description.
DataProvider::NullDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns an empty hash type.
DataProvider::NullDataProvider::getErrorResponseTypesImpl
*hash< string, AbstractDataProviderType > getErrorResponseTypesImpl()
Returns NOTHING.
DataProvider::NullDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Returns an empty hash.
DataProvider::NullDataProvider::constructor
constructor(*hash< auto > options)
Creates the object.
DataProvider::NullDataProvider::type
static HashDataType type()
The default request and response type for this data provider.
DataProvider
Qore AbstractDataField class definition.
Definition AbstractDataField.qc.dox.h:27