Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Xapian::ESetIterator Class Reference

Iterate through terms in the ESet. More...

#include <enquire.h>

Collaboration diagram for Xapian::ESetIterator:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::input_iterator_tag iterator_category
typedef std::string value_type
typedef Xapian::termcount_diff difference_type
typedef std::string * pointer
typedef std::string & reference

Public Methods

 ESetIterator ()
 Create an uninitialised iterator; this cannot be used, but is convenient syntactically. More...

 ~ESetIterator ()
 ESetIterator (const ESetIterator &other)
 Copying is allowed (and is cheap). More...

void operator= (const ESetIterator &other)
 Assignment is allowed (and is cheap). More...

ESetIterator & operator++ ()
 Advance the iterator. More...

void operator++ (int)
const std::string & operator * () const
 Get the term for the current position. More...

Xapian::weight get_weight () const
 Get the weight of the term at the current position. More...

std::string get_description () const
 Returns a string describing this object. More...


Friends

class ESet
bool operator== (const ESetIterator &a, const ESetIterator &b)
bool operator!= (const ESetIterator &a, const ESetIterator &b)

Detailed Description

Iterate through terms in the ESet.


Constructor & Destructor Documentation

Xapian::ESetIterator::ESetIterator   [inline]
 

Create an uninitialised iterator; this cannot be used, but is convenient syntactically.

Xapian::ESetIterator::ESetIterator const ESetIterator &    other [inline]
 

Copying is allowed (and is cheap).


Member Function Documentation

std::string Xapian::ESetIterator::get_description   const
 

Returns a string describing this object.

Introspection method.

Xapian::weight Xapian::ESetIterator::get_weight   const
 

Get the weight of the term at the current position.

const std::string& Xapian::ESetIterator::operator *   const
 

Get the term for the current position.

ESetIterator& Xapian::ESetIterator::operator++   [inline]
 

Advance the iterator.

void Xapian::ESetIterator::operator= const ESetIterator &    other [inline]
 

Assignment is allowed (and is cheap).


The documentation for this class was generated from the following file:
Documentation for Xapian (version 0.7.1).
Generated on 11 Jul 2003 by Doxygen 1.2.15.