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

TermInfoList.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 _TERMINFOLIST_HPP
00014 #define _TERMINFOLIST_HPP
00015 
00016 #include "Term.hpp"
00017 
00018 
00019 
00021 
00030 class TermInfo : public Term {
00031 public:
00032   virtual ~TermInfo() {}
00033   
00035   virtual int id() =0;
00036   
00038   virtual int count()=0;
00039 };
00040 
00041 
00043 
00051 class TermInfoList {
00052 public:
00053   virtual ~TermInfoList() {}
00054 
00056   virtual void startIteration()=0;
00057 
00059   virtual bool hasMore()=0;
00060 
00062   virtual TermInfo *nextEntry()=0;
00063 };
00064 
00065 
00066 
00067 
00068 #endif

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