[Cppunit-cvs] cppunit2/src/cpput functor.py,1.2,1.3 testsuite.cpp,1.2,1.3
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2004-11-17 08:59:45
|
Update of /cvsroot/cppunit/cppunit2/src/cpput In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19035/src/cpput Modified Files: functor.py testsuite.cpp Log Message: * moved CppUT::SmartPtr to CppTL::SharedPtr * moved CppUT::AtomicCounter to CppTL::AtomicCounter and inlined implementation Index: testsuite.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit2/src/cpput/testsuite.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** testsuite.cpp 27 Jan 2004 23:37:22 -0000 1.2 --- testsuite.cpp 17 Nov 2004 08:59:34 -0000 1.3 *************** *** 86,90 **** TestSuite::add( const TestSuitePtr &test ) { ! add( staticPointerCast<Test>( test ) ); } --- 86,90 ---- TestSuite::add( const TestSuitePtr &test ) { ! add( CppTL::staticPointerCast<Test>( test ) ); } Index: functor.py =================================================================== RCS file: /cvsroot/cppunit/cppunit2/src/cpput/functor.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** functor.py 27 Jan 2004 23:49:48 -0000 1.2 --- functor.py 17 Nov 2004 08:59:34 -0000 1.3 *************** *** 230,234 **** private: ! %sSmartPtr< %s > impl_; }; """ % ( name, --- 230,234 ---- private: ! %sCppTL::SharedPtr< %s > impl_; }; """ % ( name, *************** *** 278,282 **** basic_ptr_type = ptr_type if ptr_type.count( 'shared_ptr' ): ! basic_ptr_type = 'SmartPtr<ObjectType>' impl_template_params = ['ObjectType', basic_ptr_type] makefn_template_params = '' --- 278,282 ---- basic_ptr_type = ptr_type if ptr_type.count( 'shared_ptr' ): ! basic_ptr_type = 'CppTL::SharedPtr<ObjectType>' impl_template_params = ['ObjectType', basic_ptr_type] makefn_template_params = '' *************** *** 489,493 **** // File generated using functor.py. DO NOT EDIT. ! # include <cpput/smartptr.h> namespace CppUT { --- 489,493 ---- // File generated using functor.py. DO NOT EDIT. ! # include <cpptl/sharedptr.h> namespace CppUT { *************** *** 601,607 **** printCFnGenerator( out, types, True ) printMemFnGenerator( out, arg_count, types, False, 'ObjectType *' ) ! printMemFnGenerator( out, arg_count, types, False, 'SmartPtr<ObjectType>' ) printMemFnGenerator( out, arg_count, types, True, 'ObjectType *' ) ! printMemFnGenerator( out, arg_count, types, True, 'SmartPtr<ObjectType>' ) printBindGenerator( out, types, False ) printBindGenerator( out, types, True ) --- 601,607 ---- printCFnGenerator( out, types, True ) printMemFnGenerator( out, arg_count, types, False, 'ObjectType *' ) ! printMemFnGenerator( out, arg_count, types, False, 'CppTL::SharedPtr<ObjectType>' ) printMemFnGenerator( out, arg_count, types, True, 'ObjectType *' ) ! printMemFnGenerator( out, arg_count, types, True, 'CppTL::SharedPtr<ObjectType>' ) printBindGenerator( out, types, False ) printBindGenerator( out, types, True ) *************** *** 615,619 **** } //namespace CppUT ! #endif CPPUT_FUNCTOR_H_INCLUDED """ --- 615,619 ---- } //namespace CppUT ! #endif // CPPUT_FUNCTOR_H_INCLUDED """ |