From f5aca1a1b402bd7ebc944dc6e6fe65828d863365 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 02:14:08 +0000 Subject: Bu::FString is now String, and there's a shell script to fix any other programs that were using fstring, I hope. --- src/formatter.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/formatter.h') diff --git a/src/formatter.h b/src/formatter.h index 7e0c54b..fb51c81 100644 --- a/src/formatter.h +++ b/src/formatter.h @@ -103,13 +103,13 @@ namespace Bu unsigned short bTokenize : 1; } Fmt; - void write( const Bu::FString &sStr ); + void write( const Bu::String &sStr ); void write( const void *sStr, int iLen ); - void writeAligned( const Bu::FString &sStr ); + void writeAligned( const Bu::String &sStr ); void writeAligned( const char *sStr, int iLen ); void read( void *sStr, int iLen ); - Bu::FString readToken(); + Bu::String readToken(); void incIndent(); void decIndent(); @@ -199,7 +199,7 @@ namespace Bu template void ffmt( type f ) { - Bu::FString fTmp; + Bu::String fTmp; fTmp.format("%f", f ); // writeAligned("**make floats work**"); writeAligned( fTmp ); @@ -207,7 +207,7 @@ namespace Bu } template - void iparse( type &i, const Bu::FString &sBuf ) + void iparse( type &i, const Bu::String &sBuf ) { if( !sBuf.isSet() ) return; @@ -233,7 +233,7 @@ namespace Bu } template - void uparse( type &i, const Bu::FString &sBuf ) + void uparse( type &i, const Bu::String &sBuf ) { if( !sBuf.isSet() ) return; @@ -257,7 +257,7 @@ namespace Bu } template - void fparse( type &f, const Bu::FString &sBuf ) + void fparse( type &f, const Bu::String &sBuf ) { sscanf( sBuf.getStr(), "%f", &f ); usedFormat(); @@ -288,7 +288,7 @@ namespace Bu Formatter &operator<<( Formatter &f, Formatter::Special s ); Formatter &operator<<( Formatter &f, const char *sStr ); Formatter &operator<<( Formatter &f, char *sStr ); - Formatter &operator<<( Formatter &f, const Bu::FString &sStr ); + Formatter &operator<<( Formatter &f, const Bu::String &sStr ); Formatter &operator<<( Formatter &f, signed char c ); Formatter &operator<<( Formatter &f, char c ); Formatter &operator<<( Formatter &f, unsigned char c ); @@ -305,7 +305,7 @@ namespace Bu Formatter &operator<<( Formatter &f, long double flt ); Formatter &operator<<( Formatter &f, bool b ); - Formatter &operator>>( Formatter &f, Bu::FString &sStr ); + Formatter &operator>>( Formatter &f, Bu::String &sStr ); Formatter &operator>>( Formatter &f, signed char &c ); Formatter &operator>>( Formatter &f, char &c ); Formatter &operator>>( Formatter &f, unsigned char &c ); -- cgit v1.2.3