[GME-commit] GMESRC/GME/Core CoreUtilities.h,1.4,1.5
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Tue Sep 14 10:00:29 CDT 2004
Update of /var/lib/gme/GMESRC/GME/Core
In directory braindrain:/tmp/cvs-serv1059
Modified Files:
CoreUtilities.h
Log Message:
no message
CVS User: bogyom
Index: CoreUtilities.h
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Core/CoreUtilities.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CoreUtilities.h 2 Oct 2002 18:16:00 -0000 1.4
--- CoreUtilities.h 14 Sep 2004 14:00:27 -0000 1.5
***************
*** 31,34 ****
--- 31,49 ----
};
+ struct metaobjidpair_less
+ {
+ bool operator()(const metaobjidpair_type& a, const metaobjidpair_type& b) const
+ {
+ if( a.metaid < b.metaid )
+ return true;
+ else if( a.metaid > b.metaid )
+ return false;
+ else if( a.objid < a.objid )
+ return true;
+ else
+ return false;
+ }
+ };
+
inline void CopyTo(const metaobjidpair_type &idpair, VARIANT *v)
{ CopyTo((long*)&idpair, (long*)&idpair + 2, v); }
More information about the GME-commit
mailing list