CdsRestDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
// minimum required Qore version
// assume local scope for variables, do not use "$" signs
// require type definitions everywhere
// strict argument handling
// enable all warnings
namespace CdsRestDataProvider {
class CdsRestDataProvider : public DataProvider::AbstractDataProvider {
public:
CdsRestClient::CdsRestClient rest;
const ProviderInfo = ...;
const ConstructorOptions = ...;
const EnvOptions = ...;
const HttpMethods = ...;
protected:
*hash<auto> meta;
Qore::Thread::Mutex lck();
public:
constructor(CdsRestClient::CdsRestClient rest);
constructor(*hash<auto> options);
string getName();
protected:
*list<string> getChildProviderNamesImpl();
public:
protected:
*DataProvider::AbstractDataProvider getChildProviderImpl(string name);
public:
protected:
*hash<auto> getMetadata();
public:
protected:
hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
public:
protected:
static *hash<auto> getClientOptions(*hash<auto> copts);
public:
};
};
CdsRestDataProvider::CdsRestDataProvider::getClientOptions
static *hash< auto > getClientOptions(*hash< auto > copts)
Returns options for the CdsRestClient.
CdsRestDataProvider::CdsRestDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
CdsRestDataProvider::CdsRestDataProvider::constructor
constructor(CdsRestClient::CdsRestClient rest)
Creates the object from the arguments.
CdsRestDataProvider::CdsRestDataProvider::rest
CdsRestClient::CdsRestClient rest
The REST client object for API calls.
Definition: CdsRestDataProvider.qc.dox.h:38
CdsRestDataProvider::CdsRestDataProvider::getChildProviderImpl
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
CdsRestDataProvider::CdsRestDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
CdsRestDataProvider::CdsRestDataProvider::getName
string getName()
Returns the data provider name.
CdsRestDataProvider::CdsRestDataProvider::meta
*hash< auto > meta
Metadata keyed by entity type.
Definition: CdsRestDataProvider.qc.dox.h:58
CdsRestDataProvider::CdsRestDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
CdsRestDataProvider::CdsRestDataProvider::lck
Qore::Thread::Mutex lck()
Metadata mutex.
CdsRestDataProvider::CdsRestDataProvider::getMetadata
*hash< auto > getMetadata()
Returns metadata.
Qore::Thread::Mutex
CdsRestDataProvider
Qore CdsRestDataProvider module definition.
Definition: CdsEntityDataProvider.qc.dox.h:26