48 |
|
#include "types/ShapeAtomType.hpp" |
49 |
|
#include "utils/StringUtils.hpp" |
50 |
|
#include "utils/simError.h" |
51 |
+ |
#include "utils/CaseConversion.hpp" |
52 |
|
|
53 |
|
namespace oopse { |
54 |
|
|
211 |
|
rsh->setL( tokenInfo1.nextTokenAsInt() ); |
212 |
|
rsh->setM( tokenInfo1.nextTokenAsInt() ); |
213 |
|
token = tokenInfo1.nextToken(); |
214 |
< |
transform(token.begin(), token.end(), token.begin(), tolower); |
214 |
> |
toLower(token); |
215 |
|
if (token == "sin") |
216 |
|
rsh->makeSinFunction(); |
217 |
|
else |
255 |
|
rsh->setL( tokenInfo2.nextTokenAsInt() ); |
256 |
|
rsh->setM( tokenInfo2.nextTokenAsInt() ); |
257 |
|
token = tokenInfo2.nextToken(); |
258 |
< |
transform(token.begin(), token.end(), token.begin(), tolower); |
258 |
> |
toLower(token); |
259 |
|
if (token == "sin") |
260 |
|
rsh->makeSinFunction(); |
261 |
|
else |
299 |
|
rsh->setL( tokenInfo3.nextTokenAsInt() ); |
300 |
|
rsh->setM( tokenInfo3.nextTokenAsInt() ); |
301 |
|
token = tokenInfo3.nextToken(); |
302 |
< |
transform(token.begin(), token.end(), token.begin(), tolower); |
302 |
> |
toLower(token); |
303 |
|
if (token == "sin") |
304 |
|
rsh->makeSinFunction(); |
305 |
|
else |