00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef HxBpoMul_h
00011 #define HxBpoMul_h
00012
00013 #include "HxTagList.h"
00014 #include "HxClassName.h"
00015
00016
00019 template<class DstValT, class Src1ValT, class Src2ValT>
00020 class HxBpoMul
00021 {
00022 public:
00024 HxBpoMul(HxTagList&)
00025 {}
00026
00028 DstValT doIt(const Src1ValT& x, const Src2ValT& y)
00029 { return x * y; }
00030
00031 static DstValT neutralElement()
00032 { return DstValT(1); }
00033
00035 static HxString className()
00036 { return HxString("mul"); }
00037 };
00038
00039 #endif