]> git.donarmstrong.com Git - lilypond.git/blob - flower/stringconversion.hh
release: 0.0.34
[lilypond.git] / flower / stringconversion.hh
1 /*
2   PROJECT: FlowerSoft C++ library
3   FILE   : stringconversion.hh
4
5 */
6
7 #ifndef STRING_CONVERSION_HH
8 #define STRING_CONVERSION_HH
9
10 /**
11   all conversions from/to String go in here.( some time, anyway )
12   The class is quite empty from data view.
13   */
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 );
18 public:
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 dec2int_i( String str );
23         static int hex2int_i( String str );
24         static String hex2bin_str( String str );
25         static String int2hex_str( int i, int length_i, char ch );
26         static String int2dec_str( int i, int length_i, char ch );
27 };
28
29 #endif // __STRING_CONVERSION_HH //