/[cvs]/api/Classes/String/Parse.h
ViewVC logotype

Annotation of /api/Classes/String/Parse.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sun Jul 1 20:47:58 2001 UTC (23 years ago) by bearsoft
Branch point for: lazy, MAIN
File MIME type: text/plain
Initial revision

1 bearsoft 1.1 #ifndef __Parse_H__
2     #define __Parse_H__
3    
4     class Parse
5     {
6    
7     public:
8     Parse();
9     ~Parse();
10    
11     float stringToFloat(char *string);
12     int stringToInt(char *string);
13     char* intToString(int integer, int *length);
14     char* intToString(int integer, int *length, bool decimalStatement);
15     char* floatToString(float source, int *length);
16    
17     private:
18     char* floatToStringDecimal(float source, int *length);
19     char *addIntToDecimal(char *source, int *sourceLength, char *dest, int *destLength, int *totalLength);
20     };
21    
22    
23     #endif

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26