MSetCmp Class Reference

MSetItem comparison functor. More...

#include <msetcmp.h>

List of all members.

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.

Private Attributes

mset_cmp fn


Detailed Description

MSetItem comparison functor.

Definition at line 35 of file msetcmp.h.


Constructor & Destructor Documentation

MSetCmp::MSetCmp ( mset_cmp  fn_  )  [inline]

Definition at line 38 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 40 of file msetcmp.h.

References fn.


Member Data Documentation

mset_cmp MSetCmp::fn [private]

Definition at line 36 of file msetcmp.h.

Referenced by operator()().


The documentation for this class was generated from the following file:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.