xapian-core  2.0.0
Public Member Functions | Private Types | Private Attributes | List of all members
SpyMaster Class Reference

#include <spymaster.h>

+ Collaboration diagram for SpyMaster:

Public Member Functions

 SpyMaster (const std::vector< opt_ptr_spy > *spies_)
 
 operator bool () const
 
void operator() (const Xapian::Document &doc, double weight)
 

Private Types

typedef Xapian::Internal::opt_intrusive_ptr< Xapian::MatchSpyopt_ptr_spy
 

Private Attributes

const std::vector< opt_ptr_spy > * spies
 The MatchSpy objects to apply. More...
 

Detailed Description

Definition at line 29 of file spymaster.h.

Member Typedef Documentation

◆ opt_ptr_spy

Definition at line 30 of file spymaster.h.

Constructor & Destructor Documentation

◆ SpyMaster()

SpyMaster::SpyMaster ( const std::vector< opt_ptr_spy > *  spies_)
inlineexplicit

Definition at line 36 of file spymaster.h.

Member Function Documentation

◆ operator bool()

SpyMaster::operator bool ( ) const
inline

Definition at line 40 of file spymaster.h.

References spies.

◆ operator()()

void SpyMaster::operator() ( const Xapian::Document doc,
double  weight 
)
inline

Definition at line 42 of file spymaster.h.

References spies.

Member Data Documentation

◆ spies

const std::vector<opt_ptr_spy>* SpyMaster::spies
private

The MatchSpy objects to apply.

Definition at line 33 of file spymaster.h.

Referenced by operator bool(), and operator()().


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