- 首页 
- 相关页面 
- 模块 
- 命名空间 
- 类 
- 文件 
-
  
   
)
- 类列表 
- 类索引 
- 类继承关系 
- 类成员 
 
  
  
  全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
  
  
 Public 成员函数 | 静态 Public 成员函数 | 所有成员列表 
DictionaryHelper类 参考
 
NA NA 更多…
#include 
 | 
##  Public 成员函数
 | 
 |   | 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) | 
 |   | 
 
 
详细描述
NA NA 
构造及析构函数说明
  
  
成员函数说明
  
  | 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  |  
   |  ) |   |  |  
 
该类的文档由以下文件生成:
- /Users/zeroyang/Documents/github/cocos2d-x/cocos/editor-support/cocostudio/DictionaryHelper.h