Qore DataProvider Module Reference  1.2.1
NullDataProvider.qc.dox.h
1 
2 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
4 /*
5  Qorus Integration Engine
6 
7  Copyright (C) 2019 - 2020 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  hash<DataProviderInfo> getStaticInfoImpl();
47 
48 
50 protected:
51  auto doRequestImpl(auto req, *hash<auto> request_options);
52 public:
53 
54 
56 protected:
58 public:
59 
60 
62 protected:
64 public:
65 
66 
68 protected:
69  *hash<string, AbstractDataProviderType> getErrorResponseTypesImpl();
70 public:
71 
72 };
73 };
auto doRequestImpl(auto req, *hash< auto > request_options)
Returns an empty hash.
*AbstractDataProviderType getRequestTypeImpl()
Returns an empty hash type.
A dumrequest data provider that provides an empty hash as the request and response types...
Definition: NullDataProvider.qc.dox.h:24
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:194
string getName()
Returns the name of this data provider ("NullRequest")
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderInfo
Provider info.
Definition: NullDataProvider.qc.dox.h:28
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:88
constructor(*hash< auto > options)
Creates the object.
describes a data type based on a hash
Definition: HashDataType.qc.dox.h:39
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27
static HashDataType type()
The default request and response type for this data provider.
*hash< string, AbstractDataProviderType > getErrorResponseTypesImpl()
Returns NOTHING.
*AbstractDataProviderType getResponseTypeImpl()
Returns an empty hash type.