FlintSpellingTermList Class Reference

The list of words containing a particular trigram. More...

#include <flint_spelling.h>

Inheritance diagram for FlintSpellingTermList:

Inheritance graph
[legend]
Collaboration diagram for FlintSpellingTermList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FlintSpellingTermList (const std::string &data_)
 Constructor.
Xapian::termcount get_approx_size () const
std::string get_termname () const
Xapian::termcount get_wdf () const
Xapian::doccount get_termfreq () const
Xapian::termcount get_collection_freq () const
TermListnext ()
bool at_end () const
Xapian::termcount positionlist_count () const
Xapian::PositionIterator positionlist_begin () const

Private Member Functions

 FlintSpellingTermList (const FlintSpellingTermList &)
 Copying is not allowed.
void operator= (const FlintSpellingTermList &)
 Assignment is not allowed.

Private Attributes

std::string data
 The encoded data.
unsigned p
 Position in the data.
std::string current_term
 The current term.

Detailed Description

The list of words containing a particular trigram.

Definition at line 119 of file flint_spelling.h.


Constructor & Destructor Documentation

FlintSpellingTermList::FlintSpellingTermList ( const FlintSpellingTermList  )  [private]

Copying is not allowed.

FlintSpellingTermList::FlintSpellingTermList ( const std::string &  data_  )  [inline]

Constructor.

Definition at line 137 of file flint_spelling.h.


Member Function Documentation

void FlintSpellingTermList::operator= ( const FlintSpellingTermList  )  [private]

Assignment is not allowed.

Xapian::termcount FlintSpellingTermList::get_approx_size (  )  const

Definition at line 501 of file flint_spelling.cc.

std::string FlintSpellingTermList::get_termname (  )  const

Definition at line 509 of file flint_spelling.cc.

References current_term.

Xapian::termcount FlintSpellingTermList::get_wdf (  )  const

Definition at line 515 of file flint_spelling.cc.

Xapian::doccount FlintSpellingTermList::get_termfreq (  )  const

Definition at line 521 of file flint_spelling.cc.

Xapian::termcount FlintSpellingTermList::get_collection_freq (  )  const

Definition at line 527 of file flint_spelling.cc.

TermList * FlintSpellingTermList::next (  ) 

Definition at line 533 of file flint_spelling.cc.

References current_term, and MAGIC_XOR_VALUE.

bool FlintSpellingTermList::at_end (  )  const

Definition at line 555 of file flint_spelling.cc.

Xapian::termcount FlintSpellingTermList::positionlist_count (  )  const

Definition at line 561 of file flint_spelling.cc.

Xapian::PositionIterator FlintSpellingTermList::positionlist_begin (  )  const

Definition at line 567 of file flint_spelling.cc.


Member Data Documentation

std::string FlintSpellingTermList::data [private]

The encoded data.

Definition at line 121 of file flint_spelling.h.

unsigned FlintSpellingTermList::p [private]

Position in the data.

Definition at line 124 of file flint_spelling.h.

std::string FlintSpellingTermList::current_term [private]

The current term.

Definition at line 127 of file flint_spelling.h.

Referenced by get_termname(), and next().


The documentation for this class was generated from the following files:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.