xapian-core  1.4.27
Public Member Functions | Private Attributes | List of all members
CheckMatchDecider Class Reference
+ Inheritance diagram for CheckMatchDecider:
+ Collaboration diagram for CheckMatchDecider:

Public Member Functions

 CheckMatchDecider ()
 
bool operator() (const Xapian::Document &) const override
 Decide whether we want this document to be in the MSet. More...
 
bool was_called () const
 
- Public Member Functions inherited from Xapian::MatchDecider
 MatchDecider ()
 Default constructor. More...
 
virtual ~MatchDecider ()
 Destructor. More...
 

Private Attributes

bool called
 

Detailed Description

Definition at line 417 of file api_backend.cc.

Constructor & Destructor Documentation

◆ CheckMatchDecider()

CheckMatchDecider::CheckMatchDecider ( )
inline

Definition at line 421 of file api_backend.cc.

Member Function Documentation

◆ operator()()

bool CheckMatchDecider::operator() ( const Xapian::Document doc) const
inlineoverridevirtual

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.

Implements Xapian::MatchDecider.

Definition at line 423 of file api_backend.cc.

◆ was_called()

bool CheckMatchDecider::was_called ( ) const
inline

Definition at line 428 of file api_backend.cc.

Referenced by DEFINE_TESTCASE().

Member Data Documentation

◆ called

bool CheckMatchDecider::called
mutableprivate

Definition at line 418 of file api_backend.cc.


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