Main Page   Namespace List   Class Hierarchy   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 (char *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.


Private Methods

void endDoc ()
 end a document


Private Attributes

bool first
 First doc?

ofstream * outfile
 Output file.


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 char *    filename
 

Create and set the file to write to.

WriterTextHandler::~WriterTextHandler  
 


Member Function Documentation

void WriterTextHandler::endDoc   [private]
 

end a document

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.


Member Data Documentation

bool WriterTextHandler::first [private]
 

First doc?

ofstream* WriterTextHandler::outfile [private]
 

Output file.


The documentation for this class was generated from the following files:
Generated on Fri Feb 6 07:12:09 2004 for LEMUR by doxygen1.2.16