1 package Xapian
::ValueIterator
;
5 Xapian::ValueIterator - Iterate over values in a slot.
9 This object represents a stream of document values. It overloads C<++> for
10 advancing the iterator, or you can explicitly call the C<inc> method.
11 This class also overloads C<eq>, C<ne>, C<==>, and C<!=>.
13 =head2 Compatibility with Search::Xapian
15 Search::Xapian overloads <""> (stringification) on this class to call
16 the C<get_value> method. Call C<get_value> directly instead.
24 Constructor. Defaults to a uninitialized iterator.
30 Advance the iterator by one. (Called implicitly by C<++> overloading)
34 Return the number of the value slot at the current position.
38 Return the string in the value slot at current position.
42 Returns a string describing this object.
44 =item equal <valueiterator>
46 Checks if a valueiterator is the same as this valueiterator. Also overloaded as
47 the C<eq> and C<==> operators.
49 =item nequal <valueiterator>
51 Checks if a valueiterator is different from this valueiterator. Also overloaded
52 as the C<ne> and C<!=> operators.