|
From: Frank V. C. <fr...@us...> - 2001-03-31 22:21:49
|
Update of /cvsroot/corelinux/clfw/src/testdrivers/exf1
In directory usw-pr-cvs1:/tmp/cvs-serv25128/src/testdrivers/exf1
Modified Files:
examp1.cpp
Log Message:
115287 - Continued infrastructure work
Index: examp1.cpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/src/testdrivers/exf1/examp1.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** examp1.cpp 2001/03/31 14:05:00 1.32
--- examp1.cpp 2001/03/31 22:21:45 1.33
***************
*** 91,94 ****
--- 91,98 ----
#endif
+ #if !defined(__FRAMEWORKSTRING_HPP)
+ #include <clfw/FrameworkString.hpp>
+ #endif
+
#if !defined(__ATTRIBUTE_HPP)
#include <clfw/Attribute.hpp>
***************
*** 655,662 ****
UnsignedShortIntegerPtr aV2( new UnsignedShortInteger(9) );
! a1->setName("a1");
a1->setValue( aV1 );
! a2->setName("a2");
a2->setValue(aV2);
--- 659,666 ----
UnsignedShortIntegerPtr aV2( new UnsignedShortInteger(9) );
! a1->setKey( new FrameworkString("a1"));
a1->setValue( aV1 );
! a2->setKey( new FrameworkString("a2"));
a2->setValue(aV2);
***************
*** 664,668 ****
cout << "Compare att 1 = " << (a1->equals(a2) ? "true" : "false" ) << endl;
! a1->setName(a2->getName());
cout << "Compare att 2 = " << (a1->equals(a2) ? "true" : "false" ) << endl;
--- 668,672 ----
cout << "Compare att 1 = " << (a1->equals(a2) ? "true" : "false" ) << endl;
! a1->setKey(a2->getKey());
cout << "Compare att 2 = " << (a1->equals(a2) ? "true" : "false" ) << endl;
|