Public Member Functions | |
prefix_cursor () | |
Constructs a cursor. | |
prefix_cursor (trie *t, const std::string &q) | |
Constructs a cursor from a trie and query. | |
prefix_cursor (const prefix_cursor &rho) | |
Constructs a cursor from another instance. | |
bool | next () |
Moves the cursor to the next prefix. | |
Data Fields | |
std::string | query |
The query. | |
size_type | length |
The length of the prefix. | |
value_type | value |
The value of the prefix. | |
size_type | cur |
The cursor. |