My Project
|
00001 /* 00002 $Id: StringTools.hh 1903 2008-03-22 04:32:09Z jisuzuki $ 00003 */ 00004 00005 00006 #include "Header.hh" 00007 00008 #ifndef STRINGTOOLS 00009 #define STRINGTOOLS 00010 00012 00016 class StringTools 00017 { 00018 public: 00019 StringTools(){} 00021 ~StringTools(){} 00024 vector<string> SplitString( string s ); 00030 Double StringToDouble( string s ); 00033 Float StringToFloat( string s ); 00036 Int4 StringToInt4( string s ); 00039 UInt4 StringToUInt4( string s ); 00043 string DoubleToString( Double d ); 00045 string FloatToString( Float f ); 00047 string Int4ToString( Int4 i ); 00049 string UInt4ToString( UInt4 i ); 00052 string VecUInt4ToString( vector<UInt4> v ); 00053 string VecInt4ToString( vector<Int4> v ); 00054 string VecStringToString( vector<string> v ); 00055 string VecDoubleToString( vector<Double> v ); 00056 00057 00058 }; 00059 00060 #endif