Qore FileDataProvider Module Reference  1.0
FileDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace FileDataProvider {
28 class FileDataProvider : public AbstractDataProvider {
29 
30 public:
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 
40 protected:
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 
52 public:
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 
73 protected:
74  *list<string> getChildProviderNamesImpl();
75 public:
76 
77 
79 
85 protected:
86  *AbstractDataProvider getChildProviderImpl(string name);
87 public:
88 
89 
91 protected:
92  hash<DataProviderInfo> getStaticInfoImpl();
93 public:
94 
95 };
96 };
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.
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
const True
const False
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26