Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4680 | right-hear | 1 | #ifndef __MGTK_STRING_H |
2 | #define __MGTK_STRING_H |
||
3 | |||
4 | class GString |
||
5 | { |
||
6 | public: |
||
7 | GString(char *); |
||
8 | GString(const char *); |
||
9 | GString(GString&); |
||
10 | ~GString(); |
||
11 | int Length(); |
||
12 | char * operator = (GString&); |
||
13 | GString& operator = (char *); |
||
14 | void Truncate(int AtPos); |
||
15 | private: |
||
16 | char * __str; |
||
17 | int __len; |
||
18 | }; |
||
19 | |||
20 | #endif |