Loading...
Searching...
No Matches
FileStatDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace FileDataProvider {
class FileStatDataProvider : public AbstractDataProvider {
public:
const ProviderInfo = <DataProviderInfo>{
"name": "stat",
"desc": "File stat data provider; returns information about the path given as an argument",
"type": "FileStatDataProvider",
"supports_request": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
const RequestType = new FileStatRequestDataType();
const ResponseType = new FileStatResponseDataType();
string getName();
*string getDesc();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*AbstractDataProviderType getResponseTypeImpl();
public:
hash<DataProviderInfo> getStaticInfoImpl();
};
};
FileDataProvider::FileStatDataProvider
The File stat data provider class.
Definition: FileStatDataProvider.qc.dox.h:28
FileDataProvider::FileStatDataProvider::getName
string getName()
Returns the data provider name.
FileDataProvider::FileStatDataProvider::RequestType
const RequestType
Request type.
Definition: FileStatDataProvider.qc.dox.h:45
FileDataProvider::FileStatDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: FileStatDataProvider.qc.dox.h:32
FileDataProvider::FileStatDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
FileDataProvider::FileStatDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: FileStatDataProvider.qc.dox.h:40
FileDataProvider::FileStatDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
FileDataProvider::FileStatDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
FileDataProvider::FileStatDataProvider::ResponseType
const ResponseType
Response type.
Definition: FileStatDataProvider.qc.dox.h:48
FileDataProvider::FileStatDataProvider::getDesc
*string getDesc()
Returns the data provider description.
FileDataProvider::FileStatDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
FileDataProvider::FileStatRequestDataType
Data type for stat file request calls.
Definition: FileStatRequestDataType.qc.dox.h:27
FileDataProvider::FileStatResponseDataType
Data type for stat file response calls.
Definition: FileStatResponseDataType.qc.dox.h:27
FileDataProvider
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26