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

DocStream.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 _DOCSTREAM_HPP
00014 #define _DOCSTREAM_HPP
00015 
00016 #include "Document.hpp"
00017 
00019 
00084 #include "common_headers.hpp"
00085 
00086 
00087 class DocStream {
00088 public:
00089 
00090   virtual ~DocStream(){};
00091 
00111 
00112 
00114   virtual void startDocIteration()=0;
00115 
00116   virtual bool hasMore()=0;
00117 
00119   virtual Document * nextDoc()=0;
00120 
00122 
00123 
00124 };
00125 
00126 
00127 
00128 
00129 
00130 #endif
00131 
00132 
00133   
00134 
00135 

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