#include <GUIReader.h>
Public Member Functions | |
| GUIReader () | |
| ~GUIReader () | |
| cocos2d::ui::Widget * | widgetFromJsonFile (const char *fileName) |
| int | getVersionInteger (const char *str) |
| void | storeFileDesignSize (const char *fileName, const cocos2d::CCSize &size) |
| const cocos2d::CCSize | getFileDesignSize (const char *fileName) const |
| const std::string & | getFilePath () const |
| void | registerTypeAndCallBack (const std::string &classType, ObjectFactory::Instance ins, CCObject *object, SEL_ParseEvent callBack) |
| ParseCallBackMap | getParseCallBackMap () |
| ParseObjectMap | getParseObjectMap () |
Public Member Functions inherited from CCObject | |
| CCObject (void) | |
| virtual | ~CCObject (void) |
| void | release (void) |
| void | retain (void) |
| CCObject * | autorelease (void) |
| CCObject * | copy (void) |
| bool | isSingleReference (void) const |
| unsigned int | retainCount (void) const |
| virtual bool | isEqual (const CCObject *pObject) |
| virtual void | acceptVisitor (CCDataVisitor &visitor) |
| virtual void | update (float dt) |
Public Member Functions inherited from CCCopying | |
| virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
| static GUIReader * | shareReader () |
| static void | purge () |
Protected Types | |
| typedef std::map< std::string, SEL_ParseEvent > | ParseCallBackMap |
| typedef std::map< std::string, CCObject * > | ParseObjectMap |
Protected Attributes | |
| std::string | m_strFilePath |
| CCDictionary * | _fileDesignSizes |
| ParseCallBackMap | _mapParseSelector |
| ParseObjectMap | _mapObject |
Protected Attributes inherited from CCObject | |
| unsigned int | m_uReference |
| unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
| unsigned int | m_uID |
| int | m_nLuaID |
|
protected |
|
protected |
| GUIReader | ( | ) |
| ~GUIReader | ( | ) |
| const cocos2d::CCSize getFileDesignSize |
( | const char * | fileName) | const |
|
inline |
|
inline |
|
inline |
| int getVersionInteger | ( | const char * | str) |
|
static |
| void registerTypeAndCallBack | ( | const std::string & | classType, |
| ObjectFactory::Instance | ins, | ||
| CCObject * | object, | ||
| SEL_ParseEvent | callBack | ||
| ) |
|
static |
| void storeFileDesignSize | ( | const char * | fileName, |
| const cocos2d::CCSize & | size | ||
| ) |
| cocos2d::ui::Widget* widgetFromJsonFile |
( | const char * | fileName) |
|
protected |
|
protected |
|
protected |
|
protected |