#include <DictionaryHelper.h>
|
| DictionaryHelper () |
| ~DictionaryHelper () |
const rapidjson::Value & | getSubDictionary_json (const rapidjson::Value &root, const char *key) |
const rapidjson::Value & | getSubDictionary_json (const rapidjson::Value &root, const char *key, int idx) |
const rapidjson::Value & | getSubDictionary_json (const rapidjson::Value &root, int idx) |
int | getIntValue_json (const rapidjson::Value &root, const char *key, int def=0) |
float | getFloatValue_json (const rapidjson::Value &root, const char *key, float def=0.0f) |
bool | getBooleanValue_json (const rapidjson::Value &root, const char *key, bool def=false) |
const char * | getStringValue_json (const rapidjson::Value &root, const char *key, const char *def=NULL) |
int | getArrayCount_json (const rapidjson::Value &root, const char *key, int def=0) |
int | getIntValueFromArray_json (const rapidjson::Value &root, const char *arrayKey, int idx, int def=0) |
float | getFloatValueFromArray_json (const rapidjson::Value &root, const char *arrayKey, int idx, float def=0.0f) |
bool | getBoolValueFromArray_json (const rapidjson::Value &root, const char *arrayKey, int idx, bool def=false) |
const char * | getStringValueFromArray_json (const rapidjson::Value &root, const char *arrayKey, int idx, const char *def=NULL) |
const rapidjson::Value & | getDictionaryFromArray_json (const rapidjson::Value &root, const char *key, int idx) |
bool | checkObjectExist_json (const rapidjson::Value &root) |
bool | checkObjectExist_json (const rapidjson::Value &root, const char *key) |
bool | checkObjectExist_json (const rapidjson::Value &root, int index) |
bool checkObjectExist_json |
( |
const rapidjson::Value & |
root) | |
|
bool checkObjectExist_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
key |
|
) |
| |
bool checkObjectExist_json |
( |
const rapidjson::Value & |
root, |
|
|
int |
index |
|
) |
| |
static void destroyInstance |
( |
) | |
|
|
static |
int getArrayCount_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
key, |
|
|
int |
def = 0 |
|
) |
| |
bool getBooleanValue_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
key, |
|
|
bool |
def = false |
|
) |
| |
bool getBoolValueFromArray_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
arrayKey, |
|
|
int |
idx, |
|
|
bool |
def = false |
|
) |
| |
const rapidjson::Value&
getDictionaryFromArray_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
key, |
|
|
int |
idx |
|
) |
| |
float getFloatValue_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
key, |
|
|
float |
def = 0.0f |
|
) |
| |
float getFloatValueFromArray_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
arrayKey, |
|
|
int |
idx, |
|
|
float |
def = 0.0f |
|
) |
| |
int getIntValue_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
key, |
|
|
int |
def = 0 |
|
) |
| |
int getIntValueFromArray_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
arrayKey, |
|
|
int |
idx, |
|
|
int |
def = 0 |
|
) |
| |
const char* getStringValue_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
key, |
|
|
const char * |
def = NULL |
|
) |
| |
const char*
getStringValueFromArray_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
arrayKey, |
|
|
int |
idx, |
|
|
const char * |
def = NULL |
|
) |
| |
const rapidjson::Value&
getSubDictionary_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
key |
|
) |
| |
const rapidjson::Value&
getSubDictionary_json |
( |
const rapidjson::Value & |
root, |
|
|
const char * |
key, |
|
|
int |
idx |
|
) |
| |
const rapidjson::Value&
getSubDictionary_json |
( |
const rapidjson::Value & |
root, |
|
|
int |
idx |
|
) |
| |
The documentation for this class was generated from the following file:
- /Users/cocos2d/MyWork/cocos2d-x-develop/cocos/editor-support/cocostudio/DictionaryHelper.h