A class to allow efficient, custom dictionary search functions.
Definition dictRange.hpp:13
bool exhausted
Whether the range can be narrowed any further.
Definition dictRange.hpp:26
bool isWord
Whether the leftmost side of the current range happens to be a word in the dictionary.
Definition dictRange.hpp:29
friend dictionary
z::util::dictionary is allowed to modify
Definition dictRange.hpp:32
int left
The leftmost word in the current range.
Definition dictRange.hpp:16
int right
The rightmost word in the current range.
Definition dictRange.hpp:19
int charPos
The index of the next character to compare.
Definition dictRange.hpp:22