ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/io/ShapeAtomTypesSectionParser.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/io/ShapeAtomTypesSectionParser.cpp (file contents):
Revision 2211 by chrisfen, Thu Apr 21 14:12:19 2005 UTC vs.
Revision 2223 by chuckv, Wed May 11 23:15:05 2005 UTC

# Line 48 | Line 48
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    
# Line 210 | Line 211 | namespace oopse {
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
# Line 254 | Line 255 | namespace oopse {
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
# Line 298 | Line 299 | namespace oopse {
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines