Xapian: API Documentation: Xapian::SimpleStopper Class Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
Xapian::SimpleStopper Class Reference

Simple implementation of Stopper class - this will suit most users. More...

Inheritance diagram for Xapian::SimpleStopper:
[legend]

## 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? More...
virtual std::string | get_description () const
| Return a string describing this object.
Public Member Functions inherited from Xapian::Stopper
virtual | ~Stopper ()
| Class has virtual methods, so provide a virtual destructor.

## Detailed Description

Simple implementation of Stopper class - this will suit most users.

## Member Function Documentation

virtual bool Xapian::SimpleStopper::operator() | ( | const std::string & | term | ) | const
| inlinevirtual

Is term a stop-word?

Parameters

  term | The term to test.

Implements Xapian::Stopper.

The documentation for this class was generated from the following file:

- xapian/queryparser.h