Baloo

postingiterator.h
1/*
2 SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#ifndef BALOO_POSTINGITERATOR_H
8#define BALOO_POSTINGITERATOR_H
9
10#include <QVector>
11#include "engine_export.h"
12
13namespace Baloo {
14
15/**
16 * A PostingIterator is an abstract base class which can be used to iterate
17 * over all the "postings" or "documents" which are particular term appears.
18 *
19 * All PostingIterators should iterate over a list of non-decreasing document ids.
20 */
22{
23public:
24 virtual ~PostingIterator();
25
26 virtual quint64 next() = 0;
27 virtual quint64 docId() const = 0;
28 virtual quint64 skipTo(quint64 docId);
29};
30}
31
32#endif // BALOO_POSTINGITERATOR_H
A PostingIterator is an abstract base class which can be used to iterate over all the "postings" or "...
Implements storage for docIds without any associated data Instantiated for:
Definition coding.cpp:11
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:51:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.