Public Member Functions | List of all members
Xapian::ExpandDeciderAnd Class Reference

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

+ Inheritance diagram for Xapian::ExpandDeciderAnd:

Public Member Functions

 ExpandDeciderAnd (const ExpandDecider &first_, const ExpandDecider &second_)
 Terms will be checked with first, and if accepted, then checked with second. More...
 
 ExpandDeciderAnd (const ExpandDecider *first_, const ExpandDecider *second_)
 Compatibility method. More...
 
virtual bool operator() (const std::string &term) const
 Do we want this term in the ESet? More...
 
- Public Member Functions inherited from Xapian::ExpandDecider
 ExpandDecider ()
 Default constructor.
 
virtual ~ExpandDecider ()
 Virtual destructor, because we have virtual methods. More...
 
ExpandDeciderrelease ()
 Start reference counting this object. More...
 
const ExpandDeciderrelease () const
 Start reference counting this object. More...
 

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.

Constructor & Destructor Documentation

◆ ExpandDeciderAnd() [1/2]

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

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

Parameters
first_First ExpandDecider object to test with.
second_ExpandDecider object to test with if first_ accepts.

◆ ExpandDeciderAnd() [2/2]

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

Compatibility method.

Parameters
first_First ExpandDecider object to test with.
second_ExpandDecider object to test with if first_ accepts.

Member Function Documentation

◆ operator()()

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

Do we want this term in the ESet?

Parameters
termThe term to test.

Implements Xapian::ExpandDecider.


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

Documentation for Xapian (version 1.4.9).
Generated on Sat Nov 3 2018 by Doxygen 1.8.13.