| Qore FileDataProvider Module Reference 1.0

FileMkdirDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
26 namespace FileDataProvider {
28 class FileMkdirDataProvider : public AbstractDataProvider {
29
30 public:
32 const ProviderInfo = <DataProviderInfo>{
33 "name": "mkdir",
34 "desc": "File mkdir data provider; creates a directory given a path as an argument",
35 "type": "FileMkdirDataProvider",
36 "supports_request": True,
37 };
38
40 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
41 AbstractDataProvider::DataProviderSummaryInfoKeys
42 });
43
45 const RequestType = new FileMkdirRequestDataType();
46
48 const ResponseType = new FilePathDataType();
49
51 string getName();
52
53
55
60 protected:
61 auto doRequestImpl(auto req, *hash<auto> request_options);
62 public:
63
64
66
68 protected:
69 *AbstractDataProviderType getRequestTypeImpl();
70 public:
71
72
74
76 protected:
77 *AbstractDataProviderType getResponseTypeImpl();
78 public:
79
80
82 hash<DataProviderInfo> getStaticInfoImpl();
83
84 };
85 };
FileDataProvider::FileMkdirDataProvider
The File mkdir data provider class.
Definition: FileMkdirDataProvider.qc.dox.h:28
FileDataProvider::FileMkdirDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
FileDataProvider::FileMkdirDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
FileDataProvider::FileMkdirDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: FileMkdirDataProvider.qc.dox.h:40
FileDataProvider::FileMkdirDataProvider::getName
string getName()
Returns the data provider name.
FileDataProvider::FileMkdirDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
FileDataProvider::FileMkdirDataProvider::RequestType
const RequestType
Request type.
Definition: FileMkdirDataProvider.qc.dox.h:45
FileDataProvider::FileMkdirDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
FileDataProvider::FileMkdirDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: FileMkdirDataProvider.qc.dox.h:32
FileDataProvider::FileMkdirDataProvider::ResponseType
const ResponseType
Response type.
Definition: FileMkdirDataProvider.qc.dox.h:48
FileDataProvider::FileMkdirRequestDataType
Data type for mkdir file request calls.
Definition: FileMkdirRequestDataType.qc.dox.h:27
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