Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxBpoInfAssign.h

00001 /*
00002  *  Copyright (c) 1999, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *  Dennis Koelma           (koelma@wins.uva.nl)
00007  */
00008 
00009 #ifndef HxBpoInfAssign_h
00010 #define HxBpoInfAssign_h
00011 
00012 #include "HxTagList.h"
00013 #include "HxClassName.h"
00014 #include "HxScalarInt.h"
00015 #include "HxCategories.h"
00016 
00017 
00020 template<class DstValT, class SrcValT>
00021 struct HxBpoInfAssign
00022 {
00024     typedef HxTagTransInVar TransVarianceCategory;
00025 
00026     typedef DstValT ArithType;
00027 
00029                     HxBpoInfAssign(HxTagList&)
00030                         {}
00031 
00033     void            doIt(DstValT& x, const SrcValT& y)
00034                         { x.infAssign(y); }
00035 
00036     static DstValT  neutralElement()
00037                         { return DstValT::LARGE_VAL; }
00038 
00040     static HxString className()
00041                         { return HxString("infAssign"); }
00042 };
00043 
00044 #endif

Generated on Tue Feb 3 14:18:32 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001