#include <DocInfoList.hpp>
Inheritance diagram for DocInfo:

Public Methods | |
| DocInfo () | |
| DocInfo (int docID, int termCount) | |
| virtual | ~DocInfo () |
| virtual int | docID () const |
| Doc id. | |
| virtual void | docID (int id) |
| Set doc id. | |
| virtual int | termCount () const |
| Term count in the doc. | |
| virtual void | termCount (int c) |
| Set term count. | |
| virtual const int * | positions () const |
| virtual void | positions (const int *pos) |
Protected Attributes | |
| int | did |
| int | tcount |
This is a class that represents the information associated with each doc entry in the term to doc index. The basic information includes the doc ID and the frequency of a term in the document.
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Set doc id.
|
|
|
Doc id.
Reimplemented in InvDocInfo. |
|
|
Set the list of positions Default implementation does nothing Reimplemented in InvFPDocInfo. |
|
|
Return list of positions this term occurs in this document Default implementation to return NULL if no position information available for this DocInfo Reimplemented in InvFPDocInfo. |
|
|
Set term count.
|
|
|
Term count in the doc.
Reimplemented in InvDocInfo. |
|
|
|
|
|
|
1.2.18