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

RawTextParser Class Reference

#include <RawTextParser.hpp>

List of all members.

Public Methods

 RawTextParser (int memorySize=1024 *1024)
 ~RawTextParser ()
bool open (const std::string &fileName)
void close ()
bool parseDocument (std::string &docName, greedy_vector< char * > &words)


Constructor & Destructor Documentation

RawTextParser::RawTextParser int    memorySize = 1024*1024 [inline]
 

RawTextParser::~RawTextParser   [inline]
 


Member Function Documentation

void RawTextParser::close   [inline]
 

bool RawTextParser::open const std::string &    fileName [inline]
 

bool RawTextParser::parseDocument std::string &    docName,
greedy_vector< char * > &    words
[inline]
 

parses the next document in the filestream, returning a list of char* to words the words are stored in a character buffer within the parser, which means that if you call parseDocument again, all your old word pointers are invalid.


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:53 2004 for Lemur Toolkit by doxygen1.2.18