00001 /* 00002 * Copyright (c) 2000, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * Edo Poll (poll@wins.uva.nl) 00007 */ 00008 00009 #ifndef HxUpoCopy_h 00010 #define HxUpoCopy_h 00011 00012 class HxTagList; 00013 00014 template<class DstValT, class SrcValT> 00015 class HxUpoCopy 00016 { 00017 public: 00018 HxUpoCopy(HxTagList&) 00019 {} 00020 00021 DstValT doIt(const SrcValT& x) 00022 { return x; } 00023 00024 static HxString className() 00025 { return HxString("copy"); } 00026 }; 00027 00028 #endif