xapian-core
1.4.27
|
Class representing a list of search results. More...
#include <eset.h>
Public Member Functions | |
ESet (const ESet &o) | |
Copying is allowed. | |
ESet & | operator= (const ESet &o) |
Copying is allowed. | |
ESet () | |
Default constructor. | |
~ESet () | |
Destructor. | |
Xapian::doccount | size () const |
Return number of items in this ESet object. | |
bool | empty () const |
Return true if this ESet object is empty. | |
Xapian::termcount | get_ebound () const |
Return a bound on the full size of this ESet object. | |
void | swap (ESet &o) |
Efficiently swap this ESet object with another. | |
ESetIterator | begin () const |
Return iterator pointing to the first item in this ESet. | |
ESetIterator | end () const |
Return iterator pointing to just after the last item in this ESet. | |
ESetIterator | operator[] (Xapian::doccount i) const |
Return iterator pointing to the i-th object in this ESet. | |
ESetIterator | back () const |
Return iterator pointing to the last object in this ESet. | |
std::string | get_description () const |
Return a string describing this object. | |
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.
Xapian::termcount Xapian::ESet::get_ebound | ( | ) | const |
Copying is allowed.
The internals are reference counted, so assignment is cheap.