|
xapian-core
2.0.0
|
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_term () const |
| double | get_weight () const |
| 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::ESet::Internal |
Class combining a term and its expand weight.
Definition at line 42 of file esetinternal.h.
|
inline |
Constructor.
Definition at line 53 of file esetinternal.h.
| string Xapian::Internal::ExpandTerm::get_description | ( | ) | const |
Return a string describing this object.
Definition at line 52 of file esetinternal.cc.
References description_append(), Xapian::Internal::str(), and term.
|
inline |
Definition at line 69 of file esetinternal.h.
References term.
|
inline |
Definition at line 71 of file esetinternal.h.
References wt.
|
inline |
Ordering relation for ESet contents.
Definition at line 63 of file esetinternal.h.
|
inline |
Implement custom swap for ESet sorting efficiency.
Definition at line 57 of file esetinternal.h.
|
friend |
Definition at line 43 of file esetinternal.h.
|
private |
The term.
Definition at line 49 of file esetinternal.h.
Referenced by get_term(), operator<(), and swap().
|
private |
The expand weight calculated for this term.
Definition at line 46 of file esetinternal.h.
Referenced by get_weight(), operator<(), and swap().