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