From 19223f8527ef1c0d36cf8b40b9f8d093ea702ca5 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 5 Jun 2017 07:39:05 -0700 Subject: Added better null helpers to libbu++/php --- c++-libbu++/src/dictionary.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'c++-libbu++/src/dictionary.h') diff --git a/c++-libbu++/src/dictionary.h b/c++-libbu++/src/dictionary.h index d2cdec0..84cf69f 100644 --- a/c++-libbu++/src/dictionary.h +++ b/c++-libbu++/src/dictionary.h @@ -54,7 +54,9 @@ namespace Gats void insertDict( const Bu::String &sKey, Gats::Dictionary *pD ); Gats::List *insertList( const Bu::String &sKey ); Gats::Dictionary *insertDict( const Bu::String &sKey ); + void insertNull( const Bu::String &sKey ); + bool isNull( const Bu::String &sKey ); bool getBool( const Bu::String &sKey ); int64_t getInt( const Bu::String &sKey ); double getFloat( const Bu::String &sKey ); @@ -62,6 +64,7 @@ namespace Gats Gats::List *getList( const Bu::String &sKey ); Gats::Dictionary *getDict( const Bu::String &sKey ); + bool isNull( const Bu::String &sKey ) const; bool getBool( const Bu::String &sKey ) const; int64_t getInt( const Bu::String &sKey ) const; double getFloat( const Bu::String &sKey ) const; -- cgit v1.2.3