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

DocumentManager.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2002 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 _DOCUMENTMANAGER_HPP
00013 #define _DOCUMENTMANAGER_HPP
00014 
00022 #include "Parser.hpp"
00023 
00024 class DocumentManager {
00025 public:
00026 
00028   virtual bool open(const string &manname) = 0;
00029 
00031   virtual char* getDoc(const string &docID) const= 0;
00032 
00034   virtual Parser* getParser() const =0 ;
00035 
00037   virtual void buildMgr() = 0;
00038 
00040   virtual const string &getMyID() const= 0;
00041 
00042   virtual ~DocumentManager() {};
00043 };
00044 
00045 #endif

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