| Qore FileDataProvider Module Reference 1.0

FileDeleteDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
26 namespace FileDataProvider {
28 class FileDeleteDataProvider : public AbstractDataProvider {
29
30 public:
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
46 const RequestType = new FilePathDataType();
47
49 string getName();
50
51
53
58 protected:
59 auto doRequestImpl(auto req, *hash<auto> request_options);
60 public:
61
62
64
66 protected:
67 *AbstractDataProviderType getRequestTypeImpl();
68 public:
69
70
72
74 protected:
75 *AbstractDataProviderType getResponseTypeImpl();
76 public:
77
78
80 hash<DataProviderInfo> getStaticInfoImpl();
81
82 };
83 };
FileDataProvider::FileDeleteDataProvider
The File delete data provider class.
Definition: FileDeleteDataProvider.qc.dox.h:28
FileDataProvider::FileDeleteDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: FileDeleteDataProvider.qc.dox.h:41
FileDataProvider::FileDeleteDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
FileDataProvider::FileDeleteDataProvider::getName
string getName()
Returns the data provider name.
FileDataProvider::FileDeleteDataProvider::RequestType
const RequestType
Request type.
Definition: FileDeleteDataProvider.qc.dox.h:46
FileDataProvider::FileDeleteDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: FileDeleteDataProvider.qc.dox.h:32
FileDataProvider::FileDeleteDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
FileDataProvider::FileDeleteDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
FileDataProvider::FileDeleteDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
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