#include <WriterInQueryHandler.hpp>
Inheritance diagram for lemur::parse::WriterInQueryHandler:
Public Member Functions | |
WriterInQueryHandler (const string &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 Member Functions | |
void | endDoc () |
end a document | |
Private Attributes | |
bool | first |
First doc? | |
ofstream * | outfile |
Output file. |
|
Create and set the file to write to.
|
|
|
|
end a document
|
|
Begin a doc.
Reimplemented from lemur::api::TextHandler. |
|
Add a word to the doc.
Reimplemented from lemur::api::TextHandler. |
|
Add a word to the doc.
Reimplemented from lemur::api::TextHandler. |
|
First doc?
|
|
Output file.
|