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.h45
1 files changed, 26 insertions, 19 deletions
diff --git a/c++-libbu++/src/string.h b/c++-libbu++/src/string.h
index de8eedd..0d17a3e 100644
--- a/c++-libbu++/src/string.h
+++ b/c++-libbu++/src/string.h
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libgats library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#ifndef GATS_STRING_H 8#ifndef GATS_STRING_H
2#define GATS_STRING_H 9#define GATS_STRING_H
3 10
@@ -6,25 +13,25 @@
6 13
7namespace Gats 14namespace Gats
8{ 15{
9 class String : public Gats::Object, public Bu::String 16 class String : public Gats::Object, public Bu::String
10 { 17 {
11 public: 18 public:
12 String(); 19 String();
13 String( const char *s ); 20 String( const char *s );
14 String( const char *s, long iLength ); 21 String( const char *s, long iLength );
15 String( long iLength ); 22 String( long iLength );
16 String( const String &s ); 23 String( const String &s );
17 String( const Bu::String &s ); 24 String( const Bu::String &s );
18 virtual ~String(); 25 virtual ~String();
19 26
20 virtual Object *clone() const; 27 virtual Object *clone() const;
21 virtual Type getType() const { return typeString; } 28 virtual Type getType() const { return typeString; }
22 29
23 virtual void write( Bu::Stream &rOut ) const; 30 virtual void write( Bu::Stream &rOut ) const;
24 virtual void read( Bu::Stream &rIn, char cType ); 31 virtual void read( Bu::Stream &rIn, char cType );
25 32
26 private: 33 private:
27 }; 34 };
28}; 35};
29 36
30Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s ); 37Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s );