| 51 |
|
#define UTIL_STRINGTOKENIZER_HPP |
| 52 |
|
|
| 53 |
|
#include <string> |
| 54 |
+ |
#include <stdlib.h> |
| 55 |
|
#include <vector> |
| 56 |
< |
|
| 56 |
> |
#include "config.h" |
| 57 |
|
namespace oopse { |
| 58 |
|
|
| 59 |
|
/** |
| 148 |
|
float nextTokenAsFloat(); |
| 149 |
|
|
| 150 |
|
/** |
| 151 |
< |
* Returns the next token from this string tokenizer as a double. |
| 152 |
< |
* @return the next token from this string tokenizer as a double. |
| 151 |
> |
* Returns the next token from this string tokenizer as a RealType. |
| 152 |
> |
* @return the next token from this string tokenizer as a RealType. |
| 153 |
|
*/ |
| 154 |
< |
double nextTokenAsDouble(); |
| 154 |
> |
RealType nextTokenAsDouble(); |
| 155 |
|
|
| 156 |
|
/** |
| 157 |
|
* Returns the next token without advancing the position of the StringTokenizer. |