#include <expanddecider.h>
Inheritance diagram for Xapian::ExpandDeciderFilterTerms:
Public Member Functions | |
template<class Iterator> | |
ExpandDeciderFilterTerms (Iterator reject_begin, Iterator reject_end) | |
The two iterators specify a list of terms to be rejected. | |
virtual bool | operator() (const std::string &term) const |
Do we want this term in the ESet? | |
Private Attributes | |
std::set< std::string > | rejects |
ExpandDeciderFilterTerms provides an easy way to filter out terms from a fixed list when generating an ESet.
Definition at line 70 of file expanddecider.h.
Xapian::ExpandDeciderFilterTerms::ExpandDeciderFilterTerms | ( | Iterator | reject_begin, | |
Iterator | reject_end | |||
) | [inline] |
The two iterators specify a list of terms to be rejected.
reject_begin and reject_end can be any input_iterator type which returns std::string or char * (e.g. TermIterator or char **).
Definition at line 80 of file expanddecider.h.
virtual bool Xapian::ExpandDeciderFilterTerms::operator() | ( | const std::string & | term | ) | const [virtual] |
std::set<std::string> Xapian::ExpandDeciderFilterTerms::rejects [private] |
Definition at line 71 of file expanddecider.h.