Public Member Functions | |
TermGroup () | |
void | add_term (Term *term) |
Add a Term object to this TermGroup object. | |
Query * | as_group (State *state) const |
Convert to a Xapian::Query * using default_op. | |
void | destroy () |
Provide a way to explicitly delete an object of this class. | |
Protected Member Functions | |
~TermGroup () | |
Protected destructor, so an auto-variable of this type is a compile-time error - you must allocate this object with new. | |
Private Attributes | |
vector< Term * > | terms |
Definition at line 1073 of file queryparser_internal.cc.
TermGroup::TermGroup | ( | ) | [inline] |
Definition at line 1077 of file queryparser_internal.cc.
TermGroup::~TermGroup | ( | ) | [inline, protected] |
Protected destructor, so an auto-variable of this type is a compile-time error - you must allocate this object with new.
Definition at line 1096 of file queryparser_internal.cc.
void TermGroup::add_term | ( | Term * | term | ) | [inline] |
Add a Term object to this TermGroup object.
Definition at line 1080 of file queryparser_internal.cc.
Referenced by yy_reduce().
Convert to a Xapian::Query * using default_op.
Definition at line 1105 of file queryparser_internal.cc.
References State::add_to_stoplist(), State::default_op(), State::flags, State::get_database(), State::is_stopword(), startswith(), Xapian::Database::synonym_keys_begin(), Xapian::Database::synonym_keys_end(), Xapian::Database::synonyms_begin(), Xapian::Database::synonyms_end(), and terms.
Referenced by yy_reduce().
void TermGroup::destroy | ( | ) | [inline] |
Provide a way to explicitly delete an object of this class.
The destructor is protected to prevent auto-variables of this type.
Definition at line 1090 of file queryparser_internal.cc.
Referenced by yy_destructor().
vector<Term *> TermGroup::terms [private] |
Definition at line 1074 of file queryparser_internal.cc.
Referenced by TermList::add_positional_term(), as_group(), TermList::as_opwindow_query(), and TermList::~TermList().