Loading...
Searching...
No Matches
FileCreateDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace FileDataProvider {
class FileCreateDataProvider : public AbstractDataProvider {
public:
const ProviderInfo = <DataProviderInfo>{
"name": "create",
"desc": "Create file data provider; creates a file in the given location",
"type": "FileCreateDataProvider",
"supports_request": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
const RequestType = new FileCreateRequestDataType();
const ResponseType = new FilePathDataType();
constructor(*hash<auto> options);
string getName();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*AbstractDataProviderType getResponseTypeImpl();
public:
hash<DataProviderInfo> getStaticInfoImpl();
};
};
FileDataProvider::FileCreateDataProvider
The create file data provider class.
Definition: FileCreateDataProvider.qc.dox.h:28
FileDataProvider::FileCreateDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
FileDataProvider::FileCreateDataProvider::ResponseType
const ResponseType
Response type.
Definition: FileCreateDataProvider.qc.dox.h:48
FileDataProvider::FileCreateDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
FileDataProvider::FileCreateDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
FileDataProvider::FileCreateDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
FileDataProvider::FileCreateDataProvider::getName
string getName()
Returns the data provider name.
FileDataProvider::FileCreateDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
FileDataProvider::FileCreateDataProvider::RequestType
const RequestType
Request type.
Definition: FileCreateDataProvider.qc.dox.h:45
FileDataProvider::FileCreateDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: FileCreateDataProvider.qc.dox.h:32
FileDataProvider::FileCreateDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: FileCreateDataProvider.qc.dox.h:40
FileDataProvider::FileCreateRequestDataType
Data type for create file request calls.
Definition: FileCreateRequestDataType.qc.dox.h:27
FileDataProvider::FilePathDataType
Data type for delete file request calls.
Definition: FilePathDataType.qc.dox.h:27
FileDataProvider
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26