diff options
Diffstat (limited to '')
-rw-r--r-- | src/string.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/string.h b/src/string.h new file mode 100644 index 0000000..5343ba8 --- /dev/null +++ b/src/string.h | |||
@@ -0,0 +1,26 @@ | |||
1 | #ifndef GATS_STRING_H | ||
2 | #define GATS_STRING_H | ||
3 | |||
4 | #include "gats/object.h" | ||
5 | #include <bu/fstring.h> | ||
6 | |||
7 | namespace Gats | ||
8 | { | ||
9 | class String : public Gats::Object, public Bu::FString | ||
10 | { | ||
11 | public: | ||
12 | String(); | ||
13 | String( const String &s ); | ||
14 | String( const Bu::FString &s ); | ||
15 | virtual ~String(); | ||
16 | |||
17 | virtual Type getType() const { return typeString; } | ||
18 | |||
19 | virtual void write( Bu::Stream &rOut ) const; | ||
20 | virtual void read( Bu::Stream &rIn, char cType ); | ||
21 | |||
22 | private: | ||
23 | }; | ||
24 | }; | ||
25 | |||
26 | #endif | ||