aboutsummaryrefslogtreecommitdiff
path: root/src/dictionary.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-09-27 14:47:21 +0000
committerMike Buland <eichlan@xagasoft.com>2010-09-27 14:47:21 +0000
commitd14a4c34d01102baa830c6762ef80b0dc6db6389 (patch)
treef7a7e6c1b0df80d30c0c1e6552353b622200a28c /src/dictionary.h
parent7bced34486b3151aeac04dd1657af955565e2322 (diff)
downloadlibgats-d14a4c34d01102baa830c6762ef80b0dc6db6389.tar.gz
libgats-d14a4c34d01102baa830c6762ef80b0dc6db6389.tar.bz2
libgats-d14a4c34d01102baa830c6762ef80b0dc6db6389.tar.xz
libgats-d14a4c34d01102baa830c6762ef80b0dc6db6389.zip
Damn boolean overloads, always getting in the way...
Diffstat (limited to 'src/dictionary.h')
-rw-r--r--src/dictionary.h9
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