| 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 }
Qore::TreeMap::take
auto take(string path)
Removes a value from the TreeMap and returns the value removed.
Qore::TreeMap
A container for efficient path prefix lookup.
Definition: QC_TreeMap.dox.h:25
Qore::TreeMap::getAll
*hash getAll()
Retrieves the entire TreeMap as a hash; returns NOTHING if the TreeMap is empty.
Qore::TreeMap::destructor
destructor()
Releases any resource held by the instance.
Qore::hash
hash< auto > hash(object obj)
Returns a hash of an object&#39;s members.
Qore::TreeMap::put
nothing put(string path, auto value)
Puts the mapping of path to value into the container.
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
Qore::TreeMap::copy
copy()
Throws an exception; objects of this class cannot be copied.
Qore::TreeMap::constructor
constructor()
Creates an empty TreeMap container.