|
xapian-core
1.4.30
|
Class combining a term and its expand weight. More...
#include <esetinternal.h>
Collaboration diagram for Xapian::Internal::ExpandTerm:Public Member Functions | |
| ExpandTerm (double wt_, const std::string &term_) | |
| Constructor. More... | |
| void | swap (ExpandTerm &o) |
| Implement custom swap for ESet sorting efficiency. More... | |
| bool | operator< (const ExpandTerm &o) const |
| Ordering relation for ESet contents. More... | |
| std::string | get_description () const |
| Return a string describing this object. More... | |
Private Attributes | |
| double | wt |
| The expand weight calculated for this term. More... | |
| std::string | term |
| The term. More... | |
Friends | |
| class | Xapian::ESetIterator |
| class | Xapian::ESet::Internal |
Class combining a term and its expand weight.
Definition at line 42 of file esetinternal.h.
|
inline |
Constructor.
Definition at line 54 of file esetinternal.h.
| string Xapian::Internal::ExpandTerm::get_description | ( | ) | const |
Return a string describing this object.
Definition at line 48 of file esetinternal.cc.
References description_append(), and Xapian::Internal::str().
|
inline |
Ordering relation for ESet contents.
Definition at line 64 of file esetinternal.h.
|
inline |
Implement custom swap for ESet sorting efficiency.
Definition at line 58 of file esetinternal.h.
|
friend |
Definition at line 44 of file esetinternal.h.
|
friend |
Definition at line 43 of file esetinternal.h.
|
private |
|
private |
The expand weight calculated for this term.
Definition at line 47 of file esetinternal.h.
Referenced by operator<(), and swap().