00001 /* 00002 * Copyright (c) 1999, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * Edo Poll (poll@wins.uva.nl) 00007 * Marc Navarro (mnavarro@wins.uva.nl) 00008 * Dennis Koelma (koelma@wins.uva.nl) 00009 */ 00010 00011 #ifndef HxImgFtorTableTem_h 00012 #define HxImgFtorTableTem_h 00013 00014 #include "HxImgFtorTable.h" 00015 00016 00019 template <class FunctorType> 00020 class HxImgFtorTableTem 00021 { 00022 public: 00023 00027 FunctorType* find(const typename FunctorType::KeyType& key) const 00028 { 00029 return (FunctorType*)(HxImgFtorTable::instance().find(key)); 00030 } 00031 00032 }; 00033 00034 #endif