xapian-core  1.4.21
Public Member Functions | Private Member Functions | List of all members
Xapian::MatchDecider Class Referenceabstract

Base class for matcher decision functor. More...

#include <enquire.h>

+ Inheritance diagram for Xapian::MatchDecider:

Public Member Functions

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

Private Member Functions

void operator= (const MatchDecider &)
 Don't allow assignment. More...
 
 MatchDecider (const MatchDecider &)
 Don't allow copying. More...
 

Detailed Description

Base class for matcher decision functor.

Definition at line 118 of file enquire.h.

Constructor & Destructor Documentation

◆ MatchDecider() [1/2]

Xapian::MatchDecider::MatchDecider ( const MatchDecider )
private

Don't allow copying.

◆ MatchDecider() [2/2]

Xapian::MatchDecider::MatchDecider ( )
inline

Default constructor.

Definition at line 127 of file enquire.h.

◆ ~MatchDecider()

Xapian::MatchDecider::~MatchDecider ( )
virtual

Destructor.

Definition at line 64 of file omenquire.cc.

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 GrepMatchDecider, CheckMatchDecider, and Xapian::ValueSetMatchDecider.

◆ operator=()

void Xapian::MatchDecider::operator= ( const MatchDecider )
private

Don't allow assignment.


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