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

DocListIteratorNode.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2004 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 //
00014 // DocListIteratorNode
00015 //
00016 // 26 January 2004 -- tds
00017 //
00018 
00019 #ifndef INDRI_DOCLISTITERATORNODE_HPP
00020 #define INDRI_DOCLISTITERATORNODE_HPP
00021 
00022 #include "indri/DocPositionInfoList.hpp"
00023 #include "indri/ListIteratorNode.hpp"
00024 
00025 class DocListIteratorNode : public ListIteratorNode {
00026 private:
00027   DocPositionInfoList* _list;
00028   greedy_vector<Extent> _extents;
00029   std::string _name;
00030 
00031 public:
00032   DocListIteratorNode( const std::string& name, DocPositionInfoList* list );
00033 
00034   int nextCandidateDocument();
00035   void prepare( int documentID );
00036   const greedy_vector<Extent>& extents();
00037   const std::string& getName() const;
00038   void annotate( Annotator& annotator, int documentID, int begin, int end );
00039 };
00040 
00041 #endif // INDRI_DOCLISTITERATORNODE_HPP

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