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

TermQuery.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2004 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 #ifndef _TERMQUERY_HPP
00013 #define _TERMQUERY_HPP
00014 
00015 #include "Term.hpp"
00016 #include "RetrievalMethod.hpp" // for Query
00017 namespace lemur 
00018 {
00019   namespace api
00020   {
00022     class TermQuery : public Query {
00023     public:
00024       virtual ~TermQuery() {}
00025 
00026       virtual void startTermIteration() const = 0;
00027       virtual bool hasMore() const = 0;
00028       virtual const Term *nextTerm() const = 0;
00029     };
00030   }
00031 }
00032 
00033 #endif

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