Public Member Functions | Public Attributes | List of all members
MyMatchDecider Struct Reference
+ Inheritance diagram for MyMatchDecider:
+ Collaboration diagram for MyMatchDecider:

Public Member Functions

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

Public Attributes

bool called
 

Detailed Description

Definition at line 370 of file api_backend.cc.

Constructor & Destructor Documentation

MyMatchDecider::MyMatchDecider ( )
inline

Definition at line 373 of file api_backend.cc.

Member Function Documentation

bool MyMatchDecider::operator() ( const Xapian::Document doc) const
inlinevirtual

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 375 of file api_backend.cc.

Member Data Documentation

bool MyMatchDecider::called
mutable

Definition at line 371 of file api_backend.cc.

Referenced by DEFINE_TESTCASE().


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

Documentation for Xapian (version 1.4.4).
Generated on Mon Apr 24 2017 by Doxygen 1.8.8.