2 PROJECT: FlowerSoft C++ library
3 FILE : stringconversion.hh
7 #ifndef STRING_CONVERSION_HH
8 #define STRING_CONVERSION_HH
11 all conversions from/to String go in here.( some time, anyway )
12 The class is quite empty from data view.
14 class StringConversion
{
15 static int hex2bin_i( String hex_str
, String
& bin_str_r
);
16 static int hex2nibble_i( Byte by
);
17 static Byte
nibble2hex_by( Byte by
);
19 static String
bin2dec_str( String dec_str
);
20 static String
bin2hex_str( String bin_str
);
21 static String
dec2bin_str( String str
);
22 static int bin2int_i( String str
);
23 static int dec2int_i( String str
);
24 static int hex2int_i( String str
);
25 static String
hex2bin_str( String str
);
26 static String
int2hex_str( int i
, int length_i
, char ch
);
27 static String
int2dec_str( int i
, int length_i
, char ch
);
30 #endif // __STRING_CONVERSION_HH //