|
Public Methods |
| iterator () |
| iterator (int s, int e, int p, int o, int d, PassageRep *r) |
virtual | ~iterator () |
virtual PassageRep & | operator * () |
| initialize and return the element.
|
virtual iterator & | operator++ () |
virtual iterator & | operator++ (int) |
virtual bool | operator== (iterator &other) |
| pointer equality on the int * internal representations.
|
virtual bool | operator!= (iterator &other) |
| pointer inequality on the int * internal representations.
|
Protected Attributes |
PassageRep * | rep |
| the passage rep we're iterating over.
|
int | psgSize |
| Size of the passage, in number of tokens.
|
int | overlap |
| Number of tokens to overlap when advancing the passage window.
|
int | docEnd |
| Length of the whole document.
|
int | start |
| index of start of the current passage.
|
int | end |
| index of end of the current passage.
|