|
From: Frank V. C. <fr...@us...> - 2000-10-04 04:33:20
|
Update of /cvsroot/corelinux/clfw/src/libs/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv12252/src/libs/clfw Modified Files: FrameworkEntity.cpp MetaType.cpp Log Message: 113427 Type and MetaType work Index: FrameworkEntity.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/FrameworkEntity.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** FrameworkEntity.cpp 2000/10/03 23:17:37 1.2 --- FrameworkEntity.cpp 2000/10/04 04:33:16 1.3 *************** *** 19,24 **** --- 19,26 ---- Boston, MA 02111-1307, USA. */ + /*! \file FrameworkEntity.cpp */ + #if !defined(__CLFWCOMMON_HPP) #include <ClfwCommon.hpp> *************** *** 31,64 **** namespace corelinux { ! //! version number for the FrameworkEntity MetaType ! const Dword version(1); ! //! meta indentifier for the FrameworkEntity ! const UniversalIdentifier ! metaIdentifier("07b8be30-98c4-11d4-92d8-00500489272c"); ! ! OPEN_METATYPE_PARENTS( FrameworkEntity ) ! CLOSE_METATYPE_PARENT; ! ! DEFINE_METATYPE1( FrameworkEntity, MetaTypeRoot, metaIdentifier, version); ! ! // ! // Constructor ! // ! ! FrameworkEntity::FrameworkEntity( void ) ! { ! ; // do nothing ! } ! ! // ! // Destructor ! // ! ! FrameworkEntity::~FrameworkEntity( void ) ! { ! ; ! } } --- 33,93 ---- namespace corelinux { ! //! version number for the FrameworkEntity MetaType ! const Dword version(1); ! //! meta indentifier for the FrameworkEntity + const UniversalIdentifier metaIdentifier + ( + "07b8be30-98c4-11d4-92d8-00500489272c" + ); + + //! because MetaTypeRoot is the root, there are no metatype parents + OPEN_METATYPE_PARENTS( FrameworkEntity ) + CLOSE_METATYPE_PARENT; + + DEFINE_METATYPE1( FrameworkEntity, MetaTypeRoot, metaIdentifier, version ); + + // + // Constructor + // + + FrameworkEntity::FrameworkEntity( void ) + { + ; // do nothing + } + + // + // Destructor + // + + FrameworkEntity::~FrameworkEntity( void ) + { + ; + } + + // + // Equality operator + // + + bool FrameworkEntity::operator== + ( + FrameworkEntityCref aFrameworkEntity + ) const + { + return ( this == & aFrameworkEntity ); + } + + // + // Assignment operator + // + + FrameworkEntityRef FrameworkEntity::operator= + ( + FrameworkEntityCref aFrameworkEntity + ) + { + return (*this); + } } Index: MetaType.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/MetaType.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** MetaType.cpp 2000/10/03 02:14:03 1.2 --- MetaType.cpp 2000/10/04 04:33:16 1.3 *************** *** 18,22 **** --- 18,25 ---- Boston, MA 02111-1307, USA. */ + /*! \file MetaType.cpp + */ + #if !defined(__CLFWCOMMON_HPP) #include <ClfwCommon.hpp> *************** *** 95,98 **** --- 98,105 ---- } + // + // Copy constructor + // + MetaType::MetaType( MetaTypeCref aMetaType ) throw ( Assertion ) : *************** *** 103,106 **** --- 110,117 ---- NEVER_GET_HERE; } + + // + // Destructor + // MetaType::~MetaType( void ) |