Main Page   Namespace List   Class Hierarchy   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.cs.cmu.edu/~lemur/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 
00027   virtual ~DocumentManager() {};
00028 
00030   virtual bool open(const char* manname)=0;
00031 
00033   virtual char* getDoc(const char* docID)=0;
00034 
00036   virtual Parser* getParser() { return myparser; } ;
00037 
00038 protected:
00039   Parser* myparser;
00040 };
00041 
00042 #endif

Generated on Mon Sep 30 14:13:20 2002 for LEMUR by doxygen1.2.18