Public Member Functions | List of all members
Xapian::MatchDecider Class Referenceabstract

Base class for matcher decision functor. More...

+ Inheritance diagram for Xapian::MatchDecider:

Public Member Functions

 MatchDecider ()
 Default constructor.
 
virtual bool operator() (const Xapian::Document &doc) const =0
 Decide whether we want this document to be in the MSet. More...
 
virtual ~MatchDecider ()
 Destructor.
 

Detailed Description

Base class for matcher decision functor.

Member Function Documentation

◆ operator()()

virtual bool Xapian::MatchDecider::operator() ( const Xapian::Document doc) const
pure virtual

Decide whether we want this document to be in the MSet.

Parameters
docThe document to test.
Returns
true if the document is acceptable, or false if the document should be excluded from the MSet.

Implemented in Xapian::ValueSetMatchDecider.


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.