| Qore FileDataProvider Module Reference 1.0

FileCreateDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
26 namespace FileDataProvider {
28 class FileCreateDataProvider : public AbstractDataProvider {
29
30 public:
32 const ProviderInfo = <DataProviderInfo>{
33 "name": "create",
34 "desc": "Create file data provider; creates a file in the given location",
35 "type": "FileCreateDataProvider",
36 "supports_request": True,
37 };
38
40 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
41 AbstractDataProvider::DataProviderSummaryInfoKeys
42 });
43
45 const RequestType = new FileCreateRequestDataType();
46
48 const ResponseType = new FilePathDataType();
49
51 constructor(*hash<auto> options);
52
53
55 string getName();
56
57
59
64 protected:
65 auto doRequestImpl(auto req, *hash<auto> request_options);
66 public:
67
68
70
72 protected:
73 *AbstractDataProviderType getRequestTypeImpl();
74 public:
75
76
78
80 protected:
81 *AbstractDataProviderType getResponseTypeImpl();
82 public:
83
84
86 hash<DataProviderInfo> getStaticInfoImpl();
87
88 };
89 };
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
True
const True
FileDataProvider
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26