|
xapian-core
1.4.30
|
Class which applies several match spies in turn. More...
Inheritance diagram for MultipleMatchSpy:
Collaboration diagram for MultipleMatchSpy:Public Member Functions | |
| MultipleMatchSpy (const std::vector< Xapian::Internal::opt_intrusive_ptr< Xapian::MatchSpy >> &spies_) | |
| void | operator() (const Xapian::Document &doc, double wt) |
| Implementation of virtual operator(). More... | |
Public Member Functions inherited from Xapian::MatchSpy | |
| MatchSpy () | |
| Default constructor, needed by subclass constructors. More... | |
| virtual | ~MatchSpy () |
| Virtual destructor, because we have virtual methods. More... | |
| virtual MatchSpy * | clone () const |
| Clone the match spy. More... | |
| virtual std::string | name () const |
| Return the name of this match spy. More... | |
| virtual std::string | serialise () const |
| Return this object's parameters serialised as a single string. More... | |
| virtual MatchSpy * | unserialise (const std::string &serialised, const Registry &context) const |
| Unserialise parameters. More... | |
| virtual std::string | serialise_results () const |
| Serialise the results of this match spy. More... | |
| virtual void | merge_results (const std::string &serialised) |
| Unserialise some results, and merge them into this matchspy. More... | |
| virtual std::string | get_description () const |
| Return a string describing this object. More... | |
| MatchSpy * | release () |
| Start reference counting this object. More... | |
| const MatchSpy * | release () const |
| Start reference counting this object. More... | |
Public Member Functions inherited from Xapian::Internal::opt_intrusive_base | |
| opt_intrusive_base (const opt_intrusive_base &) | |
| opt_intrusive_base & | operator= (const opt_intrusive_base &) |
| opt_intrusive_base () | |
| Construct object which is initially not reference counted. More... | |
| virtual | ~opt_intrusive_base () |
| void | ref () const |
| void | unref () const |
Private Attributes | |
| const std::vector< Xapian::Internal::opt_intrusive_ptr< Xapian::MatchSpy > > & | spies |
| List of match spies to call, in order. More... | |
Additional Inherited Members | |
Public Attributes inherited from Xapian::Internal::opt_intrusive_base | |
| unsigned | _refs |
| Reference count. More... | |
Protected Member Functions inherited from Xapian::Internal::opt_intrusive_base | |
| void | release () const |
| Start reference counting. More... | |
Class which applies several match spies in turn.
Definition at line 249 of file multimatch.cc.
|
inlineexplicit |
Definition at line 256 of file multimatch.cc.
|
virtual |
Implementation of virtual operator().
This implementation calls all the spies in turn.
Implements Xapian::MatchSpy.
Definition at line 267 of file multimatch.cc.
References LOGCALL_VOID.
|
private |
List of match spies to call, in order.
Definition at line 252 of file multimatch.cc.