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

FileClassEnvironment.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2003-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 // FileClassEnvironment
00014 //
00015 // 23 August 2004 -- tds
00016 //
00017 
00018 #ifndef INDRI_FILECLASSENVIRONMENT_HPP
00019 #define INDRI_FILECLASSENVIRONMENT_HPP
00020 
00021 #include "indri/IndriParser.hpp"
00022 #include "indri/DocumentIterator.hpp"
00023 
00024 struct FileClassEnvironment {
00025   FileClassEnvironment() : parser(0), iterator(0) {}
00026   ~FileClassEnvironment() {
00027     delete parser;
00028     delete iterator;
00029   }
00030 
00031   indri::Parser* parser;
00032   DocumentIterator* iterator;
00033 };
00034 
00035 #endif // INDRI_FILECLASSENVIRONMENT_HPP
00036 

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