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

Xapian::ESetIterator Class Reference

Iterate through terms in the ESet. More...

#include <enquire.h>

List of all members.

Public Types

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

Public Methods

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

 ~ESetIterator ()
 Destructor. More...

 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++ ()
void operator++ (int)
const termname & operator * () const
 Get the term for the current position. More...

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...


Public Attributes

Internal * internal

Friends

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


Detailed Description

Iterate through terms in the ESet.


Constructor & Destructor Documentation

Xapian::ESetIterator::ESetIterator  
 

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

Xapian::ESetIterator::~ESetIterator  
 

Destructor.

Xapian::ESetIterator::ESetIterator const ESetIterator &    other
 

Copying is allowed (and is cheap).


Member Function Documentation

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

Returns a string describing this object.

Introspection method.

weight Xapian::ESetIterator::get_weight   const
 

Get the weight of the term at the current position.

const termname& Xapian::ESetIterator::operator *   const
 

Get the term for the current position.

void Xapian::ESetIterator::operator= const ESetIterator &    other
 

Assignment is allowed (and is cheap).


The documentation for this class was generated from the following file:
Documentation for Xapian (version 0.6.3).
Generated on 24 Dec 2002 by Doxygen 1.2.15.