#include <PassageRep.hpp>
Public Member Functions | |
| 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. | |
|
|
|
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
|
initialize and return the element.
|
|
|
pointer inequality on the int * internal representations.
|
|
|
|
|
|
|
|
|
pointer equality on the int * internal representations.
|
|
|
Length of the whole document.
|
|
|
index of end of the current passage.
|
|
|
Number of tokens to overlap when advancing the passage window.
|
|
|
Size of the passage, in number of tokens.
|
|
|
the passage rep we're iterating over.
|
|
|
index of start of the current passage.
|
1.3.4