diff options
author | Mike Buland <eichlan@xagasoft.com> | 2015-09-08 19:44:43 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2015-09-08 19:44:43 +0000 |
commit | a9e52e201f401860e394a87ec3634206aedc440b (patch) | |
tree | 84ca8355004158e00f7097b2bdc2f1f754d8f2da /c++-libbu++/src/dictionary.h | |
parent | 86eb61d18b97230bb47f6651e44597cef7e4c24b (diff) | |
download | libgats-a9e52e201f401860e394a87ec3634206aedc440b.tar.gz libgats-a9e52e201f401860e394a87ec3634206aedc440b.tar.bz2 libgats-a9e52e201f401860e394a87ec3634206aedc440b.tar.xz libgats-a9e52e201f401860e394a87ec3634206aedc440b.zip |
Added a getType helper to the dictionary. This allows you to get the type of a
child object without having to unpack it.
Diffstat (limited to '')
-rw-r--r-- | c++-libbu++/src/dictionary.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c++-libbu++/src/dictionary.h b/c++-libbu++/src/dictionary.h index 9ea8a2e..d2cdec0 100644 --- a/c++-libbu++/src/dictionary.h +++ b/c++-libbu++/src/dictionary.h | |||
@@ -24,6 +24,7 @@ namespace Gats | |||
24 | virtual ~Dictionary(); | 24 | virtual ~Dictionary(); |
25 | 25 | ||
26 | virtual Type getType() const { return typeDictionary; } | 26 | virtual Type getType() const { return typeDictionary; } |
27 | Type getType( const Bu::String &sKey ) const; | ||
27 | virtual Object *clone() const; | 28 | virtual Object *clone() const; |
28 | virtual void write( Bu::Stream &rOut ) const; | 29 | virtual void write( Bu::Stream &rOut ) const; |
29 | virtual void read( Bu::Stream &rIn, char cType ); | 30 | virtual void read( Bu::Stream &rIn, char cType ); |