aboutsummaryrefslogtreecommitdiff
path: root/c++-libbu++/src/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++-libbu++/src/string.h')
-rw-r--r--c++-libbu++/src/string.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/c++-libbu++/src/string.h b/c++-libbu++/src/string.h
new file mode 100644
index 0000000..de8eedd
--- /dev/null
+++ b/c++-libbu++/src/string.h
@@ -0,0 +1,32 @@
1#ifndef GATS_STRING_H
2#define GATS_STRING_H
3
4#include "gats/object.h"
5#include <bu/string.h>
6
7namespace Gats
8{
9 class String : public Gats::Object, public Bu::String
10 {
11 public:
12 String();
13 String( const char *s );
14 String( const char *s, long iLength );
15 String( long iLength );
16 String( const String &s );
17 String( const Bu::String &s );
18 virtual ~String();
19
20 virtual Object *clone() const;
21 virtual Type getType() const { return typeString; }
22
23 virtual void write( Bu::Stream &rOut ) const;
24 virtual void read( Bu::Stream &rIn, char cType );
25
26 private:
27 };
28};
29
30Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s );
31
32#endif