Om
1.0.0
A universal framework for multimedia simulation
|
A class that iterates over ASCII character strings. More...
#include <omStringIterator.h>
Public Member Functions | |
GenericStringIterator (const Char *string) | |
Create a string iterator that iterates over the specified NULL-terminated string. More... | |
GenericStringIterator (const Char *string, Size length) | |
Create a string iterator that iterates over the specified string. More... | |
GenericStringIterator (const GenericString< Char > &string) | |
Create a string iterator that iterates over the specified string object. More... | |
void | operator++ () |
Increment the iterator to the next character in the string. More... | |
void | operator++ (int) |
Increment the iterator to the next character in the string. More... | |
operator Bool () const | |
Return whether or not the end of the string has been reached. More... | |
Index | getIndex () const |
Return the current code point index within the string being iterated over. More... | |
Index | getCharacterIndex () const |
Return the index of the next character in the string. More... | |
Char | operator* () const |
Return the current character of the iterator. More... | |
operator const Char * () const | |
Return a pointer to the current character of the iterator. More... | |
void | reset () |
Reset the iterator to the first character in the string it is iterating over. More... | |
A class that iterates over ASCII character strings.
|
inline |
Create a string iterator that iterates over the specified NULL-terminated string.
|
inline |
Create a string iterator that iterates over the specified string.
|
inline |
Create a string iterator that iterates over the specified string object.
|
inline |
Increment the iterator to the next character in the string.
|
inline |
Increment the iterator to the next character in the string.
|
inline |
Return whether or not the end of the string has been reached.
|
inline |
Return the current code point index within the string being iterated over.
|
inline |
Return the index of the next character in the string.
|
inline |
Return the current character of the iterator.
|
inline |
Return a pointer to the current character of the iterator.
|
inline |
Reset the iterator to the first character in the string it is iterating over.