Qore Programming Language Reference Manual
0.8.11.1
|
A container for efficient path prefix lookup. More...
Public Member Functions | |
constructor () | |
Creates an empty TreeMap container. More... | |
copy () | |
Throws an exception; objects of this class cannot be copied. More... | |
destructor () | |
Releases any resource held by the instance. More... | |
any | get (string path) |
Retrieves a value from the TreeMap. More... | |
nothing | put (string path, any value) |
Puts the mapping of path to value into the container. More... | |
A container for efficient path prefix lookup.
The primary use of this class is in HttpServer for matching request URIs to handlers.
Example:
Qore::TreeMap::constructor | ( | ) |
Qore::TreeMap::copy | ( | ) |
Throws an exception; objects of this class cannot be copied.
TREEMAP-COPY-ERROR | objects of this class cannot be copied |
Qore::TreeMap::destructor | ( | ) |
Releases any resource held by the instance.
Releases any resource held by the instance.
any Qore::TreeMap::get | ( | string | path | ) |