#include <skStringTokenizer.h>
Inheritance diagram for skStringTokenizer:
Public Member Functions | |
skStringTokenizer () | |
Constructor. | |
virtual | ~skStringTokenizer () |
Desstructor. | |
IMPORT_C void | init (const skString &str, const skString &delim, bool returnDelims) |
Initialize the tokenizer. | |
void | init (const skString &str, const TDesC &delim, bool returnDelims) |
Initialize the tokenizer. | |
IMPORT_C bool | hasMoreTokens () |
Tests if there are more tokens available from this tokenizer's string. | |
IMPORT_C skString | nextToken () |
Returns the next token from this string tokenizer. | |
IMPORT_C skString | nextToken (const skString &delim) |
Returns the next token in this string tokenizer's string. | |
IMPORT_C int | countTokens () |
Calculates the number of times that this tokenizer's nextToken method can be called. |
|
Calculates the number of times that this tokenizer's nextToken method can be called. The current position is not advanced.
|
|
Tests if there are more tokens available from this tokenizer's string. If this method returns true, then a subsequent call to nextToken with no argument will successfully return a token.
|
|
Initialize the tokenizer.
|
|
Initialize the tokenizer.
|
|
Returns the next token in this string tokenizer's string. First, the set of characters considered to be delimiters by this skStringTokenizer object is changed to be the characters in the string delim. Then the next token in the string after the current position is returned. The current position is advanced beyond the recognized token. The new delimiter set remains the default after this call.
|
|
Returns the next token from this string tokenizer.
|