MultipleMatchSpy Class Reference

Class which applies several match spies in turn. More...

Inheritance diagram for MultipleMatchSpy:

Inheritance graph
[legend]
Collaboration diagram for MultipleMatchSpy:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MultipleMatchSpy (const std::vector< Xapian::MatchSpy * > &spies_)
void operator() (const Xapian::Document &doc, Xapian::weight wt)
 Implementation of virtual operator().

Private Attributes

const std::vector
< Xapian::MatchSpy * > & 
spies
 List of match spies to call, in order.


Detailed Description

Class which applies several match spies in turn.

Definition at line 177 of file multimatch.cc.


Constructor & Destructor Documentation

MultipleMatchSpy::MultipleMatchSpy ( const std::vector< Xapian::MatchSpy * > &  spies_  )  [inline]

Definition at line 183 of file multimatch.cc.


Member Function Documentation

void MultipleMatchSpy::operator() ( const Xapian::Document doc,
Xapian::weight  wt 
) [virtual]

Implementation of virtual operator().

This implementation calls all the spies in turn.

Implements Xapian::MatchSpy.

Definition at line 194 of file multimatch.cc.

References LOGCALL_VOID, and spies.


Member Data Documentation

const std::vector<Xapian::MatchSpy *>& MultipleMatchSpy::spies [private]

List of match spies to call, in order.

Definition at line 180 of file multimatch.cc.

Referenced by operator()().


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

Documentation for Xapian (version 1.2.9).
Generated on 10 May 2012 by Doxygen 1.5.9.