xapian-core
1.4.27
|
A string with a corresponding frequency. More...
Public Member Functions | |
StringAndFrequency (const std::string &str_, Xapian::doccount frequency_) | |
Construct a StringAndFrequency object. More... | |
std::string | get_string () const |
Return the string. More... | |
Xapian::doccount | get_frequency () const |
Return the frequency. More... | |
Private Attributes | |
std::string | str |
Xapian::doccount | frequency |
A string with a corresponding frequency.
Definition at line 151 of file matchspy.cc.
|
inline |
Construct a StringAndFrequency object.
Definition at line 156 of file matchspy.cc.
|
inline |
Return the frequency.
Definition at line 163 of file matchspy.cc.
Referenced by StringAndFreqCmpByFreq::operator()().
|
inline |
Return the string.
Definition at line 160 of file matchspy.cc.
References Xapian::Internal::str().
Referenced by StringAndFreqCmpByFreq::operator()().
|
private |
Definition at line 153 of file matchspy.cc.
|
private |
Definition at line 152 of file matchspy.cc.