xapian-core
1.4.27
|
Class combining a term and its expand weight. More...
#include <esetinternal.h>
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().
Referenced by Xapian::ESet::Internal::Internal(), and operator<().
|
inline |
Ordering relation for ESet contents.
Definition at line 64 of file esetinternal.h.
References get_description(), term, and wt.
|
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().