MultiTermList Class Reference

#include <multi_termlist.h>

Inheritance diagram for MultiTermList:

Inheritance graph
[legend]
Collaboration diagram for MultiTermList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Xapian::termcount get_approx_size () const
void accumulate_stats (Xapian::Internal::ExpandStats &stats) const
 Collate weighting information for the current term.
string get_termname () const
Xapian::termcount get_wdf () const
Xapian::doccount get_termfreq () const
TermListnext ()
bool at_end () const
Xapian::termpos positionlist_count () const
Xapian::PositionIterator positionlist_begin () const
 ~MultiTermList ()

Private Member Functions

 MultiTermList (TermList *tl_, const Xapian::Database &db_, size_t db_index_)

Private Attributes

TermListtl
const Xapian::Databasedb
size_t db_index
double termfreq_factor

Friends

class Xapian::Database

Detailed Description

Definition at line 28 of file multi_termlist.h.


Constructor & Destructor Documentation

MultiTermList::MultiTermList ( TermList tl_,
const Xapian::Database db_,
size_t  db_index_ 
) [private]

Definition at line 29 of file multi_termlist.cc.

References db, db_index, DEBUGLINE, Xapian::Database::get_doccount(), Xapian::Database::internal, and termfreq_factor.

MultiTermList::~MultiTermList (  ) 

Definition at line 39 of file multi_termlist.cc.

References tl.


Member Function Documentation

Xapian::termcount MultiTermList::get_approx_size (  )  const

Definition at line 45 of file multi_termlist.cc.

References tl.

void MultiTermList::accumulate_stats ( Xapian::Internal::ExpandStats stats  )  const

Collate weighting information for the current term.

Definition at line 51 of file multi_termlist.cc.

References db_index, Xapian::Internal::ExpandStats::db_index, and tl.

string MultiTermList::get_termname (  )  const

Definition at line 60 of file multi_termlist.cc.

References tl.

Xapian::termcount MultiTermList::get_wdf (  )  const

Definition at line 65 of file multi_termlist.cc.

References tl.

Xapian::doccount MultiTermList::get_termfreq (  )  const

Definition at line 70 of file multi_termlist.cc.

References termfreq_factor, and tl.

TermList * MultiTermList::next (  ) 

Definition at line 76 of file multi_termlist.cc.

References tl.

bool MultiTermList::at_end (  )  const

Definition at line 81 of file multi_termlist.cc.

References tl.

Xapian::termpos MultiTermList::positionlist_count (  )  const

Definition at line 87 of file multi_termlist.cc.

References tl.

Xapian::PositionIterator MultiTermList::positionlist_begin (  )  const

Definition at line 93 of file multi_termlist.cc.

References tl.


Friends And Related Function Documentation

friend class Xapian::Database [friend]

Definition at line 29 of file multi_termlist.h.


Member Data Documentation

TermList* MultiTermList::tl [private]

Definition at line 31 of file multi_termlist.h.

Referenced by accumulate_stats(), at_end(), get_approx_size(), get_termfreq(), get_termname(), get_wdf(), next(), positionlist_begin(), positionlist_count(), and ~MultiTermList().

const Xapian::Database& MultiTermList::db [private]

Definition at line 32 of file multi_termlist.h.

Referenced by MultiTermList().

size_t MultiTermList::db_index [private]

Definition at line 33 of file multi_termlist.h.

Referenced by accumulate_stats(), and MultiTermList().

double MultiTermList::termfreq_factor [private]

Definition at line 34 of file multi_termlist.h.

Referenced by get_termfreq(), and MultiTermList().


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.