Update of /cvsroot/robotflow/RobotFlow/MARIE/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28172
Modified Files:
newMarieDataMap.cpp
Log Message:
Modification to store map values for primitive types (int, float, string) in a string format instead of FD format
Index: newMarieDataMap.cpp
===================================================================
RCS file: /cvsroot/robotflow/RobotFlow/MARIE/src/newMarieDataMap.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** newMarieDataMap.cpp 2 Jan 2005 14:43:58 -0000 1.2
--- newMarieDataMap.cpp 5 Jan 2005 00:45:30 -0000 1.3
***************
*** 90,94 ****
string key = iter->first;
stringstream value;
! value << iter->second;
dMap->addElement(key,value.str());
}
--- 90,98 ----
string key = iter->first;
stringstream value;
!
! //CC: Modification to store int, float, string in a string format instead of FD format
! //value << iter->second;
! (iter->second)->prettyPrint(value);
!
dMap->addElement(key,value.str());
}
|