[GME-commit] GMESRC/GME/Parser MetaParser.cpp,1.20,1.21

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Tue Jul 20 09:55:49 CDT 2004


Update of /var/lib/gme/GMESRC/GME/Parser
In directory braindrain:/tmp/cvs-serv8866/GME/Parser

Modified Files:
	MetaParser.cpp 
Log Message:
Version string was introduced in the Registration process

CVS User: volgy

Index: MetaParser.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Parser/MetaParser.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** MetaParser.cpp	8 Apr 2004 08:34:25 -0000	1.20
--- MetaParser.cpp	20 Jul 2004 13:55:47 -0000	1.21
***************
*** 63,66 ****
--- 63,67 ----
  			{
  
+ 				/* Old pradigm guid logic
  //calculate checksum:
  				int sum = 0, cyc = 0;
***************
*** 83,88 ****
--- 84,91 ----
  				CComVariant v;
  				CopyTo(guid, v);
+ 				
  	
  				COMTHROW( metaproject->put_GUID(v) );
+ 				*/
  			}
  		}
***************
*** 194,198 ****
  		Attr(i, "name", metaproject, IMgaMetaProject::put_Name);
  		Attr(i, "version", metaproject, IMgaMetaProject::put_Version);
! /*  we store checksum in GUID instead	
  		if( i->first == "guid" )
  		{
--- 197,202 ----
  		Attr(i, "name", metaproject, IMgaMetaProject::put_Name);
  		Attr(i, "version", metaproject, IMgaMetaProject::put_Version);
! 		
! 		/*  New Paradigm GUID logic */	
  		if( i->first == "guid" )
  		{
***************
*** 208,212 ****
  			COMTHROW( metaproject->put_GUID(v) );
  		}
! */
  		++i;
  	}
--- 212,219 ----
  			COMTHROW( metaproject->put_GUID(v) );
  		}
! 
! 		Attr(i, "cdate", metaproject, IMgaMetaProject::put_CreatedAt);
! 		Attr(i, "mdate", metaproject, IMgaMetaProject::put_ModifiedAt);
! 
  		++i;
  	}



More information about the GME-commit mailing list