StringProcessor Class Reference

#include <stringprocessor.h>

List of all members.

Public Member Functions

 StringProcessor (char *filecontent, unsigned int charCount)
 ~StringProcessor ()
StringTreeNodesearchFor (string keyword)

Private Member Functions

void processSuccessors (list< list< string >::iterator > &listPos, StringTreeNode *parentNode, unsigned int recursionCt=0)
void splitString (const char *source, unsigned int charCount, list< string > &target)

Private Attributes

list< string > textContainment


Detailed Description

This class processes the actual text and stores it as a StringTreeNode data structure

Constructor & Destructor Documentation

StringProcessor::StringProcessor ( char *  filecontent,
unsigned int  charCount 
)

Constructs a new StringProcessor for the given text, where filecontext is a c string array, with charCount being the number of characters

StringProcessor::~StringProcessor (  ) 


Member Function Documentation

void StringProcessor::processSuccessors ( list< list< string >::iterator > &  listPos,
StringTreeNode parentNode,
unsigned int  recursionCt = 0 
) [private]

StringTreeNode * StringProcessor::searchFor ( string  keyword  ) 

Builds up a new for the given search term 'keyword', and returns the appropriate root node as StringTreeNode

void StringProcessor::splitString ( const char *  source,
unsigned int  charCount,
list< string > &  target 
) [private]


Member Data Documentation

list< string > StringProcessor::textContainment [private]


The documentation for this class was generated from the following files:

Generated on Tue Jun 8 15:23:24 2010 for WordTree by  doxygen 1.5.7.1