Qore FileDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FileCreateDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FileDataProvider {
28class FileCreateDataProvider : public AbstractDataProvider {
29
30public:
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
46
49
51 constructor(*hash<auto> options);
52
53
55 string getName();
56
57
59
64protected:
65 auto doRequestImpl(auto req, *hash<auto> request_options);
66public:
67
68
70
72protected:
73 *AbstractDataProviderType getRequestTypeImpl();
74public:
75
76
78
80protected:
81 *AbstractDataProviderType getResponseTypeImpl();
82public:
83
84
86 hash<DataProviderInfo> getStaticInfoImpl();
87
88};
89};
The create file data provider class.
Definition: FileCreateDataProvider.qc.dox.h:28
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ResponseType
Response type.
Definition: FileCreateDataProvider.qc.dox.h:48
constructor(*hash< auto > options)
Creates the object from constructor options.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
string getName()
Returns the data provider name.
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const RequestType
Request type.
Definition: FileCreateDataProvider.qc.dox.h:45
const ProviderInfo
Provider info.
Definition: FileCreateDataProvider.qc.dox.h:32
const ProviderSummaryInfo
Provider summary info.
Definition: FileCreateDataProvider.qc.dox.h:40
Data type for create file request calls.
Definition: FileCreateRequestDataType.qc.dox.h:27
Data type for delete file request calls.
Definition: FilePathDataType.qc.dox.h:27
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26