#include <vectortermlist.h>
Inheritance diagram for VectorTermList:


Public Member Functions | |
| VectorTermList (vector< string >::const_iterator begin, vector< string >::const_iterator end) | |
| VectorTermList (list< string >::const_iterator begin, list< string >::const_iterator end) | |
| Xapian::termcount | get_approx_size () const |
| string | get_termname () const |
| Xapian::termcount | get_wdf () const |
| Xapian::doccount | get_termfreq () const |
| TermList * | next () |
| next() causes the TermList to move to the next term in the list. | |
| TermList * | skip_to (const string &) |
| bool | at_end () const |
| Xapian::PositionIterator | positionlist_begin () const |
| Xapian::termcount | positionlist_count () const |
Private Attributes | |
| vector< string > | terms |
| vector< string >::size_type | offset |
| bool | before_start |
Definition at line 34 of file vectortermlist.h.
| VectorTermList::VectorTermList | ( | vector< string >::const_iterator | begin, | |
| vector< string >::const_iterator | end | |||
| ) | [inline] |
Definition at line 41 of file vectortermlist.h.
| VectorTermList::VectorTermList | ( | list< string >::const_iterator | begin, | |
| list< string >::const_iterator | end | |||
| ) | [inline] |
Definition at line 47 of file vectortermlist.h.
| Xapian::termcount VectorTermList::get_approx_size | ( | ) | const [inline] |
| string VectorTermList::get_termname | ( | ) | const [inline] |
| Xapian::termcount VectorTermList::get_wdf | ( | ) | const [inline] |
| Xapian::doccount VectorTermList::get_termfreq | ( | ) | const [inline] |
Definition at line 71 of file vectortermlist.h.
| TermList* VectorTermList::next | ( | ) | [inline] |
next() causes the TermList to move to the next term in the list.
It must be called before any other methods. If next() returns a non-zero pointer P, then the original termlist should be deleted, and the original pointer replaced with P. In a leaf TermList, next() will always return 0.
Definition at line 82 of file vectortermlist.h.
References Assert, at_end(), before_start, and offset.
| TermList* VectorTermList::skip_to | ( | const string & | ) | [inline] |
| bool VectorTermList::at_end | ( | ) | const [inline] |
| Xapian::PositionIterator VectorTermList::positionlist_begin | ( | ) | const [inline] |
Definition at line 103 of file vectortermlist.h.
| Xapian::termcount VectorTermList::positionlist_count | ( | ) | const [inline] |
Definition at line 107 of file vectortermlist.h.
vector<string> VectorTermList::terms [private] |
Reimplemented from TermList.
Definition at line 36 of file vectortermlist.h.
Referenced by at_end(), get_approx_size(), get_termname(), and get_wdf().
vector<string>::size_type VectorTermList::offset [private] |
Definition at line 37 of file vectortermlist.h.
Referenced by at_end(), get_termname(), get_wdf(), and next().
bool VectorTermList::before_start [private] |
Definition at line 38 of file vectortermlist.h.
Referenced by at_end(), get_termname(), get_wdf(), and next().