Qore Programming Language Reference Manual 1.18.0
Loading...
Searching...
No Matches
QC_TreeMap.dox.h
1
3namespace Qore {
5
25class TreeMap {
26
27public:
29
32
33public:
35
38
39public:
41
44
45public:
47
77auto get(string path, *reference<*string> unmatched);
78
79public:
81
87
88public:
90
95nothing put(string path, auto value);
96
97public:
99
107auto take(string path);
108};
109}
A container for efficient path prefix lookup.
Definition: QC_TreeMap.dox.h:25
constructor()
Creates an empty TreeMap container.
*hash getAll()
Retrieves the entire TreeMap as a hash; returns NOTHING if the TreeMap is empty.
nothing put(string path, auto value)
Puts the mapping of path to value into the container.
auto get(string path, *reference< *string > unmatched)
Retrieves a value from the TreeMap and optionally returns the unmatched path suffix.
destructor()
Releases any resource held by the instance.
copy()
Throws an exception; objects of this class cannot be copied.
auto take(string path)
Removes a value from the TreeMap and returns the value removed.
hash< auto > hash()
Always returns the same hash passed.
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2