#include <stringprocessor.h>
Public Member Functions | |
| StringProcessor (char *filecontent, unsigned int charCount) | |
| ~StringProcessor () | |
| StringTreeNode * | searchFor (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 |
| 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 | ( | ) |
| 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] |
list< string > StringProcessor::textContainment [private] |
1.5.7.1