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

DocumentDataIterator.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2005 University of Massachusetts.  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 // DocumentDataIterator
00014 //
00015 // 21 January 2005 -- tds
00016 //
00017 
00018 #ifndef INDRI_DOCUMENTDATAITERATOR_HPP
00019 #define INDRI_DOCUMENTDATAITERATOR_HPP
00020 
00021 #include "indri/DocumentData.hpp"
00022 
00023 namespace indri {
00024   namespace index {
00025     class DocumentDataIterator {
00026     public:
00027       virtual ~DocumentDataIterator() {};
00028 
00029       virtual void startIteration() = 0;
00030       virtual bool nextEntry() = 0;
00031       virtual const DocumentData* currentEntry() = 0;
00032       virtual bool finished() = 0;
00033     };
00034   }
00035 }
00036 
00037 #endif // INDRI_DOCUMENTDATAITERATOR_HPP
00038 

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