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

OmESetIterator Class Reference

Iterate through terms in the ESet. More...

#include <omenquire.h>

List of all members.

Public Types

typedef std::input_iterator_tag iterator_category
typedef om_termname value_type
typedef om_termcount_diff difference_type
typedef om_termname * pointer
typedef om_termname & reference

Public Methods

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

 ~OmESetIterator ()
 Destructor. More...

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

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

OmESetIterator & operator++ ()
void operator++ (int)
const om_termname & operator * () const
 Get the term for the current position. More...

om_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 OmESet
bool operator== (const OmESetIterator &a, const OmESetIterator &b)


Detailed Description

Iterate through terms in the ESet.


Constructor & Destructor Documentation

OmESetIterator::OmESetIterator  
 

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

OmESetIterator::~OmESetIterator  
 

Destructor.

OmESetIterator::OmESetIterator const OmESetIterator &    other
 

Copying is allowed (and is cheap).


Member Function Documentation

std::string OmESetIterator::get_description   const
 

Returns a string describing this object.

Introspection method.

om_weight OmESetIterator::get_weight   const
 

Get the weight of the term at the current position.

const om_termname& OmESetIterator::operator *   const
 

Get the term for the current position.

void OmESetIterator::operator= const OmESetIterator &    other
 

Assignment is allowed (and is cheap).


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