[GME-commit] GMESRC/GME/ConstraintManager OCLGMECMFacade.cpp,1.28,1.29

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Fri Jul 21 20:24:39 CDT 2006


Update of /project/gme-repository/GMESRC/GME/ConstraintManager
In directory escher:/tmp/cvs-serv9678

Modified Files:
	OCLGMECMFacade.cpp 
Log Message:
For now disregard those constraints which are coming from another namespace.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: OCLGMECMFacade.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/ConstraintManager/OCLGMECMFacade.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** OCLGMECMFacade.cpp	13 Oct 2004 15:17:54 -0000	1.28
--- OCLGMECMFacade.cpp	21 Jul 2006 19:24:37 -0000	1.29
***************
*** 304,307 ****
--- 304,310 ----
  
  		MGACOLL_ITERATE( IMgaConstraint, spConstraints ) {
+ 			CString strNmspc;
+ 			COMTHROW( MGACOLL_ITER->GetDefinedForNamespace( PutOut( strNmspc)));
+ 			if( strNmspc.IsEmpty()) { // disregard outsider constraints ///z
  			constraint_type_enum eType;
  			COMTHROW( MGACOLL_ITER->get_Type( &eType ) );
***************
*** 311,314 ****
--- 314,318 ----
  				vecFounds.push_back( spConstraintFunction );
  			}
+ 			}
  		} MGACOLL_ITERATE_END;
  
***************
*** 450,453 ****
--- 454,460 ----
  			COMTHROW( vecMetas[ i ]->get_Constraints( &spConstraints ) );
  			MGACOLL_ITERATE( IMgaConstraint, spConstraints ) {
+ 				CString strNmspc;
+ 				COMTHROW( MGACOLL_ITER->GetDefinedForNamespace( PutOut( strNmspc)));
+ 				if( strNmspc.IsEmpty()) { // disregard outsider constraints ///z
  				constraint_type_enum eType;
  				COMTHROW( MGACOLL_ITER->get_Type( &eType ) );
***************
*** 456,460 ****
  					spConstraint->Register( m_pTreeManager );
  					vecFounds.push_back( spConstraint );
! 				}
  			} MGACOLL_ITERATE_END;
  		}
--- 463,467 ----
  					spConstraint->Register( m_pTreeManager );
  					vecFounds.push_back( spConstraint );
! 				}}
  			} MGACOLL_ITERATE_END;
  		}



More information about the GME-commit mailing list