Qore FileDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FileDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FileDataProvider {
28class FileDataProvider : public AbstractDataProvider {
29
30public:
32 const ProviderInfo = <DataProviderInfo>{
33 "type": "FileDataProvider",
34 "supports_children": True,
35 "children_can_support_apis": True,
36 "children_can_support_records": False,
37 "children_can_support_observers": False,
38 };
39
40protected:
41 const ChildMap = {
42 "copy": Class::forName("FileDataProvider::FileCopyDataProvider"),
43 "create": Class::forName("FileDataProvider::FileCreateDataProvider"),
44 "delete": Class::forName("FileDataProvider::FileDeleteDataProvider"),
45 "get": Class::forName("FileDataProvider::FileGetDataProvider"),
46 "list": Class::forName("FileDataProvider::FileListDataProvider"),
47 "mkdir": Class::forName("FileDataProvider::FileMkdirDataProvider"),
48 "move": Class::forName("FileDataProvider::FileMoveDataProvider"),
49 "stat": Class::forName("FileDataProvider::FileStatDataProvider"),
50 };
51
52public:
53
55 constructor(*hash<auto> options);
56
57
59 string getName();
60
61
63 *string getDesc();
64
65
67 *list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
68
69
71
73protected:
75public:
76
77
79
85protected:
86 *AbstractDataProvider getChildProviderImpl(string name);
87public:
88
89
91protected:
92 hash<DataProviderInfo> getStaticInfoImpl();
93public:
94
95};
96};
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
string getName()
Returns the data provider name.
*string getDesc()
Returns the data provider description.
constructor(*hash< auto > options)
Creates the object from constructor options.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26