35 hash<string, hash<string, hash<auto>>>
m_cache = {};
46 *hash<auto>
get(
string resource,
string ns =
DavNs, list<string> prop_names);
50 auto get(
string resource,
string ns =
DavNs,
string prop_name);
56 *hash<string, hash<auto>>
getAll(
string resource);
66 set(
string resource,
string ns =
DavNs,
string prop_name,
auto value);
70 del(
string resource,
string ns =
DavNs, list<string> prop_names);
74 del(
string resource,
string ns =
DavNs,
string prop_name);
82 cp(
string src_url,
string target_url);
86 move(
string src_url,
string target_url);
The abstract WebDavHandler property handler class interface.
Definition: AbstractWebDavPropertyHandler.qc.dox.h:27
An in-memory property handler that stores and retrieves all properties in memory.
Definition: InMemoryWebDavPropertyHandler.qc.dox.h:27
del(string resource, string ns=DavNs, list< string > prop_names)
Deletes one or more properties.
hash< string, hash< string, hash< auto > > > m_cache
Property cache; URL -> namespace -> property -> value.
Definition: InMemoryWebDavPropertyHandler.qc.dox.h:35
*hash< auto > getAllInNamespace(string resource, string ns)
Returns all properties in the given namespaces.
auto get(string resource, string ns=DavNs, string prop_name)
Retrieves the value(s) of the given properties in the given namespace.
RWLock m_lock()
Read-write lock for atomicity.
delAll(string resource)
Deletes all properties for the given resource.
*hash< auto > get(string resource, string ns=DavNs, list< string > prop_names)
Retrieves the value(s) of the given properties in the given namespace.
set(string resource, string ns=DavNs, string prop_name, auto value)
Sets a property value.
cp(string src_url, string target_url)
Copies all properties to another target URL.
del(string resource, string ns=DavNs, string prop_name)
Deletes a property.
*hash< string, hash< auto > > getAll(string resource)
Returns all properties in all namespaces.
move(string src_url, string target_url)
Moves properties from one target URL to another.
bool debug
Debug flag.
Definition: InMemoryWebDavPropertyHandler.qc.dox.h:38
Main public WebDavHandler namespace.
Definition: AbstractWebDavHandler.qc.dox.h:26
const DavNs
WebDavHandler namespace value.
Definition: WebDavHandler.qm.dox.h:116
string ns
Namespace.
Definition: AbstractWebDavHandler.qc.dox.h:32