![]()  | 
  
    Qore xml Module 1.8.1
    
   | 
 
An in-memory property handler that stores and retrieves all properties in memory. More...
#include <InMemoryWebDavPropertyHandler.qc.dox.h>
  
Public Member Methods | |
| *hash< auto > | get (string resource, string ns=DavNs, list< string > prop_names) | 
| Retrieves the value(s) of the given properties in the given namespace.  | |
| auto | get (string resource, string ns=DavNs, string prop_name) | 
| Retrieves the value(s) of the given properties in the given namespace.  | |
| *hash< string, hash< auto > > | getAll (string resource) | 
| Returns all properties in all namespaces.  More... | |
| *hash< auto > | getAllInNamespace (string resource, string ns) | 
| Returns all properties in the given namespaces.  More... | |
| set (string resource, string ns=DavNs, string prop_name, auto value) | |
| Sets a property value.  | |
| del (string resource, string ns=DavNs, list< string > prop_names) | |
| Deletes one or more properties.  | |
| del (string resource, string ns=DavNs, string prop_name) | |
| Deletes a property.  | |
| delAll (string resource) | |
| Deletes all properties for the given resource.  | |
| cp (string src_url, string target_url) | |
| Copies all properties to another target URL.  | |
| move (string src_url, string target_url) | |
| Moves properties from one target URL to another.  | |
| abstract auto | get (string resource, string ns=DavNs, list< string > prop_names) | 
| Retrieves the value(s) of the given properties in the given namespace.  | |
| abstract auto | get (string resource, string ns=DavNs, string prop_name) | 
| Retrieves the value(s) of the given properties in the given namespace.  | |
| abstract *hash< string, hash< auto > > | getAll (string resource) | 
| Returns all properties in all namespaces.  More... | |
| abstract *hash< auto > | getAllInNamespace (string resource, string ns) | 
| Returns all properties in the given namespaces.  More... | |
| abstract | set (string resource, string ns=DavNs, string prop_name, auto value) | 
| Sets a property value.  | |
| abstract | del (string resource, string ns=DavNs, list< string > prop_names) | 
| Deletes one or more properties.  | |
| abstract | del (string resource, string ns=DavNs, string prop_name) | 
| Deletes a property.  | |
| abstract | delAll (string resource) | 
| Deletes all properties for the given resource.  | |
| abstract | cp (string src_url, string target_url) | 
| Copies all properties to another target URL.  | |
| abstract | move (string src_url, string target_url) | 
| Moves properties from one target URL to another.  | |
Private Member Methods | |
| RWLock | m_lock () | 
| Read-write lock for atomicity.  | |
Private Attributes | |
| hash< string, hash< string, hash< auto > > > | m_cache = {} | 
| Property cache; URL -> namespace -> property -> value.  | |
| bool | debug | 
| Debug flag.  | |
An in-memory property handler that stores and retrieves all properties in memory.
      
  | 
  virtual | 
Returns all properties in all namespaces.
Implements WebDavHandler::AbstractWebDavPropertyHandler.
      
  | 
  virtual | 
Returns all properties in the given namespaces.
Implements WebDavHandler::AbstractWebDavPropertyHandler.