|
GClasses
|
This iterates over the words in a block of text. More...
#include <GText.h>
Public Member Functions | |
| GWordIterator (const char *text, size_t len) | |
| ~GWordIterator () | |
| bool | next (const char **ppWord, size_t *pLen) |
| Obtains the next word in the block of text. Returns false if there are no words left. More... | |
Protected Attributes | |
| size_t | m_len |
| const char * | m_pText |
This iterates over the words in a block of text.
| GClasses::GWordIterator::GWordIterator | ( | const char * | text, |
| size_t | len | ||
| ) |
| GClasses::GWordIterator::~GWordIterator | ( | ) |
| bool GClasses::GWordIterator::next | ( | const char ** | ppWord, |
| size_t * | pLen | ||
| ) |
Obtains the next word in the block of text. Returns false if there are no words left.
|
protected |
|
protected |