Qore FileDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FileDeleteDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FileDataProvider {
28class FileDeleteDataProvider : public AbstractDataProvider {
29
30public:
32 const ProviderInfo = <DataProviderInfo>{
33 "name": "delete",
34 "desc": "File delete data provider; deletes files or entire directory trees on the filesystem given a "
35 "path as an argument",
36 "type": "FileDeleteDataProvider",
37 "supports_request": True,
38 };
39
41 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
42 AbstractDataProvider::DataProviderSummaryInfoKeys
43 });
44
47
49 string getName();
50
51
53
58protected:
59 auto doRequestImpl(auto req, *hash<auto> request_options);
60public:
61
62
64
66protected:
67 *AbstractDataProviderType getRequestTypeImpl();
68public:
69
70
72
74protected:
75 *AbstractDataProviderType getResponseTypeImpl();
76public:
77
78
80 hash<DataProviderInfo> getStaticInfoImpl();
81
82};
83};
The File delete data provider class.
Definition: FileDeleteDataProvider.qc.dox.h:28
const ProviderSummaryInfo
Provider summary info.
Definition: FileDeleteDataProvider.qc.dox.h:41
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
string getName()
Returns the data provider name.
const RequestType
Request type.
Definition: FileDeleteDataProvider.qc.dox.h:46
const ProviderInfo
Provider info.
Definition: FileDeleteDataProvider.qc.dox.h:32
*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.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
Data type for delete file request calls.
Definition: FilePathDataType.qc.dox.h:27
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26