diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:16:38 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:16:38 +0000 |
| commit | 7292af7c475c61920987ec498144a3fd1e90f1e8 (patch) | |
| tree | 4bc09eea26fb13915395642311f0617f1c0bff4e /src/dictionary.h | |
| parent | 4a6e25854a3b70c8d7a526a22a78760b97118669 (diff) | |
| download | libgats-7292af7c475c61920987ec498144a3fd1e90f1e8.tar.gz libgats-7292af7c475c61920987ec498144a3fd1e90f1e8.tar.bz2 libgats-7292af7c475c61920987ec498144a3fd1e90f1e8.tar.xz libgats-7292af7c475c61920987ec498144a3fd1e90f1e8.zip | |
Updated with new Bu::String.
Diffstat (limited to 'src/dictionary.h')
| -rw-r--r-- | src/dictionary.h | 56 |
1 files changed, 28 insertions, 28 deletions
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 | |||
| 20 | virtual void write( Bu::Stream &rOut ) const; | 20 | virtual void write( Bu::Stream &rOut ) const; |
| 21 | virtual void read( Bu::Stream &rIn, char cType ); | 21 | virtual void read( Bu::Stream &rIn, char cType ); |
| 22 | 22 | ||
| 23 | void insert( const Bu::FString &sKey, const char *s ); | 23 | void insert( const Bu::String &sKey, const char *s ); |
| 24 | void insert( const Bu::FString &sKey, const Bu::FString &s ); | 24 | void insert( const Bu::String &sKey, const Bu::String &s ); |
| 25 | void insert( const Bu::FString &sKey, char i ); | 25 | void insert( const Bu::String &sKey, char i ); |
| 26 | void insert( const Bu::FString &sKey, unsigned char i ); | 26 | void insert( const Bu::String &sKey, unsigned char i ); |
| 27 | void insert( const Bu::FString &sKey, signed char i ); | 27 | void insert( const Bu::String &sKey, signed char i ); |
| 28 | void insert( const Bu::FString &sKey, unsigned short i ); | 28 | void insert( const Bu::String &sKey, unsigned short i ); |
| 29 | void insert( const Bu::FString &sKey, signed short i ); | 29 | void insert( const Bu::String &sKey, signed short i ); |
| 30 | void insert( const Bu::FString &sKey, unsigned int i ); | 30 | void insert( const Bu::String &sKey, unsigned int i ); |
| 31 | void insert( const Bu::FString &sKey, signed int i ); | 31 | void insert( const Bu::String &sKey, signed int i ); |
| 32 | void insert( const Bu::FString &sKey, unsigned long i ); | 32 | void insert( const Bu::String &sKey, unsigned long i ); |
| 33 | void insert( const Bu::FString &sKey, signed long i ); | 33 | void insert( const Bu::String &sKey, signed long i ); |
| 34 | void insert( const Bu::FString &sKey, unsigned long long i ); | 34 | void insert( const Bu::String &sKey, unsigned long long i ); |
| 35 | void insert( const Bu::FString &sKey, signed long long i ); | 35 | void insert( const Bu::String &sKey, signed long long i ); |
| 36 | //void insert( const Bu::FString &sKey, bool b ); | 36 | //void insert( const Bu::String &sKey, bool b ); |
| 37 | void insert( const Bu::FString &sKey, float d ); | 37 | void insert( const Bu::String &sKey, float d ); |
| 38 | void insert( const Bu::FString &sKey, double d ); | 38 | void insert( const Bu::String &sKey, double d ); |
| 39 | using Bu::Hash<Gats::String, Gats::Object *>::insert; | 39 | using Bu::Hash<Gats::String, Gats::Object *>::insert; |
| 40 | 40 | ||
| 41 | bool getBool( const Bu::FString &sKey ); | 41 | bool getBool( const Bu::String &sKey ); |
| 42 | int64_t getInt( const Bu::FString &sKey ); | 42 | int64_t getInt( const Bu::String &sKey ); |
| 43 | double getFloat( const Bu::FString &sKey ); | 43 | double getFloat( const Bu::String &sKey ); |
| 44 | Bu::FString getStr( const Bu::FString &sKey ); | 44 | Bu::String getStr( const Bu::String &sKey ); |
| 45 | Gats::List *getList( const Bu::FString &sKey ); | 45 | Gats::List *getList( const Bu::String &sKey ); |
| 46 | Gats::Dictionary *getDict( const Bu::FString &sKey ); | 46 | Gats::Dictionary *getDict( const Bu::String &sKey ); |
| 47 | 47 | ||
| 48 | bool getBool( const Bu::FString &sKey ) const; | 48 | bool getBool( const Bu::String &sKey ) const; |
| 49 | int64_t getInt( const Bu::FString &sKey ) const; | 49 | int64_t getInt( const Bu::String &sKey ) const; |
| 50 | double getFloat( const Bu::FString &sKey ) const; | 50 | double getFloat( const Bu::String &sKey ) const; |
| 51 | Bu::FString getStr( const Bu::FString &sKey ) const; | 51 | Bu::String getStr( const Bu::String &sKey ) const; |
| 52 | Gats::List *getList( const Bu::FString &sKey ) const; | 52 | Gats::List *getList( const Bu::String &sKey ) const; |
| 53 | Gats::Dictionary *getDict( const Bu::FString &sKey ) const; | 53 | Gats::Dictionary *getDict( const Bu::String &sKey ) const; |
| 54 | }; | 54 | }; |
| 55 | }; | 55 | }; |
| 56 | 56 | ||
