| Qore FileDataProvider Module Reference 1.0

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