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 00028 template <class ImgSigT, class InOutT> 00029 class L_HXIMAGEREP HxImgFtorInOut : public HxImgFtorI1Cast<ImgSigT> 00030 { 00031 public: 00032 00034 typedef HxImgFtorInOutKey KeyType; 00035 00037 HxImgFtorInOut(); 00038 00040 virtual ~HxImgFtorInOut(); 00041 00042 protected: 00048 virtual void doIt( 00049 ImgDataPtrType ptr, HxSizes size, 00050 HxTagList &tags, HxImgFtorDescription* = 0); 00051 00052 private: 00053 HxImgFtorInOut(const HxImgFtorInOut&); 00054 }; 00055 00056 #ifdef INC_TEMPLATE_SRC 00057 #include "HxImgFtorInOut.c" 00058 #endif 00059 00060 #endif