You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(9) |
Oct
(124) |
Nov
(120) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(6) |
Feb
(34) |
Mar
(49) |
Apr
(81) |
May
(25) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(37) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Frank V. C. <fr...@us...> - 2000-10-04 05:20:29
|
Update of /cvsroot/corelinux/clfw/src/testdrivers/exf1 In directory slayer.i.sourceforge.net:/tmp/cvs-serv26902/src/testdrivers/exf1 Modified Files: examp1.cpp Log Message: 113427 Number Type added Index: examp1.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/testdrivers/exf1/examp1.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** examp1.cpp 2000/10/04 04:02:05 1.5 --- examp1.cpp 2000/10/04 05:20:26 1.6 *************** *** 45,50 **** #endif ! #if !defined(__FRAMEWORKENTITY_HPP) ! #include <clfw/FrameworkEntity.hpp> #endif --- 45,50 ---- #endif ! #if !defined(__NUMBER_HPP) ! #include <clfw/Number.hpp> #endif *************** *** 86,101 **** // ! const MetaType *aMT= FrameworkEntity::getTypeDescriptor(); FrameworkEntityPtr aFrameworkEntity = new FrameworkEntity; ! cout << "Framework entity = " << aFrameworkEntity << endl << "Framework entity type version = " << aFrameworkEntity->getType()->getTypeVersion() << endl << "Framework entity Instance name = " << aFrameworkEntity->getType()->getInstanceTypeName() << endl << "Framework entity Meta name = " << aFrameworkEntity->getType()->getMetaTypeName() << endl; ! cout << "Compare meta-types (is aFrameworkEntity of type FrameworkEntity?) = "; ! if ( aFrameworkEntity->getType()->isType(aMT) == true ) { cout << "yes!" << endl; --- 86,105 ---- // ! // ! // First we play around with the root entity ! // ! const MetaType *aMTF= FrameworkEntity::getTypeDescriptor(); FrameworkEntityPtr aFrameworkEntity = new FrameworkEntity; ! cout << endl << "Framework entity = " << aFrameworkEntity << endl << "Framework entity type version = " << aFrameworkEntity->getType()->getTypeVersion() << endl + << "Framework entity instance size = " << aFrameworkEntity->getType()->getTypeSize() << endl << "Framework entity Instance name = " << aFrameworkEntity->getType()->getInstanceTypeName() << endl << "Framework entity Meta name = " << aFrameworkEntity->getType()->getMetaTypeName() << endl; ! cout << "Compare meta-types (is aFrameworkEntity a FrameworkEntity type?) = "; ! if ( aFrameworkEntity->getType()->isType(aMTF) == true ) { cout << "yes!" << endl; *************** *** 105,108 **** --- 109,151 ---- cout << "no!" << endl; } + + // + // Now we sweeten the pot with a number fetch and show off the class + // factory stuff + // + + const MetaType *aMTN= Number::getTypeDescriptor(); + + NumberPtr aNumber = Number::create(); + + cout << endl << "Number entity = " << aNumber << endl + << "Number entity type version = " << aNumber->getType()->getTypeVersion() << endl + << "Number entity instance size = " << aNumber->getType()->getTypeSize() << endl + << "Number entity Instance name = " << aNumber->getType()->getInstanceTypeName() << endl + << "Number entity Meta name = " << aNumber->getType()->getMetaTypeName() << endl; + + cout << "Compare meta-types (is aNumber a FrameworkEntity type?) = "; + + if ( aNumber->getType()->isType(aMTF) == true ) + { + cout << "yes!" << endl; + } + else + { + cout << "no!" << endl; + } + + cout << "Check metatype hiearchy (is MetaTypeNumber a type of MetaTypeRoot?) = "; + + if ( aMTN->isTypeOf(aMTF) == true ) + { + cout << "yes!" << endl; + } + else + { + cout << "no!" << endl; + } + + Number::destroy( aNumber ); delete aFrameworkEntity; |
|
From: Frank V. C. <fr...@us...> - 2000-10-04 05:20:29
|
Update of /cvsroot/corelinux/clfw/src/libs/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv26902/src/libs/clfw Modified Files: FrameworkEntity.cpp Makefile.am MetaType.cpp Added Files: Number.cpp Log Message: 113427 Number Type added ***** Error reading new file: (2, 'No such file or directory') Index: FrameworkEntity.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/FrameworkEntity.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** FrameworkEntity.cpp 2000/10/04 04:33:16 1.3 --- FrameworkEntity.cpp 2000/10/04 05:20:26 1.4 *************** *** 1,3 **** - /* CoreLinux++ --- 1,2 ---- *************** *** 34,38 **** { //! version number for the FrameworkEntity MetaType ! const Dword version(1); //! meta indentifier for the FrameworkEntity --- 33,37 ---- { //! version number for the FrameworkEntity MetaType ! const DwordCref version(1); //! meta indentifier for the FrameworkEntity *************** *** 47,50 **** --- 46,50 ---- CLOSE_METATYPE_PARENT; + //! because we must define MetaTypeRoot we use DEFINE_METATYPE1 DEFINE_METATYPE1( FrameworkEntity, MetaTypeRoot, metaIdentifier, version ); *************** *** 85,89 **** FrameworkEntityRef FrameworkEntity::operator= ( ! FrameworkEntityCref aFrameworkEntity ) { --- 85,89 ---- FrameworkEntityRef FrameworkEntity::operator= ( ! FrameworkEntityCref ) { Index: Makefile.am =================================================================== RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** Makefile.am 2000/10/03 02:14:03 1.4 --- Makefile.am 2000/10/04 05:20:26 1.5 *************** *** 15,19 **** MetaType.cpp \ UniversalIdentifier.cpp \ ! FrameworkEntity.cpp LIBS = --- 15,20 ---- MetaType.cpp \ UniversalIdentifier.cpp \ ! FrameworkEntity.cpp \ ! Number.cpp LIBS = Index: MetaType.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/MetaType.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** MetaType.cpp 2000/10/04 04:33:16 1.3 --- MetaType.cpp 2000/10/04 05:20:26 1.4 *************** *** 120,123 **** --- 120,125 ---- } + // Return the metatype universal identifier + UniversalIdentifierCref MetaType::getIdentifier( void ) const { *************** *** 125,128 **** --- 127,132 ---- } + // Fetch the type class version + DwordCref MetaType::getTypeVersion( void ) const { *************** *** 130,133 **** --- 134,146 ---- } + // Fetch the type class size + + DwordCref MetaType::getTypeSize( void ) const + { + return theInstanceSize; + } + + // Get the list of parents + MetaTypeCptr *const MetaType::getParentTypes( void ) const { *************** *** 135,138 **** --- 148,153 ---- } + // Get the class name + CharCptr MetaType::getInstanceTypeName( void ) const { *************** *** 140,143 **** --- 155,160 ---- } + // Get the metatype name + CharCptr MetaType::getMetaTypeName( void ) const { *************** *** 145,148 **** --- 162,167 ---- } + // Get the allocator + AllocatorPtr MetaType::getAllocator( void ) const { *************** *** 150,153 **** --- 169,174 ---- } + // Find out if the type is the same + bool MetaType::isType( MetaTypeCptr aTypePtr ) const throw ( Assertion ) { *************** *** 155,158 **** --- 176,181 ---- return ( this == aTypePtr ) ; } + + // Find out if metatype is type of another (most cases are true) bool MetaType::isTypeOf( MetaTypeCptr aTypePtr ) const throw ( Assertion ) |
|
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; /** |
|
From: Frank V. C. <fr...@us...> - 2000-10-04 04:33:20
|
Update of /cvsroot/corelinux/clfw/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv12252/clfw Modified Files: FrameworkEntity.hpp MetaType.hpp Log Message: 113427 Type and MetaType work Index: FrameworkEntity.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/FrameworkEntity.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** FrameworkEntity.hpp 2000/10/03 23:16:17 1.2 --- FrameworkEntity.hpp 2000/10/04 04:33:15 1.3 *************** *** 32,45 **** /*! \class FrameworkEntity ! @version $Id$ */ class FrameworkEntity { DECLARE_METATYPEMEMBERS( FrameworkEntity ); public: FrameworkEntity( void ); virtual ~FrameworkEntity( void ); protected: --- 32,88 ---- /*! \class FrameworkEntity ! The root type for Framework objects. The FrameworkEntity class metatype ! also serves as MetaTypeRoot, which is what all metatypes are subsumed by. */ + class FrameworkEntity { DECLARE_METATYPEMEMBERS( FrameworkEntity ); + public: + /** @name Constructor and destructor + */ + //@{ + + /** + All FrameworkEntity derivations require a public + default constructor for instantiation via the + class factory (MetaType) + */ + FrameworkEntity( void ); + /// Virtual destructor + virtual ~FrameworkEntity( void ); + //@} + + /** @name Operator overloads + */ + //@{ + /** + Equality operator + @param FrameworkEntity const reference + @return bool true if the same object instance + */ + + bool operator==( FrameworkEntityCref ) const; + + /** + Assignment operator + @param FrameworkEntity const reference + @returnm FrameworkEntity reference to (*this) + */ + + FrameworkEntityRef operator=( FrameworkEntityCref ); + + //@} + + /** @name Accessors + */ + //@{ + + //@} protected: Index: MetaType.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/MetaType.hpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** MetaType.hpp 2000/10/04 03:11:32 1.8 --- MetaType.hpp 2000/10/04 04:33:15 1.9 *************** *** 274,278 **** public: ! /** @name Constructor and destructors */ //@{ --- 274,278 ---- public: ! /** @name Constructor and destructor */ //@{ *************** *** 325,328 **** --- 325,329 ---- virtual ~MetaType( void ); + //@} |
|
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 ) |
|
From: Frank V. C. <fr...@us...> - 2000-10-04 04:02:09
|
Update of /cvsroot/corelinux/clfw/src/testdrivers/exf1 In directory slayer.i.sourceforge.net:/tmp/cvs-serv978 Modified Files: examp1.cpp Log Message: 113427 test code fixed alignment Index: examp1.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/testdrivers/exf1/examp1.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** examp1.cpp 2000/10/04 03:01:59 1.4 --- examp1.cpp 2000/10/04 04:02:05 1.5 *************** *** 61,65 **** // ! int main( void ); // Aligned trailing comments // --- 61,65 ---- // ! int main( void ); // *************** *** 79,96 **** // ! try ! { ! // ! // Comment out the following if you want to ! // ignore test invarient and illegal attempts // const MetaType *aMT= FrameworkEntity::getTypeDescriptor(); - cout << "Framework metatype = " << aMT << endl; - cout << "Framework metatype metaname = " << aMT->getMetaTypeName() << endl; - cout << "Framework metatype metaname = " << aMT->getInstanceTypeName() << endl; - FrameworkEntityPtr aFrameworkEntity = new FrameworkEntity; --- 79,91 ---- // ! try ! { // ! // The MetaType pointer is the genesis machine! You don't own it, so ! // don't destroy it. // const MetaType *aMT= FrameworkEntity::getTypeDescriptor(); FrameworkEntityPtr aFrameworkEntity = new FrameworkEntity; *************** *** 101,131 **** cout << "Compare meta-types (is aFrameworkEntity of type FrameworkEntity?) = "; if ( aFrameworkEntity->getType()->isType(aMT) == true ) ! { ! cout << "yes!" << endl; ! } else ! { cout << "no!" << endl; ! } delete aFrameworkEntity; ! } ! catch( AssertionRef aAssert ) ! { handleAssertion(aAssert); ! } ! catch( ExceptionRef aException ) ! { handleException(aException); ! } ! catch( std::exception & e ) ! { cerr << e.what() << endl; ! } ! catch( ... ) ! { cerr << "Unknown exception." << endl; ! } // No line exceeds the 78 column positions (Section 4.6) --| --- 96,127 ---- cout << "Compare meta-types (is aFrameworkEntity of type FrameworkEntity?) = "; + if ( aFrameworkEntity->getType()->isType(aMT) == true ) ! { ! cout << "yes!" << endl; ! } else ! { cout << "no!" << endl; ! } delete aFrameworkEntity; ! } ! catch( AssertionRef aAssert ) ! { handleAssertion(aAssert); ! } ! catch( ExceptionRef aException ) ! { handleException(aException); ! } ! catch( std::exception & e ) ! { cerr << e.what() << endl; ! } ! catch( ... ) ! { cerr << "Unknown exception." << endl; ! } // No line exceeds the 78 column positions (Section 4.6) --| *************** *** 175,180 **** "Exception: " << aExcp.getWhy() << endl; } - - // Trailer CVS information only (Section 3.0) /* --- 171,174 ---- |
|
From: Frank V. C. <fr...@us...> - 2000-10-04 03:11:36
|
Update of /cvsroot/corelinux/clfw/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv18979 Modified Files: MetaType.hpp Log Message: 113427 Added defined size and name Index: MetaType.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/MetaType.hpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** MetaType.hpp 2000/10/04 02:45:37 1.7 --- MetaType.hpp 2000/10/04 03:11:32 1.8 *************** *** 48,57 **** public: \ /** \ ! get the type descriptor \ \return a const pointer to the MetaType \ */ \ static MetaTypeCptr getTypeDescriptor( void ); \ /** \ ! get the type \ \return a const pointer to the MetaType \ */ \ --- 48,57 ---- public: \ /** \ ! get the type descriptor \ \return a const pointer to the MetaType \ */ \ static MetaTypeCptr getTypeDescriptor( void ); \ /** \ ! get the type \ \return a const pointer to the MetaType \ */ \ *************** *** 70,74 **** redefine the operator new[] \ \arg aSize \ ! \return a VoidPtr \ */ \ VoidPtr operator new(size_t aSize); \ --- 70,74 ---- redefine the operator new[] \ \arg aSize \ ! \return a VoidPtr \ */ \ VoidPtr operator new(size_t aSize); \ *************** *** 86,91 **** #define OPEN_METATYPE_PARENTS( className ) \ ! /** \ ! array storing the parents descriptors \ */ \ MetaType const * className##MetaType##Parents[] = \ --- 86,91 ---- #define OPEN_METATYPE_PARENTS( className ) \ ! /** \ ! array storing the parents descriptors \ */ \ MetaType const * className##MetaType##Parents[] = \ *************** *** 94,98 **** #define DEFINE_METATYPE_PARENT( parentName ) \ /** \ ! parentName type descriptor \ */ \ MetaType##parentName::getTypeDescriptor(), \ --- 94,98 ---- #define DEFINE_METATYPE_PARENT( parentName ) \ /** \ ! parentName type descriptor \ */ \ MetaType##parentName::getTypeDescriptor(), \ *************** *** 100,104 **** #define CLOSE_METATYPE_PARENT \ /** \ ! The parent type descriptor array must be termined by the NULLPTR \ */ \ MetaTypeCptr(NULLPTR) \ --- 100,104 ---- #define CLOSE_METATYPE_PARENT \ /** \ ! The parent type descriptor array must be termined by the NULLPTR \ */ \ MetaTypeCptr(NULLPTR) \ *************** *** 130,134 **** /** \ create a new pointer to className \ ! \return the allocated pointer \ */ \ className##Ptr className::create( void ) \ --- 130,134 ---- /** \ create a new pointer to className \ ! \return the allocated pointer \ */ \ className##Ptr className::create( void ) \ *************** *** 141,145 **** /** \ destroy a pointer to className \ ! \arg the pointer aPtr \ */ \ void className::destroy( className##Ptr aPtr ) \ --- 141,145 ---- /** \ destroy a pointer to className \ ! \arg the pointer aPtr \ */ \ void className::destroy( className##Ptr aPtr ) \ *************** *** 152,157 **** /** \ redefine the operator new for className \ ! this operator use the className::create() \ ! function \ \return a VoidPtr \ */ \ --- 152,157 ---- /** \ redefine the operator new for className \ ! this operator use the className::create() \ ! function \ \return a VoidPtr \ */ \ *************** *** 162,168 **** /** \ redefine the operator delete for className \ ! this operator use the className::destroy() \ function \ ! \arg the pointer aVoidPtr \ */ \ void className::operator delete(VoidPtr aVoidPtr) \ --- 162,168 ---- /** \ redefine the operator delete for className \ ! this operator use the className::destroy() \ function \ ! \arg the pointer aVoidPtr \ */ \ void className::operator delete(VoidPtr aVoidPtr) \ *************** *** 332,337 **** /** ! get the UniversalIdentifier associated to the MetaType. ! @return a UniversalIdentifierCref */ --- 332,337 ---- /** ! get the UniversalIdentifier associated to the MetaType. ! @return a UniversalIdentifierCref */ *************** *** 346,351 **** /** ! get the Parent types. ! @return an array of MetaType */ --- 346,351 ---- /** ! get the Parent types. ! @return an array of MetaType */ *************** *** 353,358 **** /** ! get the name of the instance of this MetaType. ! @return the name of the instance of this MetaType */ --- 353,358 ---- /** ! get the name of the instance of this MetaType. ! @return the name of the instance of this MetaType */ *************** *** 360,365 **** /** ! get the name of this MetaType. ! @return the name of this MetaType */ --- 360,365 ---- /** ! get the name of this MetaType. ! @return the name of this MetaType */ *************** *** 367,372 **** /** ! get the Allocator associated to this MetaType. ! @return the allocator */ --- 367,372 ---- /** ! get the Allocator associated to this MetaType. ! @return the allocator */ *************** *** 374,380 **** /** ! test if this MetaType is of the same type as aMetaType. ! @arg aMetaType the MetaType to test with ! @return true if the same false otherwise */ --- 374,380 ---- /** ! test if this MetaType is of the same type as aMetaType. ! @arg aMetaType the MetaType to test with ! @return true if the same false otherwise */ *************** *** 383,389 **** /** ! test if this MetaType is of the same type as aMetaType. ! @arg aMetaType the MetaType to test with ! @return true if the same false otherwise */ --- 383,389 ---- /** ! test if this MetaType is of the same type as aMetaType. ! @arg aMetaType the MetaType to test with ! @return true if the same false otherwise */ *************** *** 395,400 **** /** ! tells if the MetaType is an abstract one or not ! @return true if it is an abstract metatype false otherwise */ --- 395,400 ---- /** ! tells if the MetaType is an abstract one or not ! @return true if it is an abstract metatype false otherwise */ |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-04 03:02:04
|
Update of /cvsroot/corelinux/clfw/src/testdrivers/exf1 In directory slayer.i.sourceforge.net:/tmp/cvs-serv16238 Modified Files: examp1.cpp Log Message: tabs removed Index: examp1.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/testdrivers/exf1/examp1.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** examp1.cpp 2000/10/04 02:42:10 1.3 --- examp1.cpp 2000/10/04 03:01:59 1.4 *************** *** 81,85 **** try { ! // // Comment out the following if you want to --- 81,85 ---- try { ! // // Comment out the following if you want to *************** *** 96,112 **** cout << "Framework entity = " << aFrameworkEntity << endl ! << "Framework entity type version = " << aFrameworkEntity->getType()->getTypeVersion() << endl ! << "Framework entity Instance name = " << aFrameworkEntity->getType()->getInstanceTypeName() << endl ! << "Framework entity Meta name = " << aFrameworkEntity->getType()->getMetaTypeName() << endl; cout << "Compare meta-types (is aFrameworkEntity of type FrameworkEntity?) = "; if ( aFrameworkEntity->getType()->isType(aMT) == true ) ! { ! cout << "yes!" << endl; ! } else ! { ! cout << "no!" << endl; ! } delete aFrameworkEntity; --- 96,112 ---- cout << "Framework entity = " << aFrameworkEntity << endl ! << "Framework entity type version = " << aFrameworkEntity->getType()->getTypeVersion() << endl ! << "Framework entity Instance name = " << aFrameworkEntity->getType()->getInstanceTypeName() << endl ! << "Framework entity Meta name = " << aFrameworkEntity->getType()->getMetaTypeName() << endl; cout << "Compare meta-types (is aFrameworkEntity of type FrameworkEntity?) = "; if ( aFrameworkEntity->getType()->isType(aMT) == true ) ! { ! cout << "yes!" << endl; ! } else ! { ! cout << "no!" << endl; ! } delete aFrameworkEntity; |
|
From: Frank V. C. <fr...@us...> - 2000-10-04 02:45:44
|
Update of /cvsroot/corelinux/clfw/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv12931 Modified Files: MetaType.hpp Log Message: 113427 Added defined size and name Index: MetaType.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/MetaType.hpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** MetaType.hpp 2000/10/03 23:59:05 1.6 --- MetaType.hpp 2000/10/04 02:45:37 1.7 *************** *** 44,47 **** --- 44,48 ---- \arg className the class name */ + #define DECLARE_METATYPEMEMBERS( className ) \ public: \ *************** *** 69,73 **** redefine the operator new[] \ \arg aSize \ ! \return a VoidPtr \ */ \ VoidPtr operator new(size_t aSize); \ --- 70,74 ---- redefine the operator new[] \ \arg aSize \ ! \return a VoidPtr \ */ \ VoidPtr operator new(size_t aSize); \ *************** *** 88,92 **** array storing the parents descriptors \ */ \ ! MetaType const *className##MetaType##Parents[] = \ { \ --- 89,93 ---- array storing the parents descriptors \ */ \ ! MetaType const * className##MetaType##Parents[] = \ { \ *************** *** 125,131 **** */ #define _DEFINE_ENTITY(className) \ /** \ create a new pointer to className \ ! \return the allocated pointer \ */ \ className##Ptr className::create( void ) \ --- 126,134 ---- */ #define _DEFINE_ENTITY(className) \ + const Dword className##Size(sizeof(className)); \ + const CharPtr className##Name = #className; \ /** \ create a new pointer to className \ ! \return the allocated pointer \ */ \ className##Ptr className::create( void ) \ *************** *** 149,157 **** /** \ redefine the operator new for className \ ! this operator use the className::create() \ ! function \ \return a VoidPtr \ */ \ ! VoidPtr className::operator new(size_t aSize) \ { \ return (VoidPtr)className::create(); \ --- 152,160 ---- /** \ redefine the operator new for className \ ! this operator use the className::create() \ ! function \ \return a VoidPtr \ */ \ ! VoidPtr className::operator new( size_t ) \ { \ return (VoidPtr)className::create(); \ *************** *** 181,194 **** identification \ ,version \ ! ,sizeof(className) \ ,className##MetaType##Parents #define _DEFINE_SINGLE_STRINGID( className ) \ ! ,#className \ ! ,#className #define _DEFINE_DUAL_STRINGID( className, metaName ) \ ! ,#className \ ,#metaName --- 184,197 ---- identification \ ,version \ ! ,className##Size \ ,className##MetaType##Parents #define _DEFINE_SINGLE_STRINGID( className ) \ ! ,className##Name \ ! ,className##Name #define _DEFINE_DUAL_STRINGID( className, metaName ) \ ! ,className##Name \ ,#metaName *************** *** 244,248 **** /*! \def DEFINE_METATYPE( className, metaName, identifier, version ) ! define a new MetaType but gives a name to the class as a meta class \arg className: the class name \arg metaName: the meta class name --- 247,253 ---- /*! \def DEFINE_METATYPE( className, metaName, identifier, version ) ! define a new MetaType but gives a name to the metatype. For example, ! the FrameworkEntity passes MetaTypeRoot which is destined to be the ! root of all MetaTypes \arg className: the class name \arg metaName: the meta class name *************** *** 326,378 **** //@{ ! /** ! get the UniversalIdentifier associated to the MetaType. ! @return a UniversalIdentifierCref ! */ UniversalIdentifierCref getIdentifier( void ) const; ! /** ! get the version of the MetaType. ! @return the version ! */ ! DwordCref getTypeVersion( void ) const; ! ! /** ! get the Parent types. ! @return an array of MetaType ! */ ! MetaTypeCptr * const getParentTypes( void ) const; - /** - get the name of the instance of this MetaType. - @return the name of the instance of this MetaType - */ - CharCptr getInstanceTypeName( void ) const; - - /** - get the name of this MetaType. - @return the name of this MetaType - */ - CharCptr getMetaTypeName( void ) const; - - /** - get the Allocator associated to this MetaType. - @return the allocator - */ - AllocatorPtr getAllocator( void ) const; - - /** - test if this MetaType is of the same type as aMetaType. - @arg aMetaType the MetaType to test with - @return true if the same false otherwise - */ bool isType( MetaTypeCptr aMetaType ) const throw ( Assertion ); ! /** ! test if this MetaType is of the same type as aMetaType. ! @arg aMetaType the MetaType to test with ! @return true if the same false otherwise ! */ bool isTypeOf( MetaTypeCptr ) const throw ( Assertion ); --- 331,391 ---- //@{ ! /** ! get the UniversalIdentifier associated to the MetaType. ! @return a UniversalIdentifierCref ! */ ! UniversalIdentifierCref getIdentifier( void ) const; ! /** ! get the version of the MetaType. ! @return the version ! */ ! ! DwordCref getTypeVersion( void ) const; ! ! /** ! get the Parent types. ! @return an array of MetaType ! */ ! ! MetaTypeCptr * const getParentTypes( void ) const; ! ! /** ! get the name of the instance of this MetaType. ! @return the name of the instance of this MetaType ! */ ! ! CharCptr getInstanceTypeName( void ) const; ! ! /** ! get the name of this MetaType. ! @return the name of this MetaType ! */ ! ! CharCptr getMetaTypeName( void ) const; ! ! /** ! get the Allocator associated to this MetaType. ! @return the allocator ! */ ! ! AllocatorPtr getAllocator( void ) const; ! ! /** ! test if this MetaType is of the same type as aMetaType. ! @arg aMetaType the MetaType to test with ! @return true if the same false otherwise ! */ bool isType( MetaTypeCptr aMetaType ) const throw ( Assertion ); ! /** ! test if this MetaType is of the same type as aMetaType. ! @arg aMetaType the MetaType to test with ! @return true if the same false otherwise ! */ ! bool isTypeOf( MetaTypeCptr ) const throw ( Assertion ); *************** *** 381,388 **** // ! /** ! tells if the MetaType is an abstract one or not ! @return true if it is an abstract metatype false otherwise ! */ bool isAbstractType( void ) const; --- 394,402 ---- // ! /** ! tells if the MetaType is an abstract one or not ! @return true if it is an abstract metatype false otherwise ! */ ! bool isAbstractType( void ) const; *************** *** 391,398 **** protected: ! /// default constructor is protected MetaType( void ) throw ( Assertion ); - /// copy constructor is protected MetaType( MetaTypeCref ) throw ( Assertion ); --- 405,414 ---- protected: ! /// default constructor is protected ! MetaType( void ) throw ( Assertion ); + + /// copy constructor is protected MetaType( MetaTypeCref ) throw ( Assertion ); |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-04 02:42:25
|
Update of /cvsroot/corelinux/clfw/src/testdrivers/exf1 In directory slayer.i.sourceforge.net:/tmp/cvs-serv12102 Modified Files: examp1.cpp Log Message: the metatype was deleted don't do that Index: examp1.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/testdrivers/exf1/examp1.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** examp1.cpp 2000/10/03 23:23:02 1.2 --- examp1.cpp 2000/10/04 02:42:10 1.3 *************** *** 111,115 **** delete aFrameworkEntity; - delete aMT; } catch( AssertionRef aAssert ) --- 111,114 ---- |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-03 23:59:08
|
Update of /cvsroot/corelinux/clfw/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv2481/clfw Modified Files: MetaType.hpp Log Message: oops wrong return type for getParentTypes() this one is ok Index: MetaType.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/MetaType.hpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** MetaType.hpp 2000/10/03 23:16:17 1.5 --- MetaType.hpp 2000/10/03 23:59:05 1.6 *************** *** 342,346 **** @return an array of MetaType */ ! MetaTypeCptr const * const getParentTypes( void ) const; /** --- 342,346 ---- @return an array of MetaType */ ! MetaTypeCptr * const getParentTypes( void ) const; /** |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-03 23:56:09
|
Update of /cvsroot/corelinux/clfw/src/libs/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv32726 Modified Files: UniversalIdentifier.cpp Log Message: #include <cstdlib> is preferred to extern "C" { #include "stdlib.h" } Index: UniversalIdentifier.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/UniversalIdentifier.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** UniversalIdentifier.cpp 2000/10/03 02:14:03 1.2 --- UniversalIdentifier.cpp 2000/10/03 23:56:02 1.3 *************** *** 27,33 **** #endif extern "C" { - #include <stdlib.h> #include <uuid/uuid.h> } --- 27,34 ---- #endif + #include <cstdlib> + extern "C" { #include <uuid/uuid.h> } |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-03 23:51:52
|
Update of /cvsroot/corelinux/clfw/doc In directory slayer.i.sourceforge.net:/tmp/cvs-serv29158 Modified Files: clfw.cfg.in Log Message: dot dependency removed if you want to use the dot tool say YES to HAVE_DOT Index: clfw.cfg.in =================================================================== RCS file: /cvsroot/corelinux/clfw/doc/clfw.cfg.in,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** clfw.cfg.in 2000/10/03 23:16:56 1.4 --- clfw.cfg.in 2000/10/03 23:51:49 1.5 *************** *** 346,350 **** # Configuration options related to the dot tool #--------------------------------------------------------------------------- ! HAVE_DOT = YES CLASS_GRAPH = YES COLLABORATION_GRAPH = YES --- 346,350 ---- # Configuration options related to the dot tool #--------------------------------------------------------------------------- ! HAVE_DOT = NO CLASS_GRAPH = YES COLLABORATION_GRAPH = YES |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-03 23:23:06
|
Update of /cvsroot/corelinux/clfw/src/testdrivers/exf1 In directory slayer.i.sourceforge.net:/tmp/cvs-serv5095/src/testdrivers/exf1 Modified Files: examp1.cpp Added Files: .cvsignore Log Message: some files to ignore in .cvsignore added a few function calls in the example examp1.cpp plus documentation --- NEW FILE --- .deps .libs Makefile Makefile.in Index: examp1.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/testdrivers/exf1/examp1.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** examp1.cpp 2000/10/03 02:14:04 1.1 --- examp1.cpp 2000/10/03 23:23:02 1.2 *************** *** 21,25 **** /** \example examp1.cpp This example is to show use of the MetaType object ! */ --- 21,28 ---- /** \example examp1.cpp This example is to show use of the MetaType object ! ! It is a trivial example of the metaClass features. It creates a type descriptor, aMT, for the FrameworkEntity ! class then it creates an instance, aFrameworkEntity, of this class. ! Finally it compares the type of aFrameworkEntity with FrameworkEntity (the answer should be yes :) ) */ *************** *** 67,79 **** int main( void ) { ! // ! // Practice gracefull exception management ! // ! try ! { // --- 70,84 ---- + + int main( void ) { ! // ! // Practice gracefull exception management ! // ! try ! { // *************** *** 82,87 **** // - cout << "Made it hello world" << endl; - const MetaType *aMT= FrameworkEntity::getTypeDescriptor(); --- 87,90 ---- *************** *** 91,121 **** FrameworkEntityPtr aFrameworkEntity = new FrameworkEntity; - - cout << "Framework entity = " << aFrameworkEntity << endl; ! cout << "Compare meta-types = " << aFrameworkEntity->getType()->isType(aMT) << endl; delete aFrameworkEntity; ! ! } ! catch( AssertionRef aAssert ) ! { handleAssertion(aAssert); ! } ! catch( ExceptionRef aException ) ! { handleException(aException); ! } ! catch( std::exception & e ) ! { cerr << e.what() << endl; ! } ! catch( ... ) ! { cerr << "Unknown exception." << endl; ! } ! // No line exceeds the 78 column positions (Section 4.6) --| ! return 0; // Single exit point (Section 4.0) } --- 94,135 ---- FrameworkEntityPtr aFrameworkEntity = new FrameworkEntity; ! cout << "Framework entity = " << aFrameworkEntity << endl ! << "Framework entity type version = " << aFrameworkEntity->getType()->getTypeVersion() << endl ! << "Framework entity Instance name = " << aFrameworkEntity->getType()->getInstanceTypeName() << endl ! << "Framework entity Meta name = " << aFrameworkEntity->getType()->getMetaTypeName() << endl; ! ! cout << "Compare meta-types (is aFrameworkEntity of type FrameworkEntity?) = "; ! if ( aFrameworkEntity->getType()->isType(aMT) == true ) ! { ! cout << "yes!" << endl; ! } ! else ! { ! cout << "no!" << endl; ! } delete aFrameworkEntity; ! delete aMT; ! } ! catch( AssertionRef aAssert ) ! { handleAssertion(aAssert); ! } ! catch( ExceptionRef aException ) ! { handleException(aException); ! } ! catch( std::exception & e ) ! { cerr << e.what() << endl; ! } ! catch( ... ) ! { cerr << "Unknown exception." << endl; ! } ! // No line exceeds the 78 column positions (Section 4.6) --| ! return 0; // Single exit point (Section 4.0) } |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-03 23:23:06
|
Update of /cvsroot/corelinux/clfw/src/testdrivers In directory slayer.i.sourceforge.net:/tmp/cvs-serv5095/src/testdrivers Added Files: .cvsignore Log Message: some files to ignore in .cvsignore added a few function calls in the example examp1.cpp plus documentation --- NEW FILE --- Makefile Makefile.in |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-03 23:17:50
|
Update of /cvsroot/corelinux/clfw/src/testdrivers/exf1/.libs In directory slayer.i.sourceforge.net:/tmp/cvs-serv323/src/testdrivers/exf1/.libs Log Message: Directory /cvsroot/corelinux/clfw/src/testdrivers/exf1/.libs added to the repository |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-03 23:17:50
|
Update of /cvsroot/corelinux/clfw/src/testdrivers/exf1/.deps In directory slayer.i.sourceforge.net:/tmp/cvs-serv323/src/testdrivers/exf1/.deps Log Message: Directory /cvsroot/corelinux/clfw/src/testdrivers/exf1/.deps added to the repository |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-03 23:17:40
|
Update of /cvsroot/corelinux/clfw/src/libs/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv32604/src/libs/clfw Modified Files: FrameworkEntity.cpp .cvsignore Log Message: some files to ignore in .cvsignore and added some documentation in FrameworkEntity.cpp Index: FrameworkEntity.cpp =================================================================== RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/FrameworkEntity.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** FrameworkEntity.cpp 2000/10/03 02:14:03 1.1 --- FrameworkEntity.cpp 2000/10/03 23:17:37 1.2 *************** *** 19,23 **** Boston, MA 02111-1307, USA. */ ! #if !defined(__CLFWCOMMON_HPP) #include <ClfwCommon.hpp> --- 19,24 ---- Boston, MA 02111-1307, USA. */ ! /*! \file FrameworkEntity.cpp ! */ #if !defined(__CLFWCOMMON_HPP) #include <ClfwCommon.hpp> *************** *** 30,59 **** namespace corelinux { ! const Dword version(1); ! 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 ) ! { ! ; ! } --- 31,63 ---- 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 ) ! { ! ; ! } Index: .cvsignore =================================================================== RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** .cvsignore 2000/09/05 01:20:32 1.1 --- .cvsignore 2000/10/03 23:17:37 1.2 *************** *** 1,6 **** --- 1,9 ---- .deps .libs + FrameworkEntity.lo Makefile Makefile.in + MetaType.lo + UniversalIdentifier.lo clfw.lo libclfw++.la |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-03 23:16:59
|
Update of /cvsroot/corelinux/clfw/doc In directory slayer.i.sourceforge.net:/tmp/cvs-serv31989/doc Modified Files: clfw.cfg.in .cvsignore Log Message: some files to ignore and updated the doxygen config file for the macro expansion Index: clfw.cfg.in =================================================================== RCS file: /cvsroot/corelinux/clfw/doc/clfw.cfg.in,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** clfw.cfg.in 2000/09/05 01:21:02 1.3 --- clfw.cfg.in 2000/10/03 23:16:56 1.4 *************** *** 1,670 **** ! # Doxyfile 1.1.5-20000716 ! ! # This file describes the settings to be used by doxygen for a project ! # ! # All text after a hash (#) is considered a comment and will be ignored ! # The format is: ! # TAG = value [value, ...] ! # Values that contain spaces should be placed between quotes (" ") ! #--------------------------------------------------------------------------- [...1007 lines suppressed...] #--------------------------------------------------------------------------- ! HAVE_DOT = YES ! CLASS_GRAPH = YES ! COLLABORATION_GRAPH = YES ! INCLUDE_GRAPH = YES ! INCLUDED_BY_GRAPH = YES ! GRAPHICAL_HIERARCHY = YES ! DOT_PATH = ! MAX_DOT_GRAPH_WIDTH = 1024 ! MAX_DOT_GRAPH_HEIGHT = 1024 #--------------------------------------------------------------------------- # Configuration::addtions related to the search engine #--------------------------------------------------------------------------- ! SEARCHENGINE = NO ! CGI_NAME = search.cgi ! CGI_URL = ! DOC_URL = ! DOC_ABSPATH = ! BIN_ABSPATH = /usr/local/bin/ ! EXT_DOC_PATHS = Index: .cvsignore =================================================================== RCS file: /cvsroot/corelinux/clfw/doc/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** .cvsignore 2000/09/05 01:21:02 1.1 --- .cvsignore 2000/10/03 23:16:56 1.2 *************** *** 2,5 **** --- 2,6 ---- Makefile.in clfw.cfg + clfwhtml.tar.gz html latex |
|
From: Christophe Prud'h. <pru...@us...> - 2000-10-03 23:16:21
|
Update of /cvsroot/corelinux/clfw/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv31421/clfw Modified Files: UniversalIdentifier.hpp MetaType.hpp FrameworkEntity.hpp Log Message: added documentation for doxygen Index: UniversalIdentifier.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/UniversalIdentifier.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** UniversalIdentifier.hpp 2000/10/03 02:14:02 1.2 --- UniversalIdentifier.hpp 2000/10/03 23:16:17 1.3 *************** *** 36,39 **** --- 36,43 ---- DECLARE_CLASS( UniversalIdentifier ); + /*! + \class UniversalIdentifier + @version $Id$ + */ class UniversalIdentifier : public Identifier { *************** *** 73,83 **** // UniversalIdentifierRef operator=( UniversalIdentifierCref ); ! UniversalIdentifierRef operator=( CharPtr ) throw ( Assertion ); ! UniversalIdentifierRef operator=( UniqueIdRef ); ! UniversalIdentifierRef operator=( UniqueIdPtr ) throw ( Assertion ); --- 77,88 ---- // + /// copy operator from a UniversalIdentifierCref UniversalIdentifierRef operator=( UniversalIdentifierCref ); ! /// copy operator from a CharPtr UniversalIdentifierRef operator=( CharPtr ) throw ( Assertion ); ! /// copy operator from a UniqueIdRef UniversalIdentifierRef operator=( UniqueIdRef ); ! /// copy operator from a UniqueIdPtr UniversalIdentifierRef operator=( UniqueIdPtr ) throw ( Assertion ); *************** *** 112,116 **** // Mutators // ! static void setNewUid( UniversalIdentifierRef ); --- 117,124 ---- // Mutators // ! /// set a new unique Id ! /** ! @arg UniversalIdentifierRef ! */ static void setNewUid( UniversalIdentifierRef ); *************** *** 158,162 **** protected: ! UniqueId theID; private: --- 166,170 ---- protected: ! /// the UniqueId UniqueId theID; private: Index: MetaType.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/MetaType.hpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** MetaType.hpp 2000/10/03 02:14:02 1.4 --- MetaType.hpp 2000/10/03 23:16:17 1.5 *************** *** 26,33 **** #endif ! extern "C" ! { ! #include <stdio.h> ! } namespace corelinux --- 26,30 ---- #endif ! #include <cstdio> namespace corelinux *************** *** 35,78 **** DECLARE_CLASS( MetaType ); ! /// Expansion Macro ! #define DECLARE_METATYPEMEMBERS( className ) \ public: \ static MetaTypeCptr getTypeDescriptor( void ); \ virtual MetaTypeCptr getType( void ) const; \ static className##Ptr create( void ); \ ! static void destroy( className##Ptr ); \ VoidPtr operator new(size_t aSize); \ void operator delete(VoidPtr aVoidPtr); \ protected: \ private: \ ! static MetaType theTypeDesc; \ #define OPEN_METATYPE_PARENTS( className ) \ MetaType const *className##MetaType##Parents[] = \ { \ #define DEFINE_METATYPE_PARENT( parentName ) \ MetaType##parentName::getTypeDescriptor(), \ #define CLOSE_METATYPE_PARENT \ MetaTypeCptr(NULLPTR) \ } ! // ! // Define the factory allocator ! // ! #define _DEFINE_FACTORY( className ) \ CORELINUX_DEFAULT_ALLOCATOR( className##Allocator, className ) \ static className##Allocator the##className##Allocator; ! // ! // Defines the factory methods for the type ! // #define _DEFINE_ENTITY(className) \ className##Ptr className::create( void ) \ { \ - printf("in create for %s\n",#className); \ className##Allocator##Ptr aAlPtr = \ dynamic_cast<className##Allocator##Ptr> \ --- 32,134 ---- DECLARE_CLASS( MetaType ); ! /*! ! \def DECLARE_METATYPEMEMBERS( className ) ! \brief define the metaType member for className. ! ! This must be located within the class interface. ! ! \attention this macro defines public, protected and private members ! therefore if you do not call this macro at the end of the class interface ! you may have some surprises about the visiblity of your own class members. ! ! \arg className the class name ! */ #define DECLARE_METATYPEMEMBERS( className ) \ public: \ + /** \ + get the type descriptor \ + \return a const pointer to the MetaType \ + */ \ static MetaTypeCptr getTypeDescriptor( void ); \ + /** \ + get the type \ + \return a const pointer to the MetaType \ + */ \ virtual MetaTypeCptr getType( void ) const; \ + /** \ + create a new instance of className \ + \return a pointer to className \ + */ \ static className##Ptr create( void ); \ ! /** \ ! destroy a point of className \ ! \arg pointer to className \ ! */ \ ! static void destroy( className##Ptr aPointer ); \ ! /** \ ! redefine the operator new[] \ ! \arg aSize \ ! \return a VoidPtr \ ! */ \ VoidPtr operator new(size_t aSize); \ + /** \ + redefine the operator delete[] \ + \arg aVoidPtr the pointer to delete \ + */ \ void operator delete(VoidPtr aVoidPtr); \ protected: \ private: \ ! /** \ ! the MetaType descriptor \ ! */ \ ! static MetaType theTypeDesc; #define OPEN_METATYPE_PARENTS( className ) \ + /** \ + array storing the parents descriptors \ + */ \ MetaType const *className##MetaType##Parents[] = \ { \ #define DEFINE_METATYPE_PARENT( parentName ) \ + /** \ + parentName type descriptor \ + */ \ MetaType##parentName::getTypeDescriptor(), \ #define CLOSE_METATYPE_PARENT \ + /** \ + The parent type descriptor array must be termined by the NULLPTR \ + */ \ MetaTypeCptr(NULLPTR) \ } ! /*! ! \def _DEFINE_FACTORY( className ) ! \brief Define the factory allocator. ! \arg className: the class name to define the factory for ! */ #define _DEFINE_FACTORY( className ) \ CORELINUX_DEFAULT_ALLOCATOR( className##Allocator, className ) \ + /** \ + the className Allocator \ + */ \ static className##Allocator the##className##Allocator; ! /*! ! \def _DEFINE_ENTITY(className) ! \brief Defines the factory methods for the type. ! Define the create(), destroy() functions ! to create and destroy entities and also overload the new ! and delete operators which call create and destroy() ! \arg className: the class name ! */ #define _DEFINE_ENTITY(className) \ + /** \ + create a new pointer to className \ + \return the allocated pointer \ + */ \ className##Ptr className::create( void ) \ { \ className##Allocator##Ptr aAlPtr = \ dynamic_cast<className##Allocator##Ptr> \ *************** *** 80,86 **** return aAlPtr->createType(); \ } \ void className::destroy( className##Ptr aPtr ) \ { \ - printf("in destroy for %s\n",#className); \ className##Allocator##Ptr aAlPtr = \ dynamic_cast<className##Allocator##Ptr> \ --- 136,145 ---- return aAlPtr->createType(); \ } \ + /** \ + destroy a pointer to className \ + \arg the pointer aPtr \ + */ \ void className::destroy( className##Ptr aPtr ) \ { \ className##Allocator##Ptr aAlPtr = \ dynamic_cast<className##Allocator##Ptr> \ *************** *** 88,95 **** --- 147,166 ---- aAlPtr->destroyType(aPtr); \ } \ + /** \ + redefine the operator new for className \ + this operator use the className::create() \ + function \ + \return a VoidPtr \ + */ \ VoidPtr className::operator new(size_t aSize) \ { \ return (VoidPtr)className::create(); \ } \ + /** \ + redefine the operator delete for className \ + this operator use the className::destroy() \ + function \ + \arg the pointer aVoidPtr \ + */ \ void className::operator delete(VoidPtr aVoidPtr) \ { \ *************** *** 97,102 **** className::destroy(aPtr); \ } \ ! #define _DEFINE_ENTITY_ALWAYS_PARMS(className,identification,version) \ MetaType className::theTypeDesc \ ( \ --- 168,180 ---- className::destroy(aPtr); \ } \ ! /*! ! \def _DEFINE_ENTITY_ALWAYS_PARMS(className,identification,version) ! calls the constructor of theTypeDesc and implements the ! getTypeDescriptor() and getType() functions ! */ #define _DEFINE_ENTITY_ALWAYS_PARMS(className,identification,version) \ + /** \ + construct the theTypeDesc \ + */ \ MetaType className::theTypeDesc \ ( \ *************** *** 117,124 **** --- 195,208 ---- #define _DEFINE_ENTITY_ALWAYS(className) \ ); \ + /** \ + implements the getType() function \ + */ \ MetaTypeCptr className::getType( void ) const \ { \ return &theTypeDesc; \ } \ + /** \ + implements the getTypeDescriptor() function \ + */ \ MetaTypeCptr className::getTypeDescriptor( void ) \ { \ *************** *** 129,133 **** #define DECLARE_METATYPE_MEMBERS( className ) ! #define DEFINE_ABSTRACT_METATYPE( className, identifier, version ) \ _DEFINE_ENTITY( className ) \ --- 213,224 ---- #define DECLARE_METATYPE_MEMBERS( className ) ! ! /*! ! \def DEFINE_ABSTRACT_METATYPE( className, identifier, version ) ! define a new abstract MetaType ! \arg className: the class name ! \arg identifier: the identifier, typically a UniversalIdentifier ! \arg version: the version number of the MetaType ! */ #define DEFINE_ABSTRACT_METATYPE( className, identifier, version ) \ _DEFINE_ENTITY( className ) \ *************** *** 135,139 **** _DEFINE_SINGLE_STRINGID(className) \ _DEFINE_ENTITY_ALWAYS(className) ! #define DEFINE_METATYPE( className, identifier, version ) \ _DEFINE_FACTORY( className ) \ --- 226,237 ---- _DEFINE_SINGLE_STRINGID(className) \ _DEFINE_ENTITY_ALWAYS(className) ! ! /*! ! \def DEFINE_METATYPE( className, identifier, version ) ! define a new MetaType ! \arg className: the class name ! \arg identifier: the identifier, typically a UniversalIdentifier ! \arg version: the version number of the MetaType ! */ #define DEFINE_METATYPE( className, identifier, version ) \ _DEFINE_FACTORY( className ) \ *************** *** 143,147 **** ,&the##className##Allocator \ _DEFINE_ENTITY_ALWAYS(className) ! #define DEFINE_METATYPE1( className, metaName,identifier, version ) \ _DEFINE_FACTORY( className ) \ --- 241,253 ---- ,&the##className##Allocator \ _DEFINE_ENTITY_ALWAYS(className) ! ! /*! ! \def DEFINE_METATYPE( className, metaName, identifier, version ) ! define a new MetaType but gives a name to the class as a meta class ! \arg className: the class name ! \arg metaName: the meta class name ! \arg identifier: the identifier, typically a UniversalIdentifier ! \arg version: the version number of the MetaType ! */ #define DEFINE_METATYPE1( className, metaName,identifier, version ) \ _DEFINE_FACTORY( className ) \ *************** *** 152,155 **** --- 258,267 ---- _DEFINE_ENTITY_ALWAYS(className) + /*! + \class MetaType + This class contains the meta informations on the classes using the metaClass framework. + + \version $Id$ + */ class MetaType { *************** *** 157,163 **** public: ! // ! // Constructor and destructors ! // /** Constructor requires meaningful information --- 269,275 ---- public: ! /** @name Constructor and destructors ! */ ! //@{ /** Constructor requires meaningful information *************** *** 208,231 **** virtual ~MetaType( void ); ! ! // ! // Accessors ! // ! UniversalIdentifierCref getIdentifier( void ) const; ! DwordCref getTypeVersion( void ) const; ! MetaTypeCptr *const getParentTypes( void ) const; ! CharCptr getInstanceTypeName( void ) const; CharCptr getMetaTypeName( void ) const; AllocatorPtr getAllocator( void ) const; - - - bool isType( MetaTypeCptr ) const throw ( Assertion ); bool isTypeOf( MetaTypeCptr ) const throw ( Assertion ); --- 320,378 ---- virtual ~MetaType( void ); ! //@} ! ! /** @name Accessors ! */ ! //@{ ! ! /** ! get the UniversalIdentifier associated to the MetaType. ! @return a UniversalIdentifierCref ! */ UniversalIdentifierCref getIdentifier( void ) const; ! ! /** ! get the version of the MetaType. ! @return the version ! */ DwordCref getTypeVersion( void ) const; ! /** ! get the Parent types. ! @return an array of MetaType ! */ ! MetaTypeCptr const * const getParentTypes( void ) const; ! ! /** ! get the name of the instance of this MetaType. ! @return the name of the instance of this MetaType ! */ CharCptr getInstanceTypeName( void ) const; + /** + get the name of this MetaType. + @return the name of this MetaType + */ CharCptr getMetaTypeName( void ) const; + /** + get the Allocator associated to this MetaType. + @return the allocator + */ AllocatorPtr getAllocator( void ) const; + /** + test if this MetaType is of the same type as aMetaType. + @arg aMetaType the MetaType to test with + @return true if the same false otherwise + */ + bool isType( MetaTypeCptr aMetaType ) const throw ( Assertion ); + + + /** + test if this MetaType is of the same type as aMetaType. + @arg aMetaType the MetaType to test with + @return true if the same false otherwise + */ bool isTypeOf( MetaTypeCptr ) const throw ( Assertion ); *************** *** 234,243 **** // bool isAbstractType( void ) const; - protected: MetaType( void ) throw ( Assertion ); MetaType( MetaTypeCref ) throw ( Assertion ); --- 381,398 ---- // + /** + tells if the MetaType is an abstract one or not + @return true if it is an abstract metatype false otherwise + */ bool isAbstractType( void ) const; + + //@} protected: + /// default constructor is protected MetaType( void ) throw ( Assertion ); + + /// copy constructor is protected MetaType( MetaTypeCref ) throw ( Assertion ); Index: FrameworkEntity.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/FrameworkEntity.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** FrameworkEntity.hpp 2000/10/03 02:14:02 1.1 --- FrameworkEntity.hpp 2000/10/03 23:16:17 1.2 *************** *** 30,37 **** DECLARE_CLASS( FrameworkEntity ); class FrameworkEntity { DECLARE_METATYPEMEMBERS( FrameworkEntity ); - public: --- 30,40 ---- DECLARE_CLASS( FrameworkEntity ); + /*! + \class FrameworkEntity + @version $Id$ + */ class FrameworkEntity { DECLARE_METATYPEMEMBERS( FrameworkEntity ); public: |
|
From: Frank V. C. <fr...@us...> - 2000-10-03 02:14:41
|
Update of /cvsroot/corelinux/clfw/src In directory slayer.i.sourceforge.net:/tmp/cvs-serv20350/src Modified Files: Makefile.am Log Message: 113427 MetaType and FrameworkEntity Index: Makefile.am =================================================================== RCS file: /cvsroot/corelinux/clfw/src/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Makefile.am 2000/08/15 04:58:43 1.1 --- Makefile.am 2000/10/03 02:14:02 1.2 *************** *** 12,16 **** SUFFIXES = .cpp .hpp .c .h .f .F .o .moc ! SUBDIRS = libs # Common rcs information do not modify --- 12,16 ---- SUFFIXES = .cpp .hpp .c .h .f .F .o .moc ! SUBDIRS = libs testdrivers # Common rcs information do not modify |
|
From: Frank V. C. <fr...@us...> - 2000-10-03 02:14:41
|
Update of /cvsroot/corelinux/clfw/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv20350/clfw Modified Files: ClfwCommon.hpp Makefile.am MetaType.hpp UniversalIdentifier.hpp Added Files: FrameworkEntity.hpp Log Message: 113427 MetaType and FrameworkEntity ***** Error reading new file: (2, 'No such file or directory') Index: ClfwCommon.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/ClfwCommon.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** ClfwCommon.hpp 2000/09/26 11:21:11 1.2 --- ClfwCommon.hpp 2000/10/03 02:14:02 1.3 *************** *** 30,33 **** --- 30,36 ---- #endif + #include <UniversalIdentifier.hpp> + #include <MetaType.hpp> + #endif // if !defined(__CLFWCOMMON_HPP) Index: Makefile.am =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/Makefile.am,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** Makefile.am 2000/10/01 15:56:21 1.5 --- Makefile.am 2000/10/03 02:14:02 1.6 *************** *** 15,19 **** include_HEADERS = ClfwCommon.hpp \ UniversalIdentifier.hpp \ ! MetaType.hpp \ Makefile.am --- 15,20 ---- include_HEADERS = ClfwCommon.hpp \ UniversalIdentifier.hpp \ ! MetaType.hpp \ ! FrameworkEntity.hpp \ Makefile.am Index: MetaType.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/MetaType.hpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** MetaType.hpp 2000/10/01 15:56:21 1.3 --- MetaType.hpp 2000/10/03 02:14:02 1.4 *************** *** 22,40 **** */ ! #if !defined(__CLFWCOMMON_HPP) ! #include <ClfwCommon.hpp> #endif ! #if !defined(__UNIVERSALIDENTIFIER_HPP) ! #include <UniversalIdentifier.hpp> ! #endif namespace corelinux { - - DECLARE_CLASS( Entity ); - DECLARE_CLASS( MetaType ); class MetaType { --- 22,155 ---- */ ! #if !defined(__ABSTRACTALLOCATOR_HPP) ! #include <corelinux/AbstractAllocator.hpp> #endif ! extern "C" ! { ! #include <stdio.h> ! } namespace corelinux { DECLARE_CLASS( MetaType ); + /// Expansion Macro + + #define DECLARE_METATYPEMEMBERS( className ) \ + public: \ + static MetaTypeCptr getTypeDescriptor( void ); \ + virtual MetaTypeCptr getType( void ) const; \ + static className##Ptr create( void ); \ + static void destroy( className##Ptr ); \ + VoidPtr operator new(size_t aSize); \ + void operator delete(VoidPtr aVoidPtr); \ + protected: \ + private: \ + static MetaType theTypeDesc; \ + + #define OPEN_METATYPE_PARENTS( className ) \ + MetaType const *className##MetaType##Parents[] = \ + { \ + + #define DEFINE_METATYPE_PARENT( parentName ) \ + MetaType##parentName::getTypeDescriptor(), \ + + #define CLOSE_METATYPE_PARENT \ + MetaTypeCptr(NULLPTR) \ + } + + // + // Define the factory allocator + // + + #define _DEFINE_FACTORY( className ) \ + CORELINUX_DEFAULT_ALLOCATOR( className##Allocator, className ) \ + static className##Allocator the##className##Allocator; + + // + // Defines the factory methods for the type + // + #define _DEFINE_ENTITY(className) \ + className##Ptr className::create( void ) \ + { \ + printf("in create for %s\n",#className); \ + className##Allocator##Ptr aAlPtr = \ + dynamic_cast<className##Allocator##Ptr> \ + (theTypeDesc.getAllocator()); \ + return aAlPtr->createType(); \ + } \ + void className::destroy( className##Ptr aPtr ) \ + { \ + printf("in destroy for %s\n",#className); \ + className##Allocator##Ptr aAlPtr = \ + dynamic_cast<className##Allocator##Ptr> \ + (theTypeDesc.getAllocator()); \ + aAlPtr->destroyType(aPtr); \ + } \ + VoidPtr className::operator new(size_t aSize) \ + { \ + return (VoidPtr)className::create(); \ + } \ + void className::operator delete(VoidPtr aVoidPtr) \ + { \ + className##Ptr aPtr = (className##Ptr)aVoidPtr; \ + className::destroy(aPtr); \ + } \ + + #define _DEFINE_ENTITY_ALWAYS_PARMS(className,identification,version) \ + MetaType className::theTypeDesc \ + ( \ + identification \ + ,version \ + ,sizeof(className) \ + ,className##MetaType##Parents + + + #define _DEFINE_SINGLE_STRINGID( className ) \ + ,#className \ + ,#className + + #define _DEFINE_DUAL_STRINGID( className, metaName ) \ + ,#className \ + ,#metaName + + #define _DEFINE_ENTITY_ALWAYS(className) \ + ); \ + MetaTypeCptr className::getType( void ) const \ + { \ + return &theTypeDesc; \ + } \ + MetaTypeCptr className::getTypeDescriptor( void ) \ + { \ + return &theTypeDesc; \ + } \ + + #define _DEFINE_METATYPE_ALWAYS + + #define DECLARE_METATYPE_MEMBERS( className ) + + #define DEFINE_ABSTRACT_METATYPE( className, identifier, version ) \ + _DEFINE_ENTITY( className ) \ + _DEFINE_ENTITY_ALWAYS_PARMS(className,identifier,version) \ + _DEFINE_SINGLE_STRINGID(className) \ + _DEFINE_ENTITY_ALWAYS(className) + + #define DEFINE_METATYPE( className, identifier, version ) \ + _DEFINE_FACTORY( className ) \ + _DEFINE_ENTITY( className ) \ + _DEFINE_ENTITY_ALWAYS_PARMS(className,identifier,version) \ + _DEFINE_SINGLE_STRINGID(className) \ + ,&the##className##Allocator \ + _DEFINE_ENTITY_ALWAYS(className) + + #define DEFINE_METATYPE1( className, metaName,identifier, version ) \ + _DEFINE_FACTORY( className ) \ + _DEFINE_ENTITY( className ) \ + _DEFINE_ENTITY_ALWAYS_PARMS(className,identifier,version) \ + _DEFINE_DUAL_STRINGID(className,metaName) \ + ,&the##className##Allocator \ + _DEFINE_ENTITY_ALWAYS(className) + class MetaType { *************** *** 45,51 **** // Constructor and destructors // ! ! MetaType( void ); virtual ~MetaType( void ); --- 160,209 ---- // Constructor and destructors // ! /** ! Constructor requires meaningful information ! for analysis, this is for abstract types that ! are not instantiated ! @param UniversalIdentifier a Unique ID ! @param Dword MetaType version number ! @param Char pointer to type instance (class) name ! @param Char pointer to MetaType name ! @param Dword size of class ! @param MetaType pointer to array of parents ! */ ! ! MetaType ! ( ! UniversalIdentifierCref , ! DwordCref , ! DwordCref , ! MetaTypeCptr *, ! CharCptr , ! CharCptr ! ) throw ( Assertion ); ! ! /** ! Constructor requires meaningful information ! for analysis ! @param UniversalIdentifier a Unique ID ! @param Dword MetaType version number ! @param Char pointer to type instance (class) name ! @param Char pointer to MetaType name ! @param Dword size of class ! @param MetaType pointer to array of parents ! @param Allocator pointer to instance allocator ! */ ! ! MetaType ! ( ! UniversalIdentifierCref , ! DwordCref , ! DwordCref , ! MetaTypeCptr *, ! CharCptr , ! CharCptr , ! AllocatorPtr ! ) throw ( Assertion ); + /// Virtual destructor virtual ~MetaType( void ); *************** *** 54,70 **** // Accessors // ! virtual bool isType( MetaTypeCptr ) const ! throw ( Assertion ); ! virtual bool isType( MetaTypeCref ) const ; - bool isTypeOf( MetaTypeCptr ) const throw ( Assertion ); protected: ! MetaType( MetaTypeCref ); protected: --- 212,244 ---- // Accessors // + + UniversalIdentifierCref getIdentifier( void ) const; + + DwordCref getTypeVersion( void ) const; ! MetaTypeCptr *const getParentTypes( void ) const; ! CharCptr getInstanceTypeName( void ) const; + CharCptr getMetaTypeName( void ) const; + + AllocatorPtr getAllocator( void ) const; + + + bool isType( MetaTypeCptr ) const throw ( Assertion ); + + bool isTypeOf( MetaTypeCptr ) const throw ( Assertion ); + + // + // Factory + // + bool isAbstractType( void ) const; protected: ! MetaType( void ) throw ( Assertion ); ! MetaType( MetaTypeCref ) throw ( Assertion ); protected: *************** *** 73,78 **** private: ! MetaTypeCptr *const theBaseClasses; ! CharCptr theName; }; --- 247,257 ---- private: ! DwordCref theVersion; ! DwordCref theInstanceSize; ! UniversalIdentifierCref theTypeId; ! MetaTypeCptr *const theBaseClasses; ! CharCptr theInstanceTypeName; ! CharCptr theMetaTypeName; ! AllocatorPtr theFactoryAllocator; }; Index: UniversalIdentifier.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/UniversalIdentifier.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** UniversalIdentifier.hpp 2000/10/01 15:56:21 1.1 --- UniversalIdentifier.hpp 2000/10/03 02:14:02 1.2 *************** *** 22,29 **** */ - #if !defined(__CLFWCOMMON_HPP) - #include <ClfwCommon.hpp> - #endif - namespace corelinux { --- 22,25 ---- |
|
From: Frank V. C. <fr...@us...> - 2000-10-03 02:14:41
|
Update of /cvsroot/corelinux/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv20350 Modified Files: configure.in Log Message: 113427 MetaType and FrameworkEntity Index: configure.in =================================================================== RCS file: /cvsroot/corelinux/clfw/configure.in,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** configure.in 2000/10/01 15:56:20 1.10 --- configure.in 2000/10/03 02:14:01 1.11 *************** *** 91,96 **** exit; ],) - AC_SUBST(LIBS) AC_OUTPUT(Makefile \ --- 91,107 ---- exit; ],) + # + # check libuuid + # + + AC_SEARCH_LIBS(uuid_compare,uuid,[ + LIBS="${LIBS} -luuid" + ],[ + echo "You need to install libuuid" + exit; + ],) + + AC_SUBST(LIBS) AC_OUTPUT(Makefile \ *************** *** 105,107 **** src/libs/Makefile \ src/libs/LibLoad/Makefile \ ! src/libs/clfw/Makefile, [ chmod +x debian/rules ] ) --- 116,120 ---- src/libs/Makefile \ src/libs/LibLoad/Makefile \ ! src/libs/clfw/Makefile \ ! src/testdrivers/Makefile \ ! src/testdrivers/exf1/Makefile, [ chmod +x debian/rules ] ) |
|
From: Frank V. C. <fr...@us...> - 2000-10-03 02:14:09
|
Update of /cvsroot/corelinux/clfw/src/testdrivers In directory slayer.i.sourceforge.net:/tmp/cvs-serv20350/src/testdrivers Added Files: Makefile.am Log Message: 113427 MetaType and FrameworkEntity ***** Error reading new file: (2, 'No such file or directory') |
|
From: Frank V. C. <fr...@us...> - 2000-10-03 02:14:09
|
Update of /cvsroot/corelinux/clfw/src/testdrivers/exf1 In directory slayer.i.sourceforge.net:/tmp/cvs-serv20350/src/testdrivers/exf1 Added Files: Makefile.am examp1.cpp Log Message: 113427 MetaType and FrameworkEntity --- NEW FILE --- # -*- Mode: makefile -*- # SUMMARY: # USAGE: make <make-target> # AUTHOR: Christophe Prud'homme # ORG: Christophe Prud'homme # E-MAIL: Chr...@an... # ORIG-DATE: 10-Apr-00 at 08:34:22 # LAST-MOD: 23-Apr-00 at 16:13:26 by Christophe Prud'homme # DESCRIPTION: # DESCRIP-END. SUFFIXES = .cpp .hpp .c .h .f .F .o .moc #SUBDIRS = include bin_PROGRAMS = exf1 exf1_SOURCES = examp1.cpp exf1_LDADD = ${top_builddir}/src/libs/clfw/libclfw++.la ***** Error reading new file: (2, 'No such file or directory') |