22 #ifndef XAPIAN_INCLUDED_VALUEITERATOR_H
23 #define XAPIAN_INCLUDED_VALUEITERATOR_H
25 #if !defined XAPIAN_IN_XAPIAN_H && !defined XAPIAN_LIB_BUILD
26 # error Never use <xapian/valueiterator.h> directly; include <xapian.h> instead.
58 #ifdef XAPIAN_MOVE_SEMANTICS
61 : internal(o.internal) {
68 if (
internal) decref();
69 internal = o.internal;
86 if (
internal) decref();
97 const std::string & value(**
this);
177 std::string get_description()
const;
212 return a.internal == b.internal;
216 XAPIAN_NOTHROW(
operator!=(
const ValueIterator &a,
const ValueIterator &b));
Compiler attribute macros.
Abstract base class for value streams.
Class for iterating over document values.
std::input_iterator_tag iterator_category
Xapian::doccount_diff difference_type
ValueIterator()
Default constructor.
~ValueIterator()
Destructor.
DerefWrapper_< std::string > operator++(int)
Advance the iterator to the next position (postfix version).
Class for wrapping type returned by an input_iterator.
The Xapian namespace contains public interfaces for the Xapian library.
XAPIAN_DOCID_BASE_TYPE doccount_diff
A signed difference between two counts of documents.
unsigned valueno
The number for a value slot in a document.
bool operator==(const ESetIterator &a, const ESetIterator &b)
Equality test for ESetIterator objects.
bool operator!=(const ESetIterator &a, const ESetIterator &b)
Inequality test for ESetIterator objects.
const Query operator*(double factor, const Query &q)
Scale a Xapian::Query object using OP_SCALE_WEIGHT.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
Define XAPIAN_VISIBILITY_* macros.
#define XAPIAN_VISIBILITY_DEFAULT