xapian-core  1.4.21
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
 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 412 of file api_backend.cc.

Constructor & Destructor Documentation

◆ CheckMatchDecider()

CheckMatchDecider::CheckMatchDecider ( )

Definition at line 416 of file api_backend.cc.

Member Function Documentation

◆ operator()()

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

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

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

Implements Xapian::MatchDecider.

Definition at line 418 of file api_backend.cc.

◆ was_called()

bool CheckMatchDecider::was_called ( ) const

Definition at line 423 of file api_backend.cc.

Referenced by DEFINE_TESTCASE().

Member Data Documentation

◆ called

bool CheckMatchDecider::called

Definition at line 413 of file api_backend.cc.

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