|
JASSv2
|
iterator class for iterating over an index More...

Public Member Functions | |
| postings_list_iterator (ciff_lin &of, size_t which) | |
| Constructor. More... | |
| postings_list_iterator & | operator++ () |
| Move on to the next postings list by constructing and storing the current one. On error move to the end of the stream and mark it as bad. More... | |
| postings_list & | operator* () |
| Return the most recently constructed postings list. More... | |
| bool | operator!= (postings_list_iterator &with) |
| Compare two iterators. More... | |
Private Attributes | |
| ciff_lin & | source |
| The ciff_lin being iterated over. | |
| const uint8_t * | stream |
| Where in the source stream we are reading from. | |
| size_t | which |
| Which postings list we are current on (counting from 0) | |
| postings_list | postings |
| The postings list we just made. | |
iterator class for iterating over an index
|
inline |
Constructor.
| of | [in] The ciff_lin object we iterate over |
| where | [in] Either 0 for start of n for the number of postings lists in the file |
|
inline |
Compare two iterators.
|
inline |
Return the most recently constructed postings list.
|
inline |
Move on to the next postings list by constructing and storing the current one. On error move to the end of the stream and mark it as bad.
1.8.13