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

InvDocInfo.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2001 Carnegie Mellon University.  All Rights Reserved.
00003  *
00004  * Use of the Lemur Toolkit for Language Modeling and Information Retrieval
00005  * is subject to the terms of the software license set forth in the LICENSE
00006  * file included with this software, and also available at
00007  * http://www.lemurproject.org/license.html
00008  *
00009  *==========================================================================
00010 */
00011 
00012 
00013 #ifndef _INVDOCINFO_HPP
00014 #define _INVDOCINFO_HPP
00015 
00017 
00025 /*
00026  * NAME DATE - COMMENTS
00027  * tnt 03/2002 - created
00028  *
00029  *========================================================================*/
00030 
00031 #include "DocInfoList.hpp"
00032 #include "InvFPTypes.hpp"
00033 
00034 class InvDocInfo: public DocInfo {
00035 public: 
00036   friend class InvDocList;
00037 
00038   InvDocInfo() {};
00039   ~InvDocInfo() {}; 
00040   
00041   DOCID_T docID() const{ return id; };
00042   COUNT_T termCount() const{ return count; };
00043  
00044 protected:
00045   DOCID_T id;    // id of this doc
00046   COUNT_T count; // count of this term in this doc
00047 };
00048 
00049 #endif

Generated on Wed Nov 3 12:58:58 2004 for Lemur Toolkit by doxygen1.2.18