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

DocInfoList.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.cs.cmu.edu/~lemur/license.html
00008  *
00009  *==========================================================================
00010 */
00011 
00012 
00013 #ifndef _DOCINFOLIST_HPP
00014 #define _DOCINFOLIST_HPP
00015 
00016 
00017 
00018 
00020 
00029 class DocInfo {
00030 public:
00031   virtual ~DocInfo() {}
00032   
00034   virtual int docID() =0;
00035   
00037   virtual int termCount()=0;
00038 };
00039 
00040 
00041 
00043 
00051 class DocInfoList {
00052 public:
00053   virtual ~DocInfoList() {}
00054   
00056   virtual void startIteration()=0;
00057 
00059   virtual bool hasMore()=0;
00060 
00062   virtual DocInfo *nextEntry()=0;
00063 
00064 };
00065 
00066 
00067 
00068 
00069 #endif

Generated at Fri Jul 26 18:22:26 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000