MDA
|
A string tokenizer class which in difference to standard C is thread save. More...
#include <utils.hpp>
Public Member Functions | |
StrTok (char *str) | |
Constructor. More... | |
StrTok () | |
Constructor. | |
void | set (char *str) |
Set a new string. More... | |
char * | next (const char *sep) |
Gets the next part of the string. More... | |
A string tokenizer class which in difference to standard C is thread save.
MDAT::StrTok::StrTok | ( | char * | str | ) |
Constructor.
str | The string to use. |
char * MDAT::StrTok::next | ( | const char * | sep | ) |
Gets the next part of the string.
sep | The seperator to use. |
|
inline |
Set a new string.
str | The string. |