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

TermInfo Class Reference

Abstract Representation of Term Information Entry. More...

#include <TermInfoList.hpp>

Inheritance diagram for TermInfo:

indri::index::PositionInfo InvFPTerm List of all members.

Public Methods

 TermInfo ()
 TermInfo (TERMID_T termID, COUNT_T termCount)
virtual ~TermInfo ()
virtual TERMID_T termID () const
 Term id.

virtual void termID (TERMID_T id)
 Set term id.

virtual COUNT_T count () const
 Term count in the doc.

virtual void count (COUNT_T c)
 Set term count.

virtual const LOC_Tpositions () const
virtual LOC_T position () const
virtual void position (LOC_T pos)

Protected Attributes

TERMID_T tid
COUNT_T tcount

Detailed Description

Abstract Representation of Term Information Entry.

This is an abstract class that represents the information associated with each term entry in the doc to term index. The basic information includes the term ID and the frequency of the term.


Constructor & Destructor Documentation

TermInfo::TermInfo   [inline]
 

TermInfo::TermInfo TERMID_T    termID,
COUNT_T    termCount
[inline]
 

virtual TermInfo::~TermInfo   [inline, virtual]
 


Member Function Documentation

virtual void TermInfo::count COUNT_T    c [inline, virtual]
 

Set term count.

virtual COUNT_T TermInfo::count   const [inline, virtual]
 

Term count in the doc.

virtual void TermInfo::position LOC_T    pos [inline, virtual]
 

Reimplemented in InvFPTerm.

virtual LOC_T TermInfo::position   const [inline, virtual]
 

Reimplemented in InvFPTerm.

virtual const LOC_T* TermInfo::positions   const [inline, virtual]
 

Reimplemented in InvFPTerm.

virtual void TermInfo::termID TERMID_T    id [inline, virtual]
 

Set term id.

virtual TERMID_T TermInfo::termID   const [inline, virtual]
 

Term id.


Member Data Documentation

COUNT_T TermInfo::tcount [protected]
 

TERMID_T TermInfo::tid [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:57 2004 for Lemur Toolkit by doxygen1.2.18