find_in_linehang.h

Go to the documentation of this file.
00001 #ifndef __find_in_linehang_h
00002 #define __find_in_linehang_h
00003 
00004 /*---------------------------------------------------*/
00005 
00006 namespace Gascoigne
00007 {
00008 template <int N>
00009 std::pair<typename HangList<N>::iterator,bool> 
00010 find_in_linehang(HangList<N>& LineHang, const fixarray<N,int>& lineglob)
00011 {
00012   // sort(lineglob.begin(),lineglob.end());
00013   typename HangList<N>::iterator p = LineHang.find(lineglob);
00014   bool b=0;
00015   if(p!=LineHang.end()) b = 1;
00016   return std::make_pair(p,b);
00017 }
00018 }
00019 
00020 #endif

Generated on Thu Sep 14 10:34:37 2006 for Gascoigne by  doxygen 1.4.7