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

lemur::api::TermInfo Class Reference

Abstract Representation of Term Information Entry. More...

#include <TermInfoList.hpp>

Inheritance diagram for lemur::api::TermInfo:

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

Public Member Functions

 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

lemur::api::TermInfo::TermInfo  )  [inline]
 

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

virtual lemur::api::TermInfo::~TermInfo  )  [inline, virtual]
 


Member Function Documentation

virtual void lemur::api::TermInfo::count COUNT_T  c  )  [inline, virtual]
 

Set term count.

virtual COUNT_T lemur::api::TermInfo::count  )  const [inline, virtual]
 

Term count in the doc.

virtual void lemur::api::TermInfo::position LOC_T  pos  )  [inline, virtual]
 

Reimplemented in lemur::index::InvFPTerm.

virtual LOC_T lemur::api::TermInfo::position  )  const [inline, virtual]
 

Reimplemented in lemur::index::InvFPTerm.

virtual const LOC_T* lemur::api::TermInfo::positions  )  const [inline, virtual]
 

Reimplemented in lemur::index::InvFPTerm.

virtual void lemur::api::TermInfo::termID TERMID_T  id  )  [inline, virtual]
 

Set term id.

virtual TERMID_T lemur::api::TermInfo::termID  )  const [inline, virtual]
 

Term id.


Member Data Documentation

COUNT_T lemur::api::TermInfo::tcount [protected]
 

TERMID_T lemur::api::TermInfo::tid [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:05 2010 for Lemur by doxygen 1.3.4