Conversion.h

Go to the documentation of this file.
00001 /*
00002  * $Id: Conversion.h 562 2007-12-02 08:04:16Z mindstorm2600 $
00003  *
00004  * X-VR2 
00005  * 
00006  * Copyright (C) Juan V. Guerrero 2007
00007  * 
00008  * Juan V. Guerrero <mindstorm2600@users.sourceforge.net>
00009  * 
00010  * This program is free software, distributed under the terms of
00011  * the GNU General Public License Version 2. See the LICENSE file
00012  * at the top of the source tree.
00013  */
00014 #ifndef __XVR2_CONVERSION_H__
00015 #define __XVR2_CONVERSION_H__
00016 #include<xvr2/xvr2config.h>
00017 #include<xvr2/Object.h>
00018 #include<xvr2/CoreExceptions.h>
00019 
00020 namespace xvr2 {
00021 
00022         //String to numeric conversions
00023         class String;
00025         const Int32 String2Int32(const String &s, int base = 10);
00027         const Int64 String2Int64(const String &s, int base = 10);
00029         const UInt32 String2UInt32(const String &s, int base = 10);
00031         const UInt64 String2UInt64(const String &s, int base = 10);
00033         const float String2float(const String &s);
00035         const double String2double(const String &s);
00037         const long double String2longdouble(const String &s);
00038 
00039         //Numeric to string conversions
00040 }
00041 
00042 #endif

Generated on Fri Jun 20 22:55:47 2008 for X-VR2 SDK by  doxygen 1.5.5