--- trunk/src/utils/StringTokenizer.cpp 2014/11/28 20:10:17 2045 +++ trunk/src/utils/StringTokenizer.cpp 2015/03/07 23:52:07 2073 @@ -149,6 +149,25 @@ namespace OpenMD { return result; } + void StringTokenizer::skipToken() { + + if(currentPos_ != end_) { + while( currentPos_ != end_ && isDelimiter(*currentPos_)) { + + if (returnTokens_) { + *currentPos_++; + return; + } + + ++currentPos_; + } + + while (currentPos_ != end_ && !isDelimiter(*currentPos_)) { + *currentPos_++; + } + } + } + bool StringTokenizer::nextTokenAsBool() { std::string token = nextToken(); std::istringstream iss(token);