Class SearchIterator¶
Defined in File search_iterator.h
Class Documentation¶
-
class SearchIterator¶
A interator on search result (an Entry)
Be aware that the referenced/pointed Entry is generated and stored in the iterator itself. Once the iterator is destructed or incremented/decremented, you must NOT use the Entry.
Public Types
-
using iterator_category = std::input_iterator_tag¶
Public Functions
-
SearchIterator()¶
-
SearchIterator(const SearchIterator &it)¶
-
SearchIterator &operator=(const SearchIterator &it)¶
-
SearchIterator(SearchIterator &&it)¶
-
SearchIterator &operator=(SearchIterator &&it)¶
-
~SearchIterator()¶
-
bool operator==(const SearchIterator &it) const¶
-
bool operator!=(const SearchIterator &it) const¶
-
SearchIterator &operator++()¶
-
SearchIterator operator++(int)¶
-
SearchIterator &operator--()¶
-
SearchIterator operator--(int)¶
-
std::string getPath() const¶
-
std::string getTitle() const¶
-
int getScore() const¶
-
std::string getSnippet() const¶
-
int getWordCount() const¶
-
int getSize() const¶
-
int getFileIndex() const¶
Friends
- friend class zim::SearchResultSet
-
using iterator_category = std::input_iterator_tag¶