[GME-commit] GMESRC/SDK/BON Extensions.h,1.9,1.10
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Tue Mar 9 14:08:53 CST 2004
- Previous message: [GME-commit]
GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep Any.cpp,1.5,1.6
Any.h,1.3,1.4 AspectRep.cpp,1.3,1.4 AspectRep.h,1.3,1.4
Broker.cpp,1.3,1.4 Dumper.cpp,1.12,1.13 ModelRep.cpp,1.6,1.7
ModelRep.h,1.2,1.3 PointerItem.cpp,1.1,1.2 ReferenceRep.cpp,1.5,1.6
RoleRep.cpp,1.3,1.4 Sheet.cpp,1.2,1.3
- Next message: [GME-commit]
GMESRC/Install Environment.idt,1.1,1.2 ISString.idt,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/gme/GMESRC/SDK/BON
In directory braindrain:/tmp/cvs-serv26344
Modified Files:
Extensions.h
Log Message:
Copy constructors are added to the Extension classes (smart pointers). Again: BON2 NEEDS DESIGN REVIEW !
CVS User: volgy
Index: Extensions.h
===================================================================
RCS file: /var/lib/gme/GMESRC/SDK/BON/Extensions.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Extensions.h 3 Feb 2004 10:53:05 -0000 1.9
--- Extensions.h 9 Mar 2004 20:08:50 -0000 1.10
***************
*** 209,212 ****
--- 209,220 ----
}
+ // VOLGY: Copy constructor
+ Extension( const Extension<TBON,TUserI>& object )
+ : TBON()
+ {
+ setCounted( castObjectImpl( dynamic_cast<ObjectImpl*>( object.getCounted( false ) ) ) );
+ }
+
+
Extension<TBON,TUserI>& operator = ( const Object& object )
{
***************
*** 703,706 ****
--- 711,721 ----
if ( ! castObjectImpl( dynamic_cast<ObjectImpl*>( getCounted( false ) ) ) )
setCounted( NULL );
+ }
+
+ // VOLGY: Copy constructor
+ ExtensionA( const ExtensionA<TBON,TUserI>& object )
+ : TBON()
+ {
+ setCounted( castObjectImpl( dynamic_cast<ObjectImpl*>( object.getCounted( false ) ) ) );
}
- Previous message: [GME-commit]
GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep Any.cpp,1.5,1.6
Any.h,1.3,1.4 AspectRep.cpp,1.3,1.4 AspectRep.h,1.3,1.4
Broker.cpp,1.3,1.4 Dumper.cpp,1.12,1.13 ModelRep.cpp,1.6,1.7
ModelRep.h,1.2,1.3 PointerItem.cpp,1.1,1.2 ReferenceRep.cpp,1.5,1.6
RoleRep.cpp,1.3,1.4 Sheet.cpp,1.2,1.3
- Next message: [GME-commit]
GMESRC/Install Environment.idt,1.1,1.2 ISString.idt,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list