#include <esetinternal.h>


Public Member Functions | |
| Internal () | |
| Construct an empty ESet::Internal. | |
| void | expand (Xapian::termcount max_esize, const Xapian::Database &db, const Xapian::RSet &rset, const Xapian::ExpandDecider *edecider, const Xapian::Internal::ExpandWeight &eweight, Xapian::weight min_wt) |
| Run the "expand" operation which fills the ESet. | |
| std::string | get_description () const |
| Return a string describing this object. | |
Private Member Functions | |
| void | operator= (const Internal &) |
| Don't allow assignment. | |
| Internal (const Internal &) | |
| Don't allow copying. | |
Private Attributes | |
| Xapian::termcount | ebound |
| This is a lower bound on the ESet size if an infinite number of results were requested. | |
| std::vector < Xapian::Internal::ExpandTerm > | items |
| The ExpandTerm objects which represent the items in the ESet. | |
Friends | |
| class | ESet |
| class | ESetIterator |
Definition at line 76 of file esetinternal.h.
| Xapian::ESet::Internal::Internal | ( | const Internal & | ) | [private] |
Don't allow copying.
| Xapian::ESet::Internal::Internal | ( | ) | [inline] |
| void Xapian::ESet::Internal::expand | ( | Xapian::termcount | max_esize, | |
| const Xapian::Database & | db, | |||
| const Xapian::RSet & | rset, | |||
| const Xapian::ExpandDecider * | edecider, | |||
| const Xapian::Internal::ExpandWeight & | eweight, | |||
| Xapian::weight | min_wt | |||
| ) |
Run the "expand" operation which fills the ESet.
Definition at line 138 of file esetinternal.cc.
References Assert, Xapian::build_termlist_tree(), ebound, Xapian::RSet::empty(), Xapian::Internal::ExpandWeight::get_weight(), items, LOGCALL_VOID, LOGLINE, and rare.
| string Xapian::ESet::Internal::get_description | ( | ) | const |
Return a string describing this object.
Definition at line 206 of file esetinternal.cc.
References ebound, items, and Xapian::Internal::str().
| void Xapian::ESet::Internal::operator= | ( | const Internal & | ) | [private] |
Don't allow assignment.
friend class ESet [friend] |
Definition at line 77 of file esetinternal.h.
friend class ESetIterator [friend] |
Definition at line 78 of file esetinternal.h.
This is a lower bound on the ESet size if an infinite number of results were requested.
It will of course always be true that: ebound >= items.size()
Definition at line 85 of file esetinternal.h.
Referenced by expand(), and get_description().
std::vector<Xapian::Internal::ExpandTerm> Xapian::ESet::Internal::items [private] |
The ExpandTerm objects which represent the items in the ESet.
Definition at line 88 of file esetinternal.h.
Referenced by expand(), and get_description().