Qore Programming Language Reference Manual  0.8.13.2
QC_TreeMap.dox.h
1 namespace Qore {
4 
24 class TreeMap {
25 
26 public:
28 
30  constructor();
31 
32 public:
34 
36  copy();
37 
38 public:
40 
42  destructor();
43 
44 public:
46 
76 auto get(string path, *reference<*string> unmatched);
77 
78 public:
80 
85 *hash getAll();
86 
87 public:
89 
94 nothing put(string path, auto value);
95 
96 public:
98 
106 auto take(string path);
107 };
108 };
auto take(string path)
Removes a value from the TreeMap and returns the value removed.
A container for efficient path prefix lookup.
Definition: QC_TreeMap.dox.h:24
*hash getAll()
Retrieves the entire TreeMap as a hash; returns NOTHING if the TreeMap is empty.
destructor()
Releases any resource held by the instance.
nothing put(string path, auto value)
Puts the mapping of path to value into the container.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2
hash hash(object obj)
Returns a hash of an object&#39;s members.
copy()
Throws an exception; objects of this class cannot be copied.
constructor()
Creates an empty TreeMap container.