22 #ifndef COMMON_TOKENIZER_H 23 #define COMMON_TOKENIZER_H 25 #include "common/scummsys.h" 26 #include "common/str-array.h" 96 U32String::const_iterator _tokenBegin;
97 U32String::const_iterator _tokenEnd;
StringTokenizer(const String &str, const String &delimiters=" \\\)
bool empty() const
Returns true if there are no more tokens left in the string, false otherwise.
Definition: tokenizer.h:76
Definition: tokenizer.h:45
Definition: algorithm.h:29
void reset()
Resets the tokenizer to its initial state.
StringArray split()
Returns StringArray with all tokens. Beware of the memory usage.
String nextToken()
Returns the next token from the string (Or an empty string if there are no more tokens) ...
String delimitersAtTokenBegin() const
Returns a String with all delimiters between the current and previous token.
String delimitersAtTokenEnd() const
Returns a String with all delimiters between the current and next token.