[GME-commit] GMESRC/Paradigms/MetaGME/MONTraverser MONDialog.cpp,1.3,1.4

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Fri Mar 12 16:09:22 CST 2004


Update of /var/lib/gme/GMESRC/Paradigms/MetaGME/MONTraverser
In directory braindrain:/tmp/cvs-serv16667/MONTraverser

Modified Files:
	MONDialog.cpp 
Log Message:
Fixed comparison routine (wrong parameter types prevented Aspects and Attributes to be sorted)

CVS User: volgy

Index: MONDialog.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/Paradigms/MetaGME/MONTraverser/MONDialog.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MONDialog.cpp	3 Feb 2004 10:53:04 -0000	1.3
--- MONDialog.cpp	12 Mar 2004 22:09:16 -0000	1.4
***************
*** 297,301 ****
  struct LexicoSort
  {
! 	bool operator() ( const MON::Object& o1, const MON::Object& o2 ) const
  	{
  		return o1.name() < o2.name();
--- 297,301 ----
  struct LexicoSort
  {
! 	bool operator() ( const MON::MetaObject& o1, const MON::MetaObject& o2 ) const
  	{
  		return o1.name() < o2.name();
***************
*** 338,342 ****
  		insertVector<MON::Set>( m_cmbObject, m_project.sets(), MON::OT_Set );
  		insertVector<MON::Aspect>( m_cmbObject, m_project.aspects(), MON::OT_Aspect );
! 		insertVector<MON::Attribute>( m_cmbObject, m_project.attributes(), MON::OT_Attribute );
  		if ( m_cmbObject.GetCount() == 0 )
  			GetDlgItem( IDC_RDOBJECT )->EnableWindow( FALSE );
--- 338,342 ----
  		insertVector<MON::Set>( m_cmbObject, m_project.sets(), MON::OT_Set );
  		insertVector<MON::Aspect>( m_cmbObject, m_project.aspects(), MON::OT_Aspect );
! 		//insertVector<MON::Attribute>( m_cmbObject, m_project.attributes(), MON::OT_Attribute );
  		if ( m_cmbObject.GetCount() == 0 )
  			GetDlgItem( IDC_RDOBJECT )->EnableWindow( FALSE );



More information about the GME-commit mailing list