#include <document.h>
Public Types | |
typedef std::input_iterator_tag | iterator_category |
typedef termname | value_type |
typedef termcount_diff | difference_type |
typedef termname * | pointer |
typedef termname & | reference |
Public Methods | |
TermIterator (Internal *internal_) | |
TermIterator () | |
Default constructor - for declaring an uninitialised iterator. More... | |
~TermIterator () | |
Destructor. More... | |
TermIterator (const TermIterator &other) | |
Copying is allowed. More... | |
void | operator= (const TermIterator &other) |
Assignment is allowed. More... | |
termname | operator * () const |
TermIterator & | operator++ () |
void | operator++ (int) |
void | skip_to (const termname &tname) |
termcount | get_wdf () const |
doccount | get_termfreq () const |
PositionListIterator | positionlist_begin () |
PositionListIterator | positionlist_end () |
std::string | get_description () const |
Returns a string describing this object. More... | |
Public Attributes | |
Internal * | internal |
Friends | |
class | Database |
class | Document |
bool | operator== (const TermIterator &a, const TermIterator &b) |
|
Default constructor - for declaring an uninitialised iterator.
|
|
Destructor.
|
|
Copying is allowed. The internals are reference counted, so copying is also cheap. |
|
Returns a string describing this object. Introspection method. |
|
Assignment is allowed. The internals are reference counted, so assignment is also cheap. |