TP fractalTP fractal..
[GPU.git] / WCudaMSE / BilatTools_CPP / src / core / tools / header / StringTools.h
1 #ifndef STRING_TOOLS_H_
2 #define STRING_TOOLS_H_
3
4 #include <string>
5
6 using std::string;
7
8 /*----------------------------------------------------------------------*\
9 |* Declaration *|
10 \*---------------------------------------------------------------------*/
11
12 class StringTools
13 {
14 public:
15
16 /*--------------------------------------*\
17 |* Constructor *|
18 \*-------------------------------------*/
19
20 StringTools();
21
22 /*--------------------------------------*\
23 |* Destructor *|
24 \*-------------------------------------*/
25
26 virtual ~StringTools();
27
28 /*--------------------------------------*\
29 |* Methodes *|
30 \*-------------------------------------*/
31
32 static string toString(int number);
33 static string toString(unsigned int number);
34 static string toString(long number);
35 static string toString(float number);
36 static string toString(double number);
37
38 private:
39
40 /*--------------------------------------*\
41 |* Methodes *|
42 \*-------------------------------------*/
43
44 /*--------------------------------------*\
45 |* Attributs *|
46 \*-------------------------------------*/
47
48 };
49
50 #endif
51