# Xapian::ExpandDeciderAnd Class Reference

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

Inheritance diagram for Xapian::ExpandDeciderAnd:

[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?

## 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

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.

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

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

Do we want this term in the ESet?

Parameters:

  | term | The term to test.

Implements Xapian::ExpandDecider.

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

- xapian/expanddecider.h