Xapian: API Documentation: Xapian::ESet Class Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
Xapian::ESet Class Reference

Class representing an ordered set of expand terms (an ESet). More...

## Public Member Functions
| ESet ()
| Construct an empty ESet.
| ~ESet ()
| Destructor.
| ESet (const ESet &other)
| Copying is allowed (and is cheap).
void | operator= (const ESet &other)
| Assignment is allowed (and is cheap).
Xapian::termcount | get_ebound () const
| A lower bound on the number of terms which are in the full set of results of the expand. More...
Xapian::termcount | size () const
| The number of terms in this E-Set.
Xapian::termcount | max_size () const
| Required to allow use as an STL container. More...
bool | empty () const
| Test if this E-Set is empty.
void | swap (ESet &other)
| Swap the E-Set we point to with another.
ESetIterator | begin () const
| Iterator for the terms in this E-Set.
ESetIterator | end () const
| End iterator corresponding to begin()
ESetIterator | back () const
| Iterator pointing to the last element of this E-Set.
ESetIterator | operator[] (Xapian::termcount i) const
| This returns the term at position i in this E-Set. More...
std::string | get_description () const
| Return a string describing this object.

## Detailed Description

Class representing an ordered set of expand terms (an ESet).

This set represents the results of an expand operation, which is performed by Xapian::Enquire::get_eset().

## Member Function Documentation

Xapian::termcount Xapian::ESet::get_ebound | ( |  | ) | const

A lower bound on the number of terms which are in the full set of results of the expand.

This will be greater than or equal to size()

Xapian::termcount Xapian::ESet::max_size | ( |  | ) | const
| inline

Required to allow use as an STL container.

ESetIterator Xapian::ESet::operator[] | ( | Xapian::termcount | i | ) | const

This returns the term at position i in this E-Set.

Parameters

  i | The index into the ESet.

The documentation for this class was generated from the following file:

- xapian/enquire.h