[Cppunit-cvs] cppunit2/include/cpptl reflection.h, 1.6, 1.7 reflection.inl, 1.5, 1.6
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2007-08-16 15:51:07
|
Update of /cvsroot/cppunit/cppunit2/include/cpptl In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv6331/include/cpptl Modified Files: reflection.h reflection.inl Log Message: Added initial support for column fixture supported by fitness. Still missing automatic type convertion and correct reporting of error with regard to originating cell. Index: reflection.inl =================================================================== RCS file: /cvsroot/cppunit/cppunit2/include/cpptl/reflection.inl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** reflection.inl 13 Nov 2005 10:12:01 -0000 1.5 --- reflection.inl 16 Aug 2007 15:51:04 -0000 1.6 *************** *** 131,135 **** Method::getArgCount() const { ! return invokable_.argTypes_.size(); } --- 131,135 ---- Method::getArgCount() const { ! return size_type(invokable_.argTypes_.size()); } Index: reflection.h =================================================================== RCS file: /cvsroot/cppunit/cppunit2/include/cpptl/reflection.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** reflection.h 13 Nov 2005 10:12:01 -0000 1.6 --- reflection.h 16 Aug 2007 15:51:04 -0000 1.7 *************** *** 240,243 **** --- 240,247 ---- # define CPPTL_REFLECT_CLASS_BEGIN( ClassType ) \ typedef ClassType _Reflection_SelfType; \ + virtual const ::CppTL::Class *getClass() const \ + { \ + return ::CppTL::Class::findClass( #ClassType ); \ + } \ static void registerClassReflection() \ { \ |