index term iterator
More...
#include <index.h>
index term iterator
Definition at line 130 of file index.h.
| String Xpace::Index::Iter::getTerm |
( |
uint64 * |
count = 0 | ) |
const |
- Return values
-
| the | count of docs containing the term (if index has counts) |
- Returns
- a string representation (from a Collator) of this index term
- Returns
- the list of references for this index term
- Returns
- the list of all references for all index terms in the interval [*this, end)
- Parameters
-
| (one | past) the end of the interval |
| bool Xpace::Index::Iter::operator! |
( |
| ) |
const |
- Returns
- true if the iterator is past the end of the index's term list
| bool Xpace::Index::Iter::move |
( |
int64 |
delta, |
|
|
bool |
relative = true |
|
) |
| |
- Parameters
-
| delta | move the iterator this far in the index list |
| relative | if true move from current position, else move from start |
- Returns
- true if move successful, false (and don't move) if not
| int64 Xpace::Index::Iter::diff |
( |
const Iter & |
rhs | ) |
const |
the distance between two iterators
- Parameters
-
- Returns
- the distance
| uint64 Xpace::Index::Iter::getPos |
( |
| ) |
const |
- Returns
- the position of the iterator
The documentation for this class was generated from the following file: