Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class 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 /*
00016  * NAME DATE - COMMENTS
00017  * tnt 03/2002 - created
00018  *
00019  *========================================================================*/
00020 
00021 #include "DocInfoList.hpp"
00022 #include "InvFPTypes.hpp"
00023 
00024 namespace lemur 
00025 {
00026   namespace index 
00027   {
00028     
00036     class InvDocInfo: public lemur::api::DocInfo {
00037     public: 
00038       friend class InvDocList;
00039 
00040       InvDocInfo() {};
00041       ~InvDocInfo() {}; 
00042   
00043       lemur::api::DOCID_T docID() const{ return id; };
00044       lemur::api::COUNT_T termCount() const{ return count; };
00045  
00046     protected:
00047       lemur::api::DOCID_T id;    // id of this doc
00048       lemur::api::COUNT_T count; // count of this term in this doc
00049     };
00050   }
00051 }
00052 #endif

Generated on Tue Jun 15 11:02:54 2010 for Lemur by doxygen 1.3.4