#include <valueiterator.h>
Collaboration diagram for Xapian::ValueIterator:
Public Types | |
typedef std::input_iterator_tag | iterator_category |
Allow use as an STL iterator. | |
typedef std::string | value_type |
typedef Xapian::valueno_diff | difference_type |
typedef std::string * | pointer |
typedef std::string & | reference |
Public Member Functions | |
ValueIterator () | |
Create an uninitialised iterator; this cannot be used, but is convenient syntactically. | |
ValueIterator (const ValueIterator &other) | |
Copying is allowed (and is cheap). | |
void | operator= (const ValueIterator &other) |
Assignment is allowed (and is cheap). | |
ValueIterator & | operator++ () |
Advance the iterator. | |
ValueIterator | operator++ (int) |
Advance the iterator (postfix variant). | |
const std::string & | operator * () const |
Get the value for the current position. | |
const std::string * | operator-> () const |
Get the value for the current position. | |
Xapian::valueno | get_valueno () const |
Get the number of the value at the current position. | |
std::string | get_description () const |
Returns a string describing this object. | |
Friends | |
class | Document |
bool | operator== (const ValueIterator &a, const ValueIterator &b) |
bool | operator!= (const ValueIterator &a, const ValueIterator &b) |
|
Allow use as an STL iterator.
|
|
Create an uninitialised iterator; this cannot be used, but is convenient syntactically.
|
|
Copying is allowed (and is cheap).
|
|
Returns a string describing this object. Introspection method. |
|
Get the number of the value at the current position.
|
|
Get the value for the current position.
|
|
Advance the iterator (postfix variant).
|
|
Advance the iterator.
|
|
Get the value for the current position.
|
|
Assignment is allowed (and is cheap).
|