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

WriterInQueryHandler Class Reference

#include <WriterInQueryHandler.hpp>

Inheritance diagram for WriterInQueryHandler:

TextHandler List of all members.

Public Methods

 WriterInQueryHandler (char *filename)
 Create and set the file to write to.

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

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

char * handleSymbol (char *sym)
 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 structured query text in a format that can be used by StructQueryEval. This class is a destination TextHandler.


Constructor & Destructor Documentation

WriterInQueryHandler::WriterInQueryHandler char *    filename
 

Create and set the file to write to.

WriterInQueryHandler::~WriterInQueryHandler  
 


Member Function Documentation

void WriterInQueryHandler::endDoc   [private]
 

end a document

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

Begin a doc.

Reimplemented from TextHandler.

char * WriterInQueryHandler::handleSymbol char *    sym [virtual]
 

Add a word to the doc.

Reimplemented from TextHandler.

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

Add a word to the doc.

Reimplemented from TextHandler.


Member Data Documentation

bool WriterInQueryHandler::first [private]
 

First doc?

ofstream* WriterInQueryHandler::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