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/IndriTokenizer.hpp" 00022 #include "indri/IndriParser.hpp" 00023 #include "indri/DocumentIterator.hpp" 00024 #include "indri/Conflater.hpp" 00025 namespace indri 00026 { 00027 namespace parse 00028 { 00029 00030 struct FileClassEnvironment { 00031 FileClassEnvironment() : tokenizer(0), parser(0), iterator(0), conflater(0) {} 00032 ~FileClassEnvironment() { 00033 delete tokenizer; 00034 delete parser; 00035 delete iterator; 00036 delete conflater; 00037 } 00038 00039 Tokenizer* tokenizer; 00040 Parser* parser; 00041 DocumentIterator* iterator; 00042 Conflater* conflater; 00043 }; 00044 } 00045 } 00046 00047 #endif // INDRI_FILECLASSENVIRONMENT_HPP 00048