Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class 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 #include "common_headers.hpp"
00018 
00019 namespace lemur 
00020 {
00021   namespace api 
00022   {
00023     
00025 
00090     class DocStream {
00091     public:
00092 
00093       virtual ~DocStream(){};
00094  
00096       virtual void startDocIteration()=0;
00097 
00098       virtual bool hasMore()=0;
00099 
00101       virtual Document * nextDoc()=0;
00102     };
00103   }
00104 }
00105 #endif

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