aboutsummaryrefslogtreecommitdiff
path: root/c++-libbu++/src/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++-libbu++/src/string.cpp')
-rw-r--r--c++-libbu++/src/string.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/c++-libbu++/src/string.cpp b/c++-libbu++/src/string.cpp
index f329f41..32018b8 100644
--- a/c++-libbu++/src/string.cpp
+++ b/c++-libbu++/src/string.cpp
@@ -65,6 +65,39 @@ void Gats::String::read( Bu::Stream &rIn, char cType )
65 rIn.read( getStr(), iSize ); 65 rIn.read( getStr(), iSize );
66} 66}
67 67
68Gats::String &Gats::String::operator=( const char *s )
69{
70 Bu::String::operator=( s );
71 return *this;
72}
73
74Gats::String &Gats::String::operator=( const Gats::String &s )
75{
76 Bu::String::operator=( s );
77 return *this;
78}
79
80Gats::String &Gats::String::operator=( const Bu::String &s )
81{
82 Bu::String::operator=( s );
83 return *this;
84}
85
86bool Gats::String::operator==( const char *s ) const
87{
88 return Bu::String::operator==( s );
89}
90
91bool Gats::String::operator==( const Gats::String &s ) const
92{
93 return Bu::String::operator==( s );
94}
95
96bool Gats::String::operator==( const Bu::String &s ) const
97{
98 return Bu::String::operator==( s );
99}
100
68Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s ) 101Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::String &s )
69{ 102{
70 for( Gats::String::const_iterator i = s.begin(); i; i++ ) 103 for( Gats::String::const_iterator i = s.begin(); i; i++ )