#include <queryparser.h>
Inheritance diagram for Xapian::SimpleStopper:
Public Member Functions | |
SimpleStopper () | |
Default constructor. | |
template<class Iterator> | |
SimpleStopper (Iterator begin, Iterator end) | |
Initialise from a pair of iterators. | |
void | add (const std::string &word) |
Add a single stop word. | |
virtual bool | operator() (const std::string &term) const |
Is term a stop-word? | |
virtual | ~SimpleStopper () |
Destructor. | |
virtual std::string | get_description () const |
Return a string describing this object. | |
Private Attributes | |
std::set< std::string > | stop_words |
Definition at line 51 of file queryparser.h.
Xapian::SimpleStopper::SimpleStopper | ( | ) | [inline] |
Xapian::SimpleStopper::SimpleStopper | ( | Iterator | begin, | |
Iterator | end | |||
) | [inline] |
virtual Xapian::SimpleStopper::~SimpleStopper | ( | ) | [inline, virtual] |
void Xapian::SimpleStopper::add | ( | const std::string & | word | ) | [inline] |
virtual bool Xapian::SimpleStopper::operator() | ( | const std::string & | term | ) | const [inline, virtual] |
string SimpleStopper::get_description | ( | ) | const [virtual] |
Return a string describing this object.
Reimplemented from Xapian::Stopper.
Definition at line 45 of file queryparser.cc.
References stop_words.
std::set<std::string> Xapian::SimpleStopper::stop_words [private] |