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 #ifndef _INVFPINDEX_HPP 00014 #define _INVFPINDEX_HPP 00015 00017 #include "common_headers.hpp" 00018 #include "InvIndex.hpp" 00019 #include "InvFPDocList.hpp" 00020 #include "InvFPTermList.hpp" 00021 #include "InvFPTypes.hpp" 00022 00023 00024 class InvFPIndex : public InvIndex { 00025 public: 00026 InvFPIndex(); 00027 InvFPIndex(const string &indexName); 00028 ~InvFPIndex(); 00029 00031 00032 00033 DocInfoList* docInfoList(TERMID_T termID) const; 00034 00036 TermInfoList* termInfoList(DOCID_T docID) const; 00037 00039 TermInfoList* termInfoListSeq(DOCID_T docID) const; 00040 00042 COUNT_T docLengthCounted(DOCID_T docID) const; 00043 00045 private: 00046 00047 }; 00048 00049 #endif