From a9e52e201f401860e394a87ec3634206aedc440b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 8 Sep 2015 19:44:43 +0000 Subject: Added a getType helper to the dictionary. This allows you to get the type of a child object without having to unpack it. --- c++-libbu++/src/dictionary.h | 1 + 1 file changed, 1 insertion(+) (limited to 'c++-libbu++/src/dictionary.h') 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 virtual ~Dictionary(); virtual Type getType() const { return typeDictionary; } + Type getType( const Bu::String &sKey ) const; virtual Object *clone() const; virtual void write( Bu::Stream &rOut ) const; virtual void read( Bu::Stream &rIn, char cType ); -- cgit v1.2.3