Loading...
Searching...
No Matches
NullDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
/*
Qorus Integration Engine
Copyright (C) 2019 - 2023 Qore Technologies, s.r.o., all rights reserved
**** NOTICE ****
All information contained herein is, and remains the property of Qore
Technologies, s.r.o. and its suppliers, if any. The intellectual and
technical concepts contained herein are proprietary to Qore Technologies,
s.r.o. and its suppliers and may be covered by Czech, European, U.S. and
Foreign Patents, patents in process, and are protected by trade secret or
copyright law. Dissemination of this information or reproduction of this
material is strictly forbidden unless prior written permission is obtained
from Qore Technologies, s.r.o..
*/
namespace DataProvider {
class NullDataProvider : public AbstractDataProvider {
public:
const ProviderInfo = <DataProviderInfo>{
"type": "NullDataProvider",
"supports_request": True,
};
protected:
static HashDataType type();
public:
constructor(*hash<auto> options);
string getName();
*string getDesc();
hash<DataProviderInfo> getStaticInfoImpl();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*AbstractDataProviderType getResponseTypeImpl();
public:
protected:
*AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*hash<string, AbstractDataProviderType> getErrorResponseTypesImpl();
public:
};
};
DataProvider::AbstractDataProvider
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:742
DataProvider::AbstractDataProviderType
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:187
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
DataProvider::DataProviderInfo
Data provider info.
Definition: AbstractDataProvider.qc.dox.h:443