xapian-core
1.4.26
|
Virtual base class for expand decider functor. More...
#include <expanddecider.h>
Public Member Functions | |
ExpandDecider () | |
Default constructor. | |
virtual bool | operator() (const std::string &term) const =0 |
Do we want this term in the ESet? | |
virtual | ~ExpandDecider () |
Virtual destructor, because we have virtual methods. | |
ExpandDecider * | release () |
Start reference counting this object. | |
const ExpandDecider * | release () const |
Start reference counting this object. | |
Virtual base class for expand decider functor.
|
pure virtual |
Do we want this term in the ESet?
term | The term to test. |
Implemented in Xapian::ExpandDeciderAnd, Xapian::ExpandDeciderFilterTerms, and Xapian::ExpandDeciderFilterPrefix.
|
inline |
Start reference counting this object.
You can transfer 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.
|
inline |
Start reference counting this object.
You can transfer 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.