00001 /* 00002 * Copyright (c) 1998, 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 HxUpoTan_h 00011 #define HxUpoTan_h 00012 00013 #include "HxTagList.h" 00014 #include "HxClassName.h" 00015 00016 00019 template<class DstValT, class SrcValT> 00020 class HxUpoTan 00021 { 00022 public: 00024 HxUpoTan(HxTagList&) 00025 {} 00026 00028 DstValT doIt(const SrcValT& x) 00029 { return x.tan(); } 00030 00032 static HxString className() 00033 { return HxString("tan"); } 00034 }; 00035 00036 #endif