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 = ...;
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::NullDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Returns an empty hash.
DataProvider::NullDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns an empty hash type.
DataProvider::NullDataProvider
A dumrequest data provider that provides an empty hash as the request and response types...
Definition: NullDataProvider.qc.dox.h:24
DataProvider::AbstractDataProvider
The AbstractDataProvider class.
Definition: AbstractDataProvider.qc.dox.h:194
DataProvider::NullDataProvider::getName
string getName()
Returns the name of this data provider ("NullRequest")
DataProvider::NullDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
DataProvider::NullDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: NullDataProvider.qc.dox.h:28
DataProvider::AbstractDataProviderType
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:93
DataProvider::NullDataProvider::constructor
constructor(*hash< auto > options)
Creates the object.
DataProvider::HashDataType
describes a data type based on a hash
Definition: HashDataType.qc.dox.h:39
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
DataProvider::NullDataProvider::type
static HashDataType type()
The default request and response type for this data provider.
DataProvider::NullDataProvider::getErrorResponseTypesImpl
*hash< string, AbstractDataProviderType > getErrorResponseTypesImpl()
Returns NOTHING.
DataProvider::NullDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns an empty hash type.