Public Member Functions | List of all members
Xapian::ExpandDecider Class Referenceabstract

Virtual base class for expand decider functor. More...

+ Inheritance diagram for Xapian::ExpandDecider:

Public Member Functions

 ExpandDecider ()
 Default constructor.
 
virtual bool operator() (const std::string &term) const =0
 Do we want this term in the ESet? More...
 
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

Virtual base class for expand decider functor.

Constructor & Destructor Documentation

◆ ~ExpandDecider()

virtual Xapian::ExpandDecider::~ExpandDecider ( )
virtual

Virtual destructor, because we have virtual methods.

Member Function Documentation

◆ operator()()

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

Do we want this term in the ESet?

Parameters
termThe term to test.

Implemented in Xapian::ExpandDeciderFilterPrefix, Xapian::ExpandDeciderFilterTerms, and Xapian::ExpandDeciderAnd.

◆ release() [1/2]

ExpandDecider* Xapian::ExpandDecider::release ( )
inline

Start reference counting this object.

You can hand ownership of a dynamically allocated ExpandDecider object to Xapian by calling release() and then passing the object to a Xapian method. Xapian will arrange to delete the object once it is no longer required.

◆ release() [2/2]

const ExpandDecider* Xapian::ExpandDecider::release ( ) const
inline

Start reference counting this object.

You can hand ownership of a dynamically allocated ExpandDecider object to Xapian by calling release() and then passing the object to a Xapian method. Xapian will arrange to delete the object once it is no longer required.


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.