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