Xapian::ExpandDeciderAnd Class Reference

ExpandDecider subclass which rejects terms using two ExpandDeciders. More...

#include <expanddecider.h>

Inheritance diagram for Xapian::ExpandDeciderAnd:

Inheritance graph
[legend]
Collaboration diagram for Xapian::ExpandDeciderAnd:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ExpandDeciderAnd (const ExpandDecider &first_, const ExpandDecider &second_)
 Terms will be checked with first, and if accepted, then checked with second.
 ExpandDeciderAnd (const ExpandDecider *first_, const ExpandDecider *second_)
 Compatibility method.
virtual bool operator() (const std::string &term) const
 Do we want this term in the ESet?

Private Attributes

const ExpandDeciderfirst
const ExpandDecidersecond

Detailed Description

ExpandDecider subclass which rejects terms using two ExpandDeciders.

Terms are only accepted if they are accepted by both of the specified ExpandDecider objects.

Definition at line 46 of file expanddecider.h.


Constructor & Destructor Documentation

Xapian::ExpandDeciderAnd::ExpandDeciderAnd ( const ExpandDecider first_,
const ExpandDecider second_ 
) [inline]

Terms will be checked with first, and if accepted, then checked with second.

Definition at line 53 of file expanddecider.h.

Xapian::ExpandDeciderAnd::ExpandDeciderAnd ( const ExpandDecider first_,
const ExpandDecider second_ 
) [inline]

Compatibility method.

Definition at line 58 of file expanddecider.h.


Member Function Documentation

virtual bool Xapian::ExpandDeciderAnd::operator() ( const std::string &  term  )  const [virtual]

Do we want this term in the ESet?

Implements Xapian::ExpandDecider.


Member Data Documentation

const ExpandDecider& Xapian::ExpandDeciderAnd::first [private]

Definition at line 47 of file expanddecider.h.

const ExpandDecider & Xapian::ExpandDeciderAnd::second [private]

Definition at line 47 of file expanddecider.h.


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.