Loading...
Searching...
No Matches
FileDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace FileDataProvider {
class FileDataProvider : public AbstractDataProvider {
public:
const ProviderInfo = <DataProviderInfo>{
"type": "FileDataProvider",
"supports_children": True,
"children_can_support_apis": True,
"children_can_support_records": False,
"children_can_support_observers": False,
};
protected:
const ChildMap = {
"copy": Class::forName("FileDataProvider::FileCopyDataProvider"),
"create": Class::forName("FileDataProvider::FileCreateDataProvider"),
"delete": Class::forName("FileDataProvider::FileDeleteDataProvider"),
"get": Class::forName("FileDataProvider::FileGetDataProvider"),
"list": Class::forName("FileDataProvider::FileListDataProvider"),
"mkdir": Class::forName("FileDataProvider::FileMkdirDataProvider"),
"move": Class::forName("FileDataProvider::FileMoveDataProvider"),
"stat": Class::forName("FileDataProvider::FileStatDataProvider"),
};
public:
constructor(*hash<auto> options);
string getName();
*string getDesc();
*list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
protected:
*list<string> getChildProviderNamesImpl();
public:
protected:
*AbstractDataProvider getChildProviderImpl(string name);
public:
protected:
hash<DataProviderInfo> getStaticInfoImpl();
public:
};
};
FileDataProvider::FileDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
FileDataProvider::FileDataProvider::getName
string getName()
Returns the data provider name.
FileDataProvider::FileDataProvider::getDesc
*string getDesc()
Returns the data provider description.
FileDataProvider::FileDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
FileDataProvider::FileDataProvider::getChildProviderImpl
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
FileDataProvider::FileDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
FileDataProvider::FileDataProvider::getChildProviderSummaryInfo
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
FileDataProvider
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26