libzed 1.9.9
A general-purpose library for quick and simple data manipulation.
 
Loading...
Searching...
No Matches
z::util::dictRange Class Reference

A class to allow efficient, custom dictionary search functions. More...

#include <dictRange.hpp>

Public Attributes

bool exhausted
 Whether the range can be narrowed any further.
 
bool isWord
 Whether the leftmost side of the current range happens to be a word in the dictionary.
 
friend dictionary
 z::util::dictionary is allowed to modify
 

Protected Attributes

int left
 The leftmost word in the current range.
 
int right
 The rightmost word in the current range.
 
int charPos
 The index of the next character to compare.
 

Detailed Description

A class to allow efficient, custom dictionary search functions.

Note
This class has no use on its own, it is meant to be used in conjunction with z::util::dictionary.

The documentation for this class was generated from the following file: