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 00019 class TermQuery : public Query { 00020 public: 00021 virtual ~TermQuery() {} 00022 00023 virtual void startTermIteration() const = 0; 00024 virtual bool hasMore() const = 0; 00025 virtual const Term *nextTerm() const = 0; 00026 }; 00027 00028 #endif