00001 /* 00002 * Copyright (c) 2001, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * Jan-Mark Geusebroek (mark@science.uva.nl) 00007 */ 00008 00009 #ifndef HxUpoArg_h 00010 #define HxUpoArg_h 00011 00012 #include "HxTagList.h" 00013 #include "HxClassName.h" 00014 00015 00018 template<class DstValT, class SrcValT> 00019 class HxUpoArg 00020 { 00021 public: 00023 HxUpoArg(HxTagList&) 00024 {} 00025 00027 DstValT doIt(const SrcValT& x) 00028 { return x.arg(); } 00029 00031 static HxString className() 00032 { return HxString("arg"); } 00033 }; 00034 00035 #endif