Class representing a list of search results. More...
Public Member Functions | |
| ESet (const ESet &o) | |
| Copying is allowed. More... | |
| ESet & | operator= (const ESet &o) |
| Copying is allowed. More... | |
| ESet () | |
| Default constructor. More... | |
| ~ESet () | |
| Destructor. | |
| Xapian::doccount | size () const |
| Return number of items in this ESet object. More... | |
| bool | empty () const |
| Return true if this ESet object is empty. More... | |
| Xapian::termcount | get_ebound () const |
| Return a bound on the full size of this ESet object. More... | |
| void | swap (ESet &o) |
| Efficiently swap this ESet object with another. More... | |
| ESetIterator | begin () const |
| Return iterator pointing to the first item in this ESet. More... | |
| ESetIterator | end () const |
| Return iterator pointing to just after the last item in this ESet. More... | |
| ESetIterator | operator[] (Xapian::doccount i) const |
| Return iterator pointing to the i-th object in this ESet. More... | |
| ESetIterator | back () const |
| Return iterator pointing to the last object in this ESet. More... | |
| std::string | get_description () const |
| Return a string describing this object. | |
| Xapian::doccount | max_size () const |
Class representing a list of search results.
| Xapian::ESet::ESet | ( | const ESet & | o | ) |
Copying is allowed.
The internals are reference counted, so copying is cheap.
| Xapian::ESet::ESet | ( | ) |
Default constructor.
Creates an empty ESet, mostly useful as a placeholder.
|
inline |
Return iterator pointing to the last object in this ESet.
|
inline |
Return iterator pointing to the first item in this ESet.
|
inline |
Return true if this ESet object is empty.
|
inline |
Return iterator pointing to just after the last item in this ESet.
| Xapian::termcount Xapian::ESet::get_ebound | ( | ) | const |
Copying is allowed.
The internals are reference counted, so assignment is cheap.
|
inline |
Return iterator pointing to the i-th object in this ESet.
| Xapian::doccount Xapian::ESet::size | ( | ) | const |
Return number of items in this ESet object.