cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DictionaryHelper Class Reference

#include <DictionaryHelper.h>

Public Member Functions

 DictionaryHelper ()
 ~DictionaryHelper ()
cocos2d::DictionarygetSubDictionary (cocos2d::Dictionary *root, const char *key)
local getSubDictionary ( local root, local key)
int getIntValue (cocos2d::Dictionary *root, const char *key)
float getFloatValue (cocos2d::Dictionary *root, const char *key)
var getFloatValue ( var root, var key)
local getFloatValue ( local root, local key)
const char * getStringValue (cocos2d::Dictionary *root, const char *key)
bool getBooleanValue (cocos2d::Dictionary *root, const char *key)
cocos2d::ArraygetArrayValue (cocos2d::Dictionary *root, const char *key)
cocos2d::ObjectcheckObjectExist (cocos2d::Dictionary *root, const char *key)
local checkObjectExist ( local root, local key)
int objectToIntValue (cocos2d::Object *obj)
float objectToFloatValue (cocos2d::Object *obj)
var objectToFloatValue ( var obj)
local objectToFloatValue ( local obj)
const char * objectToStringValue (cocos2d::Object *obj)
var objectToStringValue ( var obj)
local objectToStringValue ( local obj)
bool objectToBooleanValue (cocos2d::Object *obj)
var objectToBooleanValue ( var obj)
local objectToBooleanValue ( local obj)
cocos2d::ArrayobjectToCCArray (cocos2d::Object *obj)
var objectToCCArray ( var obj)
local objectToCCArray ( local obj)
cs::JsonDictionarygetSubDictionary_json (cs::JsonDictionary *root, const char *key)
var getSubDictionary_json ( var root, var key)
local getSubDictionary_json ( local root, local key)
int getIntValue_json (cs::JsonDictionary *root, const char *key)
float getFloatValue_json (cs::JsonDictionary *root, const char *key)
var getFloatValue_json ( var root, var key)
local getFloatValue_json ( local root, local key)
const char * getStringValue_json (cs::JsonDictionary *root, const char *key)
bool getBooleanValue_json (cs::JsonDictionary *root, const char *key)
int getArrayCount_json (cs::JsonDictionary *root, const char *key)
var getArrayCount_json ( var root, var key)
local getArrayCount_json ( local root, local key)
int getIntValueFromArray_json (cs::JsonDictionary *root, const char *arrayKey, int idx)
float getFloatValueFromArray_json (cs::JsonDictionary *root, const char *arrayKey, int idx)
bool getBoolValueFromArray_json (cs::JsonDictionary *root, const char *arrayKey, int idx)
const char * getStringValueFromArray_json (cs::JsonDictionary *root, const char *arrayKey, int idx)
cs::JsonDictionarygetDictionaryFromArray_json (cs::JsonDictionary *root, const char *arrayKey, int idx)
local getDictionaryFromArray_json ( local root, local arrayKey, local idx)
bool checkObjectExist_json (cs::JsonDictionary *root, const char *key)

Static Public Member Functions

static DictionaryHelpershareHelper ()
var shareHelper ()
local shareHelper ()
static void purgeDictionaryHelper ()

Constructor & Destructor Documentation

local DictionaryHelper ( )
var ~DictionaryHelper ( )
local ~DictionaryHelper ( )

Member Function Documentation

cocos2d::Object* checkObjectExist ( cocos2d::Dictionary root,
const char *  key 
)
var checkObjectExist ( var  root,
var  key 
)
local checkObjectExist ( local  root,
local  key 
)
bool checkObjectExist_json ( cs::JsonDictionary root,
const char *  key 
)
var checkObjectExist_json ( var  root,
var  key 
)
local checkObjectExist_json ( local  root,
local  key 
)
int getArrayCount_json ( cs::JsonDictionary root,
const char *  key 
)
var getArrayCount_json ( var  root,
var  key 
)
local getArrayCount_json ( local  root,
local  key 
)
cocos2d::Array* getArrayValue ( cocos2d::Dictionary root,
const char *  key 
)
var getArrayValue ( var  root,
var  key 
)
local getArrayValue ( local  root,
local  key 
)
bool getBooleanValue ( cocos2d::Dictionary root,
const char *  key 
)
var getBooleanValue ( var  root,
var  key 
)
local getBooleanValue ( local  root,
local  key 
)
bool getBooleanValue_json ( cs::JsonDictionary root,
const char *  key 
)
var getBooleanValue_json ( var  root,
var  key 
)
local getBooleanValue_json ( local  root,
local  key 
)
bool getBoolValueFromArray_json ( cs::JsonDictionary root,
const char *  arrayKey,
int  idx 
)
var getBoolValueFromArray_json ( var  root,
var  arrayKey,
var  idx 
)
local getBoolValueFromArray_json ( local  root,
local  arrayKey,
local  idx 
)
cs::JsonDictionary*
getDictionaryFromArray_json
( cs::JsonDictionary root,
const char *  arrayKey,
int  idx 
)
var getDictionaryFromArray_json ( var  root,
var  arrayKey,
var  idx 
)
local getDictionaryFromArray_json ( local  root,
local  arrayKey,
local  idx 
)
float getFloatValue ( cocos2d::Dictionary root,
const char *  key 
)
var getFloatValue ( var  root,
var  key 
)
local getFloatValue ( local  root,
local  key 
)
float getFloatValue_json ( cs::JsonDictionary root,
const char *  key 
)
var getFloatValue_json ( var  root,
var  key 
)
local getFloatValue_json ( local  root,
local  key 
)
float getFloatValueFromArray_json ( cs::JsonDictionary root,
const char *  arrayKey,
int  idx 
)
var getFloatValueFromArray_json ( var  root,
var  arrayKey,
var  idx 
)
local getFloatValueFromArray_json ( local  root,
local  arrayKey,
local  idx 
)
int getIntValue ( cocos2d::Dictionary root,
const char *  key 
)
var getIntValue ( var  root,
var  key 
)
local getIntValue ( local  root,
local  key 
)
int getIntValue_json ( cs::JsonDictionary root,
const char *  key 
)
var getIntValue_json ( var  root,
var  key 
)
local getIntValue_json ( local  root,
local  key 
)
int getIntValueFromArray_json ( cs::JsonDictionary root,
const char *  arrayKey,
int  idx 
)
var getIntValueFromArray_json ( var  root,
var  arrayKey,
var  idx 
)
local getIntValueFromArray_json ( local  root,
local  arrayKey,
local  idx 
)
const char* getStringValue ( cocos2d::Dictionary root,
const char *  key 
)
var getStringValue ( var  root,
var  key 
)
local getStringValue ( local  root,
local  key 
)
const char* getStringValue_json ( cs::JsonDictionary root,
const char *  key 
)
var getStringValue_json ( var  root,
var  key 
)
local getStringValue_json ( local  root,
local  key 
)
const char*
getStringValueFromArray_json
( cs::JsonDictionary root,
const char *  arrayKey,
int  idx 
)
var getStringValueFromArray_json ( var  root,
var  arrayKey,
var  idx 
)
local getStringValueFromArray_json ( local  root,
local  arrayKey,
local  idx 
)
cocos2d::Dictionary*
getSubDictionary
( cocos2d::Dictionary root,
const char *  key 
)
var getSubDictionary ( var  root,
var  key 
)
local getSubDictionary ( local  root,
local  key 
)
cs::JsonDictionary*
getSubDictionary_json
( cs::JsonDictionary root,
const char *  key 
)
var getSubDictionary_json ( var  root,
var  key 
)
local getSubDictionary_json ( local  root,
local  key 
)
bool objectToBooleanValue ( cocos2d::Object obj)
var objectToBooleanValue ( var  obj)
local objectToBooleanValue ( local  obj)
cocos2d::Array* objectToCCArray ( cocos2d::Object obj)
var objectToCCArray ( var  obj)
local objectToCCArray ( local  obj)
float objectToFloatValue ( cocos2d::Object obj)
var objectToFloatValue ( var  obj)
local objectToFloatValue ( local  obj)
int objectToIntValue ( cocos2d::Object obj)
var objectToIntValue ( var  obj)
local objectToIntValue ( local  obj)
const char* objectToStringValue ( cocos2d::Object obj)
var objectToStringValue ( var  obj)
local objectToStringValue ( local  obj)
static void purgeDictionaryHelper ( )
static
var purgeDictionaryHelper ( )
static
local purgeDictionaryHelper ( )
static
static DictionaryHelper*
shareHelper
( )
static
var shareHelper ( )
static
local shareHelper ( )
static

The documentation for this class was generated from the following file: