QC_TreeMap.dox.h
namespace Qore {
class TreeMap {
public:
constructor();
public:
copy();
public:
destructor();
public:
auto get(string path, *reference<*string> unmatched);
public:
*hash getAll();
public:
nothing put(string path, auto value);
public:
auto take(string path);
};
}
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.