NullDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
/*
Qorus Integration Engine
Copyright (C) 2019 - 2020 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();
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::AbstractDataProviderType
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:161
DataProvider::NullDataProvider::constructor
constructor(*hash< auto > options)
Creates the object.
DataProvider::NullDataProvider
A dumrequest data provider that provides an empty hash as the request and response types.
Definition: NullDataProvider.qc.dox.h:24
True
const True
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
DataProvider::NullDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
DataProvider::NullDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns an empty hash type.
DataProvider::NullDataProvider::getName
string getName()
Returns the name of this data provider ("NullRequest")
DataProvider::DataProviderInfo
Data provider info.
Definition: AbstractDataProvider.qc.dox.h:65
DataProvider::NullDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: NullDataProvider.qc.dox.h:28
DataProvider::AbstractDataProvider
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:194
DataProvider::NullDataProvider::type
static HashDataType type()
The default request and response type for this data provider.
DataProvider::HashDataType
describes a data type based on a hash
Definition: HashDataType.qc.dox.h:34
DataProvider::NullDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
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.