Qore FileDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FileStatDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FileDataProvider {
28class FileStatDataProvider : public AbstractDataProvider {
29
30public:
32 const ProviderInfo = <DataProviderInfo>{
33 "name": "stat",
34 "desc": "File stat data provider; returns information about the path given as an argument",
35 "type": "FileStatDataProvider",
36 "supports_request": True,
37 };
38
40 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
41 AbstractDataProvider::DataProviderSummaryInfoKeys
42 });
43
46
49
51 string getName();
52
53
55 *string getDesc();
56
57
59
66protected:
67 auto doRequestImpl(auto req, *hash<auto> request_options);
68public:
69
70
72
74protected:
75 *AbstractDataProviderType getRequestTypeImpl();
76public:
77
78
80
82protected:
83 *AbstractDataProviderType getResponseTypeImpl();
84public:
85
86
88 hash<DataProviderInfo> getStaticInfoImpl();
89
90};
91};
The File stat data provider class.
Definition: FileStatDataProvider.qc.dox.h:28
string getName()
Returns the data provider name.
const RequestType
Request type.
Definition: FileStatDataProvider.qc.dox.h:45
const ProviderInfo
Provider info.
Definition: FileStatDataProvider.qc.dox.h:32
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderSummaryInfo
Provider summary info.
Definition: FileStatDataProvider.qc.dox.h:40
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ResponseType
Response type.
Definition: FileStatDataProvider.qc.dox.h:48
*string getDesc()
Returns the data provider description.
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
Data type for stat file request calls.
Definition: FileStatRequestDataType.qc.dox.h:27
Data type for stat file response calls.
Definition: FileStatResponseDataType.qc.dox.h:27
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26