Class SuggestionResultSet

Class Documentation

class SuggestionResultSet

SuggestionResultSet represents a range of results corresponding to a SuggestionSearch.

Its purpose is to provide uniform interface for iterating over the suggestion results for various sources of suggestion data (Xapian title index or title ordered listing in the absence of the former).

Public Types

typedef SuggestionIterator iterator

Public Functions

iterator begin() const

The begin iterator on the result range.

iterator end() const

The end iterator on the result range.

int size() const

The size of the SearchResult (end()-begin())