--- trunk/src/utils/StringTokenizer.hpp 2005/04/15 22:04:00 507 +++ trunk/src/utils/StringTokenizer.hpp 2008/07/30 18:11:19 1282 @@ -51,7 +51,9 @@ #define UTIL_STRINGTOKENIZER_HPP #include - +#include +#include +#include "config.h" namespace oopse { /** @@ -146,10 +148,10 @@ namespace oopse { float nextTokenAsFloat(); /** - * Returns the next token from this string tokenizer as a double. - * @return the next token from this string tokenizer as a double. + * Returns the next token from this string tokenizer as a RealType. + * @return the next token from this string tokenizer as a RealType. */ - double nextTokenAsDouble(); + RealType nextTokenAsDouble(); /** * Returns the next token without advancing the position of the StringTokenizer. @@ -173,6 +175,11 @@ namespace oopse { return tokenString_; } + /** + * Returns all of the tokens + * @return all of the tokens + */ + std::vector getAllTokens(); private: /**