diff options
author | Mike Buland <eichlan@xagasoft.com> | 2008-09-04 22:09:51 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2008-09-04 22:09:51 +0000 |
commit | 5dbc8f155b16759b4ebb82aceb3759c686489e3b (patch) | |
tree | 01b7a1fa8b79614614508d335daa1f3116dd15a1 /src/fstring.h | |
parent | 0047991313fd7c67b45c59d58e3fde0236bf3872 (diff) | |
download | libbu++-5dbc8f155b16759b4ebb82aceb3759c686489e3b.tar.gz libbu++-5dbc8f155b16759b4ebb82aceb3759c686489e3b.tar.bz2 libbu++-5dbc8f155b16759b4ebb82aceb3759c686489e3b.tar.xz libbu++-5dbc8f155b16759b4ebb82aceb3759c686489e3b.zip |
XML is important, I guess...
Diffstat (limited to '')
-rw-r--r-- | src/fstring.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/fstring.h b/src/fstring.h index 8b22160..fb4bf55 100644 --- a/src/fstring.h +++ b/src/fstring.h | |||
@@ -187,7 +187,26 @@ namespace Bu | |||
187 | append( &cData, 1 ); | 187 | append( &cData, 1 ); |
188 | } | 188 | } |
189 | } | 189 | } |
190 | 190 | ||
191 | /** | ||
192 | * Append another FString to this one. | ||
193 | *@param sData (MyType &) The FString to append. | ||
194 | */ | ||
195 | void append( const MyType & sData ) | ||
196 | { | ||
197 | append( sData.getStr(), sData.getSize() ); | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * Append another FString to this one. | ||
202 | *@param sData (MyType &) The FString to append. | ||
203 | *@param nLen How much data to append. | ||
204 | */ | ||
205 | void append( const MyType & sData, long nLen ) | ||
206 | { | ||
207 | append( sData.getStr(), nLen ); | ||
208 | } | ||
209 | |||
191 | /** | 210 | /** |
192 | * Prepend another FString to this one. | 211 | * Prepend another FString to this one. |
193 | *@param sData (MyType &) The FString to prepend. | 212 | *@param sData (MyType &) The FString to prepend. |