00001 /*========================================================================== 00002 * Copyright (c) 2001 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 00013 00014 #ifndef _INDEXMANAGER_HPP 00015 #define _INDEXMANAGER_HPP 00016 #include "Index.hpp" 00017 // force parsing includes to get dependencies. 00018 #include "indri/Repository.hpp" 00020 class IndexManager { 00021 public: 00023 00024 static Index *openIndex(const string &indexTOCFile); 00025 }; 00026 00027 00028 #endif /* _INDEXMANAGER_HPP */