Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

IdConverterLessThan.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/xmlUtil/xmlUtil/id/IdConverterLessThan.h,v 1.4 2001/09/25 21:43:06 jrb Exp $
00002 
00003 #ifndef XMLUTIL_IDCONVERTERLESSTHAN_H
00004 #define XMLUTIL_IDCONVERTERLESSTHAN_H
00005 
00006 #include <functional>
00007 #include "xmlUtil/id/IdConverter.h"
00008 
00009 #include "xmlUtil/id/IdConversion.h"
00010 
00011 namespace xmlUtil {
00017   class IdConverterLessThan : 
00018     public std::binary_function<IdConverter::ConversionIt, 
00019     IdConverter::ConversionIt, bool> 
00020   {
00021   public:
00024     bool operator()(IdConversion* x, 
00025                     IdConversion* y) {
00026       return ((x->m_path)->size() < ((y->m_path)->size() ) );
00027     }
00028   };
00029 }
00030 
00031 #endif

Generated on Wed Oct 16 14:02:47 2002 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001