From 7292af7c475c61920987ec498144a3fd1e90f1e8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 18:16:38 +0000 Subject: Updated with new Bu::String. --- src/dictionary.h | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'src/dictionary.h') diff --git a/src/dictionary.h b/src/dictionary.h index 1197a19..d421720 100644 --- a/src/dictionary.h +++ b/src/dictionary.h @@ -20,37 +20,37 @@ namespace Gats virtual void write( Bu::Stream &rOut ) const; virtual void read( Bu::Stream &rIn, char cType ); - void insert( const Bu::FString &sKey, const char *s ); - void insert( const Bu::FString &sKey, const Bu::FString &s ); - void insert( const Bu::FString &sKey, char i ); - void insert( const Bu::FString &sKey, unsigned char i ); - void insert( const Bu::FString &sKey, signed char i ); - void insert( const Bu::FString &sKey, unsigned short i ); - void insert( const Bu::FString &sKey, signed short i ); - void insert( const Bu::FString &sKey, unsigned int i ); - void insert( const Bu::FString &sKey, signed int i ); - void insert( const Bu::FString &sKey, unsigned long i ); - void insert( const Bu::FString &sKey, signed long i ); - void insert( const Bu::FString &sKey, unsigned long long i ); - void insert( const Bu::FString &sKey, signed long long i ); - //void insert( const Bu::FString &sKey, bool b ); - void insert( const Bu::FString &sKey, float d ); - void insert( const Bu::FString &sKey, double d ); + void insert( const Bu::String &sKey, const char *s ); + void insert( const Bu::String &sKey, const Bu::String &s ); + void insert( const Bu::String &sKey, char i ); + void insert( const Bu::String &sKey, unsigned char i ); + void insert( const Bu::String &sKey, signed char i ); + void insert( const Bu::String &sKey, unsigned short i ); + void insert( const Bu::String &sKey, signed short i ); + void insert( const Bu::String &sKey, unsigned int i ); + void insert( const Bu::String &sKey, signed int i ); + void insert( const Bu::String &sKey, unsigned long i ); + void insert( const Bu::String &sKey, signed long i ); + void insert( const Bu::String &sKey, unsigned long long i ); + void insert( const Bu::String &sKey, signed long long i ); + //void insert( const Bu::String &sKey, bool b ); + void insert( const Bu::String &sKey, float d ); + void insert( const Bu::String &sKey, double d ); using Bu::Hash::insert; - bool getBool( const Bu::FString &sKey ); - int64_t getInt( const Bu::FString &sKey ); - double getFloat( const Bu::FString &sKey ); - Bu::FString getStr( const Bu::FString &sKey ); - Gats::List *getList( const Bu::FString &sKey ); - Gats::Dictionary *getDict( const Bu::FString &sKey ); + bool getBool( const Bu::String &sKey ); + int64_t getInt( const Bu::String &sKey ); + double getFloat( const Bu::String &sKey ); + Bu::String getStr( const Bu::String &sKey ); + Gats::List *getList( const Bu::String &sKey ); + Gats::Dictionary *getDict( const Bu::String &sKey ); - bool getBool( const Bu::FString &sKey ) const; - int64_t getInt( const Bu::FString &sKey ) const; - double getFloat( const Bu::FString &sKey ) const; - Bu::FString getStr( const Bu::FString &sKey ) const; - Gats::List *getList( const Bu::FString &sKey ) const; - Gats::Dictionary *getDict( const Bu::FString &sKey ) const; + bool getBool( const Bu::String &sKey ) const; + int64_t getInt( const Bu::String &sKey ) const; + double getFloat( const Bu::String &sKey ) const; + Bu::String getStr( const Bu::String &sKey ) const; + Gats::List *getList( const Bu::String &sKey ) const; + Gats::Dictionary *getDict( const Bu::String &sKey ) const; }; }; -- cgit v1.2.3