Loading...
Searching...
No Matches
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
A container for efficient path prefix lookup.
Definition QC_TreeMap.dox.h:25
Qore::TreeMap::constructor
constructor()
Creates an empty TreeMap container.
Qore::TreeMap::getAll
*hash getAll()
Retrieves the entire TreeMap as a hash; returns NOTHING if the TreeMap is empty.
Qore::TreeMap::put
nothing put(string path, auto value)
Puts the mapping of path to value into the container.
Qore::TreeMap::get
auto get(string path, *reference< *string > unmatched)
Retrieves a value from the TreeMap and optionally returns the unmatched path suffix.
Qore::TreeMap::destructor
destructor()
Releases any resource held by the instance.
Qore::TreeMap::copy
copy()
Throws an exception; objects of this class cannot be copied.
Qore::TreeMap::take
auto take(string path)
Removes a value from the TreeMap and returns the value removed.
Qore::hash
hash< auto > hash()
Always returns the same hash passed.
Qore
main Qore-language namespace
Definition Pseudo_QC_All.dox.h:3