Qore FileDataProvider Module Reference 2.0
Loading...
Searching...
No Matches
FileDataProviderBase.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FileDataProvider {
29
30public:
32 const ConstructorOptions = ...;
33
34
35protected:
37 *string root;
38
40 bool lock;
41
44
45public:
46
48 constructor(*hash<auto> options);
49
50
52 constructor(*string root, *bool lock, *bool readonly);
53
54
56protected:
57 checkPath(string path);
58public:
59
60
62protected:
63 checkReadOnly(string op);
64public:
65
66};
67};
The base file data provider class.
Definition FileDataProviderBase.qc.dox.h:28
constructor(*hash< auto > options)
Creates the object from constructor options.
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
checkReadOnly(string op)
Checks if the readonly flag is set.
*string root
Any anchoring dir for filesystem actions.
Definition FileDataProviderBase.qc.dox.h:37
checkPath(string path)
Check the given path when "lock" and "root" are set.
constructor(*string root, *bool lock, *bool readonly)
Creates the object from the arguments.
const ConstructorOptions
Constructor options.
Definition FileDataProviderBase.qc.dox.h:32
Qore FileDataProvider module definition.
Definition FileCopyDataProvider.qc.dox.h:26