|
From: Frank V. C. <fr...@us...> - 2000-10-04 05:20:29
|
Update of /cvsroot/corelinux/clfw/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv26902/clfw Modified Files: Makefile.am MetaType.hpp Added Files: Number.hpp Log Message: 113427 Number Type added ***** Error reading new file: (2, 'No such file or directory') Index: Makefile.am =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** Makefile.am 2000/10/03 02:14:02 1.6 --- Makefile.am 2000/10/04 05:20:26 1.7 *************** *** 17,20 **** --- 17,21 ---- MetaType.hpp \ FrameworkEntity.hpp \ + Number.hpp \ Makefile.am Index: MetaType.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/MetaType.hpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** MetaType.hpp 2000/10/04 04:33:15 1.9 --- MetaType.hpp 2000/10/04 05:20:26 1.10 *************** *** 96,100 **** parentName type descriptor \ */ \ ! MetaType##parentName::getTypeDescriptor(), \ #define CLOSE_METATYPE_PARENT \ --- 96,100 ---- parentName type descriptor \ */ \ ! parentName::getTypeDescriptor(), \ #define CLOSE_METATYPE_PARENT \ *************** *** 126,131 **** */ #define _DEFINE_ENTITY(className) \ ! const Dword className##Size(sizeof(className)); \ const CharPtr className##Name = #className; \ /** \ create a new pointer to className \ --- 126,135 ---- */ #define _DEFINE_ENTITY(className) \ ! /** \ ! the size of the class object \ ! */ \ ! const DwordCref className##Size(sizeof(className)); \ const CharPtr className##Name = #className; \ + const CharPtr MetaType##className##Name = "MetaType"#className; \ /** \ create a new pointer to className \ *************** *** 190,194 **** #define _DEFINE_SINGLE_STRINGID( className ) \ ,className##Name \ ! ,className##Name #define _DEFINE_DUAL_STRINGID( className, metaName ) \ --- 194,198 ---- #define _DEFINE_SINGLE_STRINGID( className ) \ ,className##Name \ ! ,MetaType##className##Name #define _DEFINE_DUAL_STRINGID( className, metaName ) \ *************** *** 340,348 **** /** ! get the version of the MetaType. @return the version */ DwordCref getTypeVersion( void ) const; /** --- 344,359 ---- /** ! get the class version of the type this MetaType represents @return the version */ DwordCref getTypeVersion( void ) const; + + /** + get the instance size of the type this MetaType represents + @return the size + */ + + DwordCref getTypeSize( void ) const; /** |