[GME-commit]
GMESRC/Paradigms/MetaGME/BonExtension BON2Component.cpp,1.17,1.18
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Thu Jul 29 20:37:51 CDT 2004
- Previous message: [GME-commit]
GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep Any.cpp,1.10,1.11
Any.h,1.6,1.7 AspectRep.cpp,1.10,1.11 AspectRep.h,1.7,1.8
AtomRep.cpp,1.2,1.3 AtomRep.h,1.1,1.2 AttributeRep.cpp,1.5,1.6
ConnJoint.cpp,1.8,1.9 ConnectionRep.cpp,1.6,1.7
ConnectionRep.h,1.3,1.4 ConstraintFuncRep.cpp,1.1,1.2
ConstraintRep.cpp,1.2,1.3 Dumper.cpp,1.23,1.24 FCO.cpp,1.9,1.10
FCO.h,1.4,1.5 FcoRep.h,1.1,1.2 FolderRep.cpp,1.7,1.8
ModelRep.cpp,1.12,1.13 ModelRep.h,1.6,1.7
ReferenceRep.cpp,1.10,1.11 ReferenceRep.h,1.5,1.6
RoleRep.cpp,1.4,1.5 SetRep.cpp,1.5,1.6 SetRep.h,1.1,1.2
Sheet.cpp,1.7,1.8 Sheet.h,1.5,1.6
- Next message: [GME-commit]
GMESRC/Paradigms/MetaGME/BonExtension/Rep Any.cpp,1.10,1.11
Any.h,1.7,1.8 AtomRep.cpp,1.3,1.4 AtomRep.h,1.3,1.4
ConnectionRep.cpp,1.5,1.6 ConnectionRep.h,1.3,1.4 FCO.cpp,1.16,1.17
FCO.h,1.13,1.14 FcoRep.cpp,1.3,1.4 FcoRep.h,1.3,1.4
FolderRep.cpp,1.8,1.9 ModelRep.cpp,1.11,1.12 ModelRep.h,1.5,1.6
ReferenceRep.cpp,1.8,1.9 ReferenceRep.h,1.4,1.5 SetRep.cpp,1.9,1.10
SetRep.h,1.5,1.6 Sheet.cpp,1.7,1.8 Sheet.h,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/gme/GMESRC/Paradigms/MetaGME/BonExtension
In directory braindrain:/tmp/cvs-serv19479/BonExtension
Modified Files:
BON2Component.cpp
Log Message:
Syncing with MetaInterpreter.
CVS User: zolmol
Index: BON2Component.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/Paradigms/MetaGME/BonExtension/BON2Component.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** BON2Component.cpp 16 Jul 2004 22:39:06 -0000 1.17
--- BON2Component.cpp 30 Jul 2004 00:37:49 -0000 1.18
***************
*** 543,551 ****
rel_it->getOperation() == Relation::EQUIVALENCE_OP)
{
! std::string n1 = rel_it->getOp1()->getName();
std::string n2 = rel_it->getOp2()->getName();
if ( n1 == n2 ) // the names are the same no selection needed
{ }
! else
{
bool is_proxy_first = isProxy( rel_it->getOp1()) == 1;
--- 543,551 ----
rel_it->getOperation() == Relation::EQUIVALENCE_OP)
{
! /*std::string n1 = rel_it->getOp1()->getName();
std::string n2 = rel_it->getOp2()->getName();
if ( n1 == n2 ) // the names are the same no selection needed
{ }
! else*/
{
bool is_proxy_first = isProxy( rel_it->getOp1()) == 1;
***************
*** 656,664 ****
{ //
ObjPointer obj1 = rel_it->getOp1(), obj2 = rel_it->getOp2();
! // obj1 will have obj2 and proxies of obj2 as its alter egos
! insertIntoEquivBag( obj2, obj1);
! operandSearchAndReplace( obj2, obj1); //"Right law": repl left (op2) with right(op1)
!
rel_it = m_equivRelations.erase( rel_it); // <- relies on that erase increments rel_it
--- 656,668 ----
{ //
ObjPointer obj1 = rel_it->getOp1(), obj2 = rel_it->getOp2();
+
! if( obj1 != obj2) //avoid trivial case: "A equiv A"
! {
! // obj1 will have obj2 and proxies of obj2 as its alter egos
! insertIntoEquivBag( obj2, obj1);
! operandSearchAndReplace( obj2, obj1); //"Right law": repl left (op2) with right(op1)
! }
!
rel_it = m_equivRelations.erase( rel_it); // <- relies on that erase increments rel_it
***************
*** 962,978 ****
new_elem = 0;
if ( obj->getObjectMeta().name() == "FCO" )
! new_elem = m_sheet->createFcoRep( fco);
else if ( obj->getObjectMeta().name() == "Atom" )
! new_elem = m_sheet->createAtomRep( fco);
else if ( obj->getObjectMeta().name() == "Model" )
! new_elem = m_sheet->createModelRep( fco);
else if ( obj->getObjectMeta().name() == "Connection" )
! new_elem = m_sheet->createConnectionRep( fco);
else if ( obj->getObjectMeta().name() == "Set" )
! new_elem = m_sheet->createSetRep( fco);
else if ( obj->getObjectMeta().name() == "Reference" )
! new_elem = m_sheet->createReferenceRep( fco);
else if ( obj->getObjectMeta().name() == "Folder" )
! new_elem = m_sheet->createFolderRep( fco, (resp != BON::FCO())?resp:fco);
else if ( obj->getObjectMeta().name() == "Aspect" )
/*new_elem = m_sheet->createAspectRep( fco, (resp != BON::FCO())?resp:fco)*/;
--- 966,982 ----
new_elem = 0;
if ( obj->getObjectMeta().name() == "FCO" )
! new_elem = m_sheet->createFcoRep( fco, resp);
else if ( obj->getObjectMeta().name() == "Atom" )
! new_elem = m_sheet->createAtomRep( fco, resp);
else if ( obj->getObjectMeta().name() == "Model" )
! new_elem = m_sheet->createModelRep( fco, resp);
else if ( obj->getObjectMeta().name() == "Connection" )
! new_elem = m_sheet->createConnectionRep( fco, resp);
else if ( obj->getObjectMeta().name() == "Set" )
! new_elem = m_sheet->createSetRep( fco, resp);
else if ( obj->getObjectMeta().name() == "Reference" )
! new_elem = m_sheet->createReferenceRep( fco, resp);
else if ( obj->getObjectMeta().name() == "Folder" )
! new_elem = m_sheet->createFolderRep( fco, resp);//(resp != BON::FCO())?resp:fco);
else if ( obj->getObjectMeta().name() == "Aspect" )
/*new_elem = m_sheet->createAspectRep( fco, (resp != BON::FCO())?resp:fco)*/;
- Previous message: [GME-commit]
GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep Any.cpp,1.10,1.11
Any.h,1.6,1.7 AspectRep.cpp,1.10,1.11 AspectRep.h,1.7,1.8
AtomRep.cpp,1.2,1.3 AtomRep.h,1.1,1.2 AttributeRep.cpp,1.5,1.6
ConnJoint.cpp,1.8,1.9 ConnectionRep.cpp,1.6,1.7
ConnectionRep.h,1.3,1.4 ConstraintFuncRep.cpp,1.1,1.2
ConstraintRep.cpp,1.2,1.3 Dumper.cpp,1.23,1.24 FCO.cpp,1.9,1.10
FCO.h,1.4,1.5 FcoRep.h,1.1,1.2 FolderRep.cpp,1.7,1.8
ModelRep.cpp,1.12,1.13 ModelRep.h,1.6,1.7
ReferenceRep.cpp,1.10,1.11 ReferenceRep.h,1.5,1.6
RoleRep.cpp,1.4,1.5 SetRep.cpp,1.5,1.6 SetRep.h,1.1,1.2
Sheet.cpp,1.7,1.8 Sheet.h,1.5,1.6
- Next message: [GME-commit]
GMESRC/Paradigms/MetaGME/BonExtension/Rep Any.cpp,1.10,1.11
Any.h,1.7,1.8 AtomRep.cpp,1.3,1.4 AtomRep.h,1.3,1.4
ConnectionRep.cpp,1.5,1.6 ConnectionRep.h,1.3,1.4 FCO.cpp,1.16,1.17
FCO.h,1.13,1.14 FcoRep.cpp,1.3,1.4 FcoRep.h,1.3,1.4
FolderRep.cpp,1.8,1.9 ModelRep.cpp,1.11,1.12 ModelRep.h,1.5,1.6
ReferenceRep.cpp,1.8,1.9 ReferenceRep.h,1.4,1.5 SetRep.cpp,1.9,1.10
SetRep.h,1.5,1.6 Sheet.cpp,1.7,1.8 Sheet.h,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list