|
xapian-core
1.4.29
|
Virtual base class for expand decider functor. More...
#include <expanddecider.h>
Inheritance diagram for Xapian::ExpandDecider:
Collaboration diagram for Xapian::ExpandDecider:Public Member Functions | |
| ExpandDecider () | |
| Default constructor. More... | |
| 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... | |
| ExpandDecider * | release () |
| Start reference counting this object. More... | |
| const ExpandDecider * | release () const |
| Start reference counting this object. More... | |
Public Member Functions inherited from Xapian::Internal::opt_intrusive_base | |
| opt_intrusive_base (const opt_intrusive_base &) | |
| opt_intrusive_base & | operator= (const opt_intrusive_base &) |
| opt_intrusive_base () | |
| Construct object which is initially not reference counted. More... | |
| virtual | ~opt_intrusive_base () |
| void | ref () const |
| void | unref () const |
Private Member Functions | |
| void | operator= (const ExpandDecider &) |
| Don't allow assignment. More... | |
| ExpandDecider (const ExpandDecider &) | |
| Don't allow copying. More... | |
Additional Inherited Members | |
Public Attributes inherited from Xapian::Internal::opt_intrusive_base | |
| unsigned | _refs |
| Reference count. More... | |
Protected Member Functions inherited from Xapian::Internal::opt_intrusive_base | |
| void | release () const |
| Start reference counting. More... | |
Virtual base class for expand decider functor.
Definition at line 37 of file expanddecider.h.
|
private |
Don't allow copying.
|
inline |
Default constructor.
Definition at line 47 of file expanddecider.h.
|
virtual |
Virtual destructor, because we have virtual methods.
Definition at line 30 of file expanddecider.cc.
|
pure virtual |
Do we want this term in the ESet?
| term | The term to test. |
Implemented in TestExpandDecider, EvenParityExpandFunctor, Xapian::ExpandDeciderFilterPrefix, Xapian::ExpandDeciderFilterTerms, and Xapian::ExpandDeciderAnd.
|
private |
Don't allow assignment.
|
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.
Definition at line 65 of file expanddecider.h.
Referenced by DEFINE_TESTCASE().
|
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.
Definition at line 77 of file expanddecider.h.