diff options
Diffstat (limited to 'src/fstring.h')
-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. |