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

HxBpoSupAssign.h

00001 /*
00002  *  Copyright (c) 1999, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *  Edo Poll                (poll@wins.uva.nl)
00007  *  Marc Navarro            (mnavarro@wins.uva.nl)
00008  *  Dennis Koelma           (koelma@wins.uva.nl)
00009  */
00010 
00011 #ifndef HxBpoSupAssign_h
00012 #define HxBpoSupAssign_h
00013 
00014 #include "HxTagList.h"
00015 #include "HxClassName.h"
00016 #include "HxCategories.h"
00017 
00018 
00021 template<class DstValT, class SrcValT>
00022 struct HxBpoSupAssign
00023 {
00025     typedef HxTagTransInVar TransVarianceCategory;
00026 
00027     typedef DstValT ArithType;
00028 
00030                     HxBpoSupAssign(HxTagList&)
00031                         {}
00032 
00034     void            doIt(DstValT& x, const SrcValT& y)
00035                         { x.supAssign(y); }
00036 
00037     static DstValT  neutralElement()
00038                         { return DstValT::SMALL_VAL; }
00039 
00041     static HxString className()
00042                         { return HxString("supAssign"); }
00043 };
00044 
00045 #endif

Generated on Mon Jan 27 15:48:41 2003 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001