Public Member Functions | Private Attributes | List of all members
MSetCmp Class Reference

MSetItem comparison functor. More...

#include <msetcmp.h>

+ Collaboration diagram for MSetCmp:

Public Member Functions

 MSetCmp (mset_cmp fn_)
 
bool operator() (const Xapian::Internal::MSetItem &a, const Xapian::Internal::MSetItem &b) const
 Return true if MSetItem a should be ranked above MSetItem b. More...
 

Private Attributes

mset_cmp fn
 

Detailed Description

MSetItem comparison functor.

Definition at line 36 of file msetcmp.h.

Constructor & Destructor Documentation

MSetCmp::MSetCmp ( mset_cmp  fn_)
inlineexplicit

Definition at line 39 of file msetcmp.h.

Member Function Documentation

bool MSetCmp::operator() ( const Xapian::Internal::MSetItem a,
const Xapian::Internal::MSetItem b 
) const
inline

Return true if MSetItem a should be ranked above MSetItem b.

Definition at line 41 of file msetcmp.h.

References fn.

Member Data Documentation

mset_cmp MSetCmp::fn
private

Definition at line 37 of file msetcmp.h.

Referenced by operator()().


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

Documentation for Xapian (version 1.4.5).
Generated on Mon Oct 16 2017 by Doxygen 1.8.8.