diff options
Diffstat (limited to 'src/dictionary.h')
| -rw-r--r-- | src/dictionary.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dictionary.h b/src/dictionary.h index 39248d2..c9bf1cb 100644 --- a/src/dictionary.h +++ b/src/dictionary.h | |||
| @@ -24,7 +24,7 @@ namespace Gats | |||
| 24 | void insert( const Bu::FString &sKey, const Bu::FString &s ); | 24 | void insert( const Bu::FString &sKey, const Bu::FString &s ); |
| 25 | void insert( const Bu::FString &sKey, int32_t i ); | 25 | void insert( const Bu::FString &sKey, int32_t i ); |
| 26 | void insert( const Bu::FString &sKey, int64_t i ); | 26 | void insert( const Bu::FString &sKey, int64_t i ); |
| 27 | void insert( const Bu::FString &sKey, bool b ); | 27 | //void insert( const Bu::FString &sKey, bool b ); |
| 28 | void insert( const Bu::FString &sKey, double d ); | 28 | void insert( const Bu::FString &sKey, double d ); |
| 29 | using Bu::Hash<Gats::String, Gats::Object *>::insert; | 29 | using Bu::Hash<Gats::String, Gats::Object *>::insert; |
| 30 | 30 | ||
| @@ -34,6 +34,13 @@ namespace Gats | |||
| 34 | Bu::FString getStr( const Bu::FString &sKey ); | 34 | Bu::FString getStr( const Bu::FString &sKey ); |
| 35 | Gats::List *getList( const Bu::FString &sKey ); | 35 | Gats::List *getList( const Bu::FString &sKey ); |
| 36 | Gats::Dictionary *getDict( const Bu::FString &sKey ); | 36 | Gats::Dictionary *getDict( const Bu::FString &sKey ); |
| 37 | |||
| 38 | bool getBool( const Bu::FString &sKey ) const; | ||
| 39 | int64_t getInt( const Bu::FString &sKey ) const; | ||
| 40 | double getFloat( const Bu::FString &sKey ) const; | ||
| 41 | Bu::FString getStr( const Bu::FString &sKey ) const; | ||
| 42 | Gats::List *getList( const Bu::FString &sKey ) const; | ||
| 43 | Gats::Dictionary *getDict( const Bu::FString &sKey ) const; | ||
| 37 | }; | 44 | }; |
| 38 | }; | 45 | }; |
| 39 | 46 | ||
