22 #ifndef XAPIAN_INCLUDED_POSTINGITERATOR_H 23 #define XAPIAN_INCLUDED_POSTINGITERATOR_H 25 #if !defined XAPIAN_IN_XAPIAN_H && !defined XAPIAN_LIB_BUILD 26 # error Never use <xapian/postingiterator.h> directly; include <xapian.h> instead. 57 #ifdef XAPIAN_MOVE_SEMANTICS 60 : internal(o.internal) {
67 if (
internal) decref();
68 internal = o.internal;
85 if (
internal) decref();
100 #if 0 // FIXME: TermIterator supports this, so PostingIterator really ought to. 132 std::string get_description()
const;
172 return a.internal == b.internal;
187 #endif // XAPIAN_INCLUDED_POSTINGITERATOR_H The Xapian namespace contains public interfaces for the Xapian library.
Abstract base class for postlists.
Compiler attribute macros.
PositionIterator positionlist_end() const
Return an end PositionIterator for the current document.
bool operator!=(const ESetIterator &a, const ESetIterator &b)
Inequality test for ESetIterator objects.
Xapian::doccount_diff difference_type
bool operator==(const ESetIterator &a, const ESetIterator &b)
Equality test for ESetIterator objects.
Class for iterating over term positions.
#define XAPIAN_VISIBILITY_DEFAULT
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms.
Class for iterating over a list of terms.
XAPIAN_DOCID_BASE_TYPE doccount_diff
A signed difference between two counts of documents.
Define XAPIAN_VISIBILITY_* macros.
Xapian::docid & reference
PostingIterator()
Default constructor.
std::input_iterator_tag iterator_category
~PostingIterator()
Destructor.
Class for iterating over term positions.
const Query operator*(double factor, const Query &q)
Scale a Xapian::Query object using OP_SCALE_WEIGHT.
Class for wrapping type returned by an input_iterator.
DerefWrapper_< Xapian::docid > operator++(int)
Advance the iterator to the next position (postfix version).
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.