xapian-core  2.0.0
Public Member Functions | Private Attributes | List of all members
ProtoMSet::MCmpAdaptor Class Reference

Adapt MSetCmp to be usable with min_heap. More...

+ Collaboration diagram for ProtoMSet::MCmpAdaptor:

Public Member Functions

 MCmpAdaptor (ProtoMSet *protomset_)
 
bool operator() (Xapian::doccount a, Xapian::doccount b) const
 

Private Attributes

ProtoMSetprotomset
 

Detailed Description

Adapt MSetCmp to be usable with min_heap.

Definition at line 40 of file protomset.h.

Constructor & Destructor Documentation

◆ MCmpAdaptor()

ProtoMSet::MCmpAdaptor::MCmpAdaptor ( ProtoMSet protomset_)
inlineexplicit

Definition at line 44 of file protomset.h.

Member Function Documentation

◆ operator()()

bool ProtoMSet::MCmpAdaptor::operator() ( Xapian::doccount  a,
Xapian::doccount  b 
) const
inline

Definition at line 46 of file protomset.h.

References ProtoMSet::mcmp, protomset, and ProtoMSet::results.

Member Data Documentation

◆ protomset

ProtoMSet* ProtoMSet::MCmpAdaptor::protomset
private

Definition at line 41 of file protomset.h.

Referenced by operator()().


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