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

WriterTextHandler Class Reference

#include <WriterTextHandler.hpp>

Inheritance diagram for WriterTextHandler:

TextHandler List of all members.

Public Methods

 WriterTextHandler (const string &filename)
 Create and set the file to write to.

 ~WriterTextHandler ()
char * handleDoc (char *docno)
 Begin a doc.

char * handleWord (char *word)
 Add a word to the doc.


Detailed Description

Outputs text in a format that can be used by RetEval (for queries) or BuildBasicIndex (for documents). This class is a destination TextHandler.


Constructor & Destructor Documentation

WriterTextHandler::WriterTextHandler const string &    filename
 

Create and set the file to write to.

WriterTextHandler::~WriterTextHandler  
 


Member Function Documentation

char * WriterTextHandler::handleDoc char *    docno [virtual]
 

Begin a doc.

Reimplemented from TextHandler.

char * WriterTextHandler::handleWord char *    word [virtual]
 

Add a word to the doc.

Reimplemented from TextHandler.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 13:00:02 2004 for Lemur Toolkit by doxygen1.2.18