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

HxGeoIntType.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 1998, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *
00006  *  Author(s):
00007  *  Dennis Koelma (koelma@wins.uva.nl)
00008  *  Edo Poll (poll@wins.uva.nl)
00009  */
00010 
00013 #ifndef HxGeoIntType_h
00014 #define HxGeoIntType_h
00015 
00016 #include "HxIoFwd.h"
00017 #include "HxString.h"
00018 
00019 
00023 enum HxGeoIntType { NEAREST, LINEAR };
00024 
00025 extern L_HXBASIS STD_OSTREAM&
00026 HxGeoIntType_put(STD_OSTREAM& os, HxGeoIntType val);
00027 
00028 inline STD_OSTREAM&
00029 operator<<(STD_OSTREAM& os, HxGeoIntType val)
00030 {
00031     return HxGeoIntType_put(os, val);
00032 }
00033 
00034 inline HxString
00035 makeString(HxGeoIntType val) {
00036     return val == NEAREST ? HxString("NEAREST") : HxString("LINEAR");
00037 }
00038 
00039 #endif

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