Qore FileDataProvider Module Reference 2.0
Loading...
Searching...
No Matches
FileStatDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FileDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
37
38
41
44
46 constructor(*hash<auto> options) ;
47
48
50 constructor(*string root, *bool lock, *bool readonly) ;
51
52
54 string getName();
55
56
58 *string getDesc();
59
60
62
69protected:
70 auto doRequestImpl(auto req, *hash<auto> request_options);
71public:
72
73
75
77protected:
78 *AbstractDataProviderType getRequestTypeImpl();
79public:
80
81
83
85protected:
86 *AbstractDataProviderType getResponseTypeImpl();
87public:
88
89
91 hash<DataProviderInfo> getStaticInfoImpl();
92
93};
94};
The base file data provider class.
Definition FileDataProviderBase.qc.dox.h:28
bool lock
Lock down access to the root?
Definition FileDataProviderBase.qc.dox.h:40
bool readonly
Read only flag.
Definition FileDataProviderBase.qc.dox.h:43
*string root
Any anchoring dir for filesystem actions.
Definition FileDataProviderBase.qc.dox.h:37
The File stat data provider class.
Definition FileStatDataProvider.qc.dox.h:28
constructor(*string root, *bool lock, *bool readonly)
Creates the object from the arguments.
string getName()
Returns the data provider name.
const RequestType
Request type.
Definition FileStatDataProvider.qc.dox.h:40
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:36
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
constructor(*hash< auto > options)
Creates the object from constructor options.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ResponseType
Response type.
Definition FileStatDataProvider.qc.dox.h:43
*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