Xapian::ESetIterator Class Reference

Iterate through terms in the ESet. More...

List of all members.

Public Types

typedef
std::bidirectional_iterator_tag 
iterator_category
 Allow use as an STL iterator.
typedef std::string value_type
 Allow use as an STL iterator.
typedef Xapian::termcount_diff difference_type
 Allow use as an STL iterator.
typedef std::string * pointer
 Allow use as an STL iterator.
typedef std::string & reference
 Allow use as an STL iterator.

Public Member Functions

 ESetIterator ()
 Create an uninitialised iterator; this cannot be used, but is convenient syntactically.
 ESetIterator (const ESetIterator &other)
 Copying is allowed (and is cheap).
void operator= (const ESetIterator &other)
 Assignment is allowed (and is cheap).
ESetIteratoroperator++ ()
 Advance the iterator.
ESetIterator operator++ (int)
 Advance the iterator (postfix variant).
ESetIteratoroperator-- ()
 Decrement the iterator.
ESetIterator operator-- (int)
 Decrement the iterator (postfix variant).
const std::string & operator* () const
 Get the term for the current position.
Xapian::weight get_weight () const
 Get the weight of the term at the current position.
std::string get_description () const
 Return a string describing this object.

Friends

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.


Detailed Description

Iterate through terms in the ESet.
The documentation for this class was generated from the following file:

Documentation for Xapian (version 1.2.15).
Generated on 17 Apr 2013 by Doxygen 1.5.9.