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

PropIndexTH.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  *
00003  *  Original source copyright (c) 2003, Carnegie Mellon University.
00004  *  See copyright.cmu for details.
00005  *
00006  *==========================================================================
00007 */
00008 
00009 #include "TextHandler.hpp"
00010 #include "InvFPPushIndex.hpp"
00011 
00012 
00013 #ifndef _PROPINDEXTH_HPP
00014 #define _PROPINDEXTH_HPP
00015 
00016 #define MAX_WORD_LENGTH 25
00017 
00030 class PropIndexTH : public TextHandler {
00031 
00032 public:
00033   // want to subclass this class for incremental.
00034   PropIndexTH() { }
00035   
00038   PropIndexTH(char * filename, int bufferSize, bool countStopWds = false, int ind = 1);
00039   ~PropIndexTH();
00040 
00042   char * handleDoc(char * docno);
00044   char * handleWord(char * word, char* original, PropertyList* list);
00045 
00047   void setDocManager(const char* mgrID);
00048   // want to subclass this class for incremental.
00049 protected:
00051   void endDoc();
00052 
00054   PushIndex * index;
00056   DocumentProps * dp;
00058   InvFPTerm * term;
00060   int docLength;
00061 
00063   bool countStopWds;
00064 
00067   bool first;
00068 };
00069 
00070 #endif
00071 

Generated on Tue Nov 25 11:26:45 2003 for Lemur Toolkit by doxygen1.2.18