00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef HxBpoMin_h
00011 #define HxBpoMin_h
00012
00013 #include "HxTagList.h"
00014 #include "HxClassName.h"
00015 #include "HxScalarInt.h"
00016
00017
00020 template<class DstValT, class Src1ValT, class Src2ValT>
00021 class HxBpoMin
00022 {
00023 public:
00025 HxBpoMin(HxTagList&)
00026 {}
00027
00029 DstValT doIt(const Src1ValT& x, const Src2ValT& y)
00030 { return x.min(y); }
00031
00032 static DstValT neutralElement()
00033 { return DstValT::LARGE_VAL; }
00034
00036 static HxString className()
00037 { return HxString("min"); }
00038 };
00039
00040 #endif