[GME-commit]
GMESRC/GME/ConstraintManager OCLTypeExBasic.cpp,1.15,1.16
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Mon Aug 23 18:25:51 CDT 2004
- Previous message: [GME-commit] GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep
AspectRep.cpp,1.11,1.12 AspectRep.h,1.8,1.9
ConnectionRep.cpp,1.7,1.8 Dumper.cpp,1.24,1.25 Dumper.h,1.7,1.8
FCO.cpp,1.10,1.11
- Next message: [GME-commit] GMESRC/Doc README_in.txt,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/gme/GMESRC/GME/ConstraintManager
In directory braindrain:/tmp/cvs-serv30667
Modified Files:
OCLTypeExBasic.cpp
Log Message:
toInteger corrected
CVS User: bogyom
Index: OCLTypeExBasic.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/OCLTypeExBasic.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** OCLTypeExBasic.cpp 18 May 2004 13:30:58 -0000 1.15
--- OCLTypeExBasic.cpp 23 Aug 2004 22:25:48 -0000 1.16
***************
*** 236,240 ****
DECL_STRING( strThis, GetThis() );
Trim( strThis );
! for ( int i = 0 ; i < strThis.length() ; i ++ )
if ( strThis[ i ] < '0' || strThis[ i ] > '9' )
ThrowException( "String cannot be converted to ocl::Integer." );
--- 236,245 ----
DECL_STRING( strThis, GetThis() );
Trim( strThis );
! int i = 0;
! if (strThis[ i ] == '-' || strThis[ i ] == '+')
! i++;
! if (i >= strThis.length())
! ThrowException( "String cannot be converted to ocl::Integer." );
! for ( ; i < strThis.length() ; i ++ )
if ( strThis[ i ] < '0' || strThis[ i ] > '9' )
ThrowException( "String cannot be converted to ocl::Integer." );
- Previous message: [GME-commit] GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep
AspectRep.cpp,1.11,1.12 AspectRep.h,1.8,1.9
ConnectionRep.cpp,1.7,1.8 Dumper.cpp,1.24,1.25 Dumper.h,1.7,1.8
FCO.cpp,1.10,1.11
- Next message: [GME-commit] GMESRC/Doc README_in.txt,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list