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

HxStringNative.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 HxStringNative_h
00014 #define HxStringNative_h
00015 
00016 #include <string>
00017 
00018 
00020 typedef std::string HxString;
00021 
00022 inline const char* ClassName(HxString) { return "HxString"; }
00023 
00024 inline int atoi(const HxString& s);
00025 inline long atol(const HxString& s);
00026 inline double atof(const HxString& s);
00027 
00028 extern L_HXBASIS HxString makeString(int);
00029 extern L_HXBASIS HxString makeString(double);
00030 inline HxString makeString(const HxString& s) { return s; }
00031 
00033 inline int atoi(const HxString& s)  { return atoi(s.c_str()); }
00035 inline long atol(const HxString& s)  { return atol(s.c_str()); }
00037 inline double atof(const HxString& s)  { return atof(s.c_str()); }
00038 
00039 
00040 #endif

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