Qore FileDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FileCopyDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
28class FileCopyDataProvider : public AbstractDataProvider {
29
30public:
32 const ProviderInfo = <DataProviderInfo>{
33 "name": "copy",
34 "desc": "File copy data provider; copies files or entire directory trees on the filesystem given source "
35 "and target paths as arguments",
36 "type": "FileCopyDataProvider",
37 "supports_request": True,
38 };
39
41 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
42 AbstractDataProvider::DataProviderSummaryInfoKeys
43 });
44
47
50
52 string getName();
53
54
56
65protected:
66 auto doRequestImpl(auto req, *hash<auto> request_options);
67public:
68
69
71
73protected:
74 *AbstractDataProviderType getRequestTypeImpl();
75public:
76
77
79
81protected:
82 *AbstractDataProviderType getResponseTypeImpl();
83public:
84
85
87 hash<DataProviderInfo> getStaticInfoImpl();
88
89};
90};
The File copy data provider class.
Definition: FileCopyDataProvider.qc.dox.h:28
const ProviderInfo
Provider info.
Definition: FileCopyDataProvider.qc.dox.h:32
const RequestType
Request type.
Definition: FileCopyDataProvider.qc.dox.h:46
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
string getName()
Returns the data provider name.
const ResponseType
Response type.
Definition: FileCopyDataProvider.qc.dox.h:49
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderSummaryInfo
Provider summary info.
Definition: FileCopyDataProvider.qc.dox.h:41
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
Data type for copy file request calls.
Definition: FileCopyRequestDataType.qc.dox.h:27
Data type for file response APIs with a single "target" key.
Definition: FileTargetResponseDataType.qc.dox.h:27
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26