00001 /* 00002 * Copyright (c) 2000, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * Dennis Koelma <koelma@wins.uva.nl> 00007 * Edo Poll <poll@wins.uva.nl> 00008 */ 00009 00010 #ifndef HxImgFtorInOut_h 00011 #define HxImgFtorInOut_h 00012 00013 #include "HxSizes.h" 00014 #include "HxImgFtorInOutKey.h" 00015 #include "HxImgFtorI1Cast.h" 00016 00017 #include "HxTagList.h" 00018 00019 00022 template <class ImgSigT, class InOutT> 00023 class L_HXIMAGEREP HxImgFtorInOut : public HxImgFtorI1Cast<ImgSigT> 00024 { 00025 public: 00026 00028 typedef HxImgFtorInOutKey KeyType; 00029 00031 HxImgFtorInOut(); 00032 00034 virtual ~HxImgFtorInOut(); 00035 00036 protected: 00042 virtual void doIt( 00043 ImgDataPtrType ptr, HxSizes size, 00044 HxTagList &tags, HxImgFtorDescription* = 0); 00045 00046 private: 00047 HxImgFtorInOut(const HxImgFtorInOut&); 00048 }; 00049 00050 #ifdef INC_TEMPLATE_SRC 00051 #include "HxImgFtorInOut.c" 00052 #endif 00053 00054 #endif