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.cs.cmu.edu/~lemur/license.html 00008 * 00009 *========================================================================== 00010 */ 00011 00012 00013 #ifndef _INVFPDOCINFO_HPP 00014 #define _INVFPDOCINFO_HPP 00015 00017 00025 /* 00026 * NAME DATE - COMMENTS 00027 * tnt 03/2001 - created 00028 * tnt 06/2002 - subclass from InvDocInfo 00029 * 00030 *========================================================================*/ 00031 00032 #include "InvDocInfo.hpp" 00033 #include "InvFPTypes.hpp" 00034 00035 class InvFPDocInfo: public InvDocInfo { 00036 public: 00037 friend class InvFPDocList; 00038 00039 InvFPDocInfo() {}; 00040 ~InvFPDocInfo() {}; 00041 00042 LOC_T* positions() {return pos; }; 00043 00044 private: 00045 LOC_T* pos; // list of positions in this doc (size is count) 00046 }; 00047 00048 #endif