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

ExpandDecider subclass which rejects terms in a specified list. More...

+ 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. More...
 
virtual bool operator() (const std::string &term) const
 Do we want this term in the ESet? More...
 
- Public Member Functions inherited from Xapian::ExpandDecider
 ExpandDecider ()
 Default constructor.
 
virtual ~ExpandDecider ()
 Virtual destructor, because we have virtual methods. More...
 
ExpandDeciderrelease ()
 Start reference counting this object. More...
 
const ExpandDeciderrelease () const
 Start reference counting this object. More...
 

Detailed Description

ExpandDecider subclass which rejects terms in a specified list.

ExpandDeciderFilterTerms provides an easy way to filter out terms from a fixed list when generating an ESet.

Constructor & Destructor Documentation

◆ ExpandDeciderFilterTerms()

template<class Iterator >
Xapian::ExpandDeciderFilterTerms::ExpandDeciderFilterTerms ( Iterator  reject_begin,
Iterator  reject_end 
)
inline

The two iterators specify a list of terms to be rejected.

Parameters
reject_beginBegin iterator for the list of terms to reject. It can be any input_iterator type which returns std::string or char * (e.g. TermIterator or char **).
reject_endEnd iterator for the list of terms to reject.

Member Function Documentation

◆ operator()()

virtual bool Xapian::ExpandDeciderFilterTerms::operator() ( const std::string &  term) const
virtual

Do we want this term in the ESet?

Parameters
termThe term to test.

Implements Xapian::ExpandDecider.


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

Documentation for Xapian (version 1.4.9).
Generated on Sat Nov 3 2018 by Doxygen 1.8.13.