GNU CommonC++
|
The input forward iterator for tokens. More...
#include <tokenizer.h>
Public Member Functions | |
iterator () | |
virtual | ~iterator () |
iterator (const iterator &i) | |
copy constructor. More... | |
iterator & | operator= (const iterator &i) |
assignment operator. More... | |
iterator & | operator++ () THROWS(NoSuchElementException) |
shifts this iterator to the next token in the string. More... | |
const char * | operator* () THROWS(NoSuchElementException) |
returns the immutable string this iterator points to or '0' if no token is available (i.e. More... | |
char | nextDelimiter () const |
returns the next delimiter after the current token or '\0', if there are no following delimiters. More... | |
bool | operator== (const iterator &other) const |
compares to other iterator. More... | |
bool | operator!= (const iterator &other) const |
compares to other iterator. More... | |
Friends | |
class | StringTokenizer |
The input forward iterator for tokens.
|
inline |
|
inlinevirtual |
|
inline |
copy constructor.
|
inline |
returns the next delimiter after the current token or '\0', if there are no following delimiters.
It returns the very next delimiter (even if skipAllDelim=true).
|
inline |
compares to other iterator.
Usually used to compare against the end() iterator.
const char* ost::StringTokenizer::iterator::operator* | ( | ) |
iterator& ost::StringTokenizer::iterator::operator++ | ( | ) |
shifts this iterator to the next token in the string.
assignment operator.
|
inline |
compares to other iterator.
Usually used to compare against the end() iterator.
|
friend |