aboutsummaryrefslogtreecommitdiff
path: root/src/dictionary.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-03-08 21:03:43 +0000
committerMike Buland <eichlan@xagasoft.com>2011-03-08 21:03:43 +0000
commit744fe4ecbcf613ee637d00e8808f69668eac6bb2 (patch)
treea35e424f73a099d5cfc342623f56a7b2de41f02d /src/dictionary.h
parentcd210c95a5a429293aa5c88965d3526116ba8723 (diff)
downloadlibgats-744fe4ecbcf613ee637d00e8808f69668eac6bb2.tar.gz
libgats-744fe4ecbcf613ee637d00e8808f69668eac6bb2.tar.bz2
libgats-744fe4ecbcf613ee637d00e8808f69668eac6bb2.tar.xz
libgats-744fe4ecbcf613ee637d00e8808f69668eac6bb2.zip
Added a whole load of new, cool helpers for working with dictionaries and lists.
Diffstat (limited to 'src/dictionary.h')
-rw-r--r--src/dictionary.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dictionary.h b/src/dictionary.h
index d421720..cde51be 100644
--- a/src/dictionary.h
+++ b/src/dictionary.h
@@ -37,6 +37,14 @@ namespace Gats
37 void insert( const Bu::String &sKey, float d ); 37 void insert( const Bu::String &sKey, float d );
38 void insert( const Bu::String &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 void insertBool( const Bu::String &sKey, bool b );
41 void insertInt( const Bu::String &sKey, int64_t i );
42 void insertFloat( const Bu::String &sKey, double d );
43 void insertStr( const Bu::String &sKey, const Bu::String &s );
44 void insertList( const Bu::String &sKey, Gats::List *pL );
45 void insertDict( const Bu::String &sKey, Gats::Dictionary *pD );
46 Gats::List *insertList( const Bu::String &sKey );
47 Gats::Dictionary *insertDict( const Bu::String &sKey );
40 48
41 bool getBool( const Bu::String &sKey ); 49 bool getBool( const Bu::String &sKey );
42 int64_t getInt( const Bu::String &sKey ); 50 int64_t getInt( const Bu::String &sKey );