Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

InvFPTermList Class Reference

#include <InvFPTermList.hpp>

Inheritance diagram for InvFPTermList:

TermInfoList List of all members.

Public Methods

 InvFPTermList ()
 ~InvFPTermList ()
void startIteration ()
 prepare iteration.

bool hasMore ()
 has more entries.

TermInfonextEntry ()
 Get a pointer to the next entry (pointer to a local static memory).

int docLength ()
 Get the length of this document.

int termCount ()
 Get the number of terms in this document.

int docID ()
 Get the docid this list is for.

bool binRead (ifstream &infile)
 Read in a TermInfoList object from a file Assumes the following format: DOCID DOCLENGTH UNIQUE_TERM_COUNT [TERM LOC]..[].

void countTerms ()
 Change our default sequence of words representation to be bag of words.


Detailed Description

This is a class that represents the term entries in doc index, to be used with InvFPIndex i.e., the ID and frequency of all terms in a document.


Constructor & Destructor Documentation

InvFPTermList::InvFPTermList ( )
 

InvFPTermList::~InvFPTermList ( )
 


Member Function Documentation

bool InvFPTermList::binRead ( ifstream & infile )
 

Read in a TermInfoList object from a file Assumes the following format: DOCID DOCLENGTH UNIQUE_TERM_COUNT [TERM LOC]..[].

void InvFPTermList::countTerms ( )
 

Change our default sequence of words representation to be bag of words.

int InvFPTermList::docID ( ) [inline]
 

Get the docid this list is for.

int InvFPTermList::docLength ( ) [inline]
 

Get the length of this document.

bool InvFPTermList::hasMore ( ) [virtual]
 

has more entries.

Reimplemented from TermInfoList.

TermInfo * InvFPTermList::nextEntry ( ) [virtual]
 

Get a pointer to the next entry (pointer to a local static memory).

Reimplemented from TermInfoList.

void InvFPTermList::startIteration ( ) [virtual]
 

prepare iteration.

Reimplemented from TermInfoList.

int InvFPTermList::termCount ( ) [inline]
 

Get the number of terms in this document.


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 18:22:51 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000