Qore Programming Language Reference Manual  1.0.8
QC_TreeMap.dox.h
1 
3 namespace Qore {
5 
25 class TreeMap {
26 
27 public:
29 
31  constructor();
32 
33 public:
35 
37  copy();
38 
39 public:
41 
43  destructor();
44 
45 public:
47 
77 auto get(string path, *reference<*string> unmatched);
78 
79 public:
81 
86 *hash getAll();
87 
88 public:
90 
95 nothing put(string path, auto value);
96 
97 public:
99 
107 auto take(string path);
108 };
109 }
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:25
*hash getAll()
Retrieves the entire TreeMap as a hash; returns NOTHING if the TreeMap is empty.
destructor()
Releases any resource held by the instance.
hash< auto > hash(object obj)
Returns a hash of an object&#39;s members.
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:3
copy()
Throws an exception; objects of this class cannot be copied.
constructor()
Creates an empty TreeMap container.