|
xapian-core
1.4.29
|
Base class for field processors. More...
#include <queryparser.h>
Inheritance diagram for Xapian::FieldProcessor:
Collaboration diagram for Xapian::FieldProcessor:Public Member Functions | |
| FieldProcessor () | |
| Default constructor. More... | |
| virtual | ~FieldProcessor () |
| Destructor. More... | |
| virtual Xapian::Query | operator() (const std::string &str)=0 |
| Convert a field-prefixed string to a Query object. More... | |
| FieldProcessor * | release () |
| Start reference counting this object. More... | |
| const FieldProcessor * | 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 FieldProcessor &) |
| Don't allow assignment. More... | |
| FieldProcessor (const FieldProcessor &) | |
| 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... | |
Base class for field processors.
Definition at line 729 of file queryparser.h.
|
private |
Don't allow copying.
|
inline |
Default constructor.
Definition at line 739 of file queryparser.h.
|
virtual |
Destructor.
Definition at line 64 of file queryparser.cc.
|
pure virtual |
Convert a field-prefixed string to a Query object.
| str | The string to convert. |
Implemented in DateRangeFieldProcessor, HostFieldProcessor, TitleFieldProcessor, and TestFieldProcessor.
|
private |
Don't allow assignment.
|
inline |
Start reference counting this object.
You can transfer ownership of a dynamically allocated FieldProcessor 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 759 of file queryparser.h.
Referenced by DEFINE_TESTCASE().
|
inline |
Start reference counting this object.
You can transfer ownership of a dynamically allocated FieldProcessor 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 771 of file queryparser.h.