/* This file is part of the KDE Baloo project. SPDX-FileCopyrightText: 2015 Vishesh Handa SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef BALOO_VECTORPOSITIONINFOITERATOR_H #define BALOO_VECTORPOSITIONINFOITERATOR_H #include "postingiterator.h" #include "positiondb.h" namespace Baloo { class BALOO_ENGINE_EXPORT VectorPositionInfoIterator : public PostingIterator { public: explicit VectorPositionInfoIterator(const QVector& vector); quint64 docId() const override; quint64 next() override; QVector positions(); private: QVector m_vector; int m_pos; }; } #endif // BALOO_VECTORPOSITIONINFOITERATOR_H