Qore DataProvider Module Reference  2.3
NullDataProvider.qc.dox.h
1 
2 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
4 /*
5  Qorus Integration Engine
6 
7  Copyright (C) 2019 - 2022 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 {
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:
62 public:
63 
64 
66 protected:
68 public:
69 
70 
72 protected:
73  *hash<string, AbstractDataProviderType> getErrorResponseTypesImpl();
74 public:
75 
76 };
77 };
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:476
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:112
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
*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")
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*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