#include <CCSGUIReader.h>
|
cocos2d::ui::Widget * | widgetFromJsonFile (const char *fileName) |
var | widgetFromJsonFile ( var fileName) |
local | widgetFromJsonFile ( local fileName) |
cocos2d::ui::Widget * | widgetFromBinaryFile (const char *fileName) |
var | widgetFromBinaryFile ( var fileName) |
local | widgetFromBinaryFile ( local fileName) |
int | getVersionInteger (const char *str) |
void | storeFileDesignSize (const char *fileName, const cocos2d::Size &size) |
const cocos2d::Size | getFileDesignSize (const char *fileName) const |
local | getFileDesignSize ( local fileName) |
void | setFilePath (const std::string &strFilePath) |
const std::string & | getFilePath () const |
local | getFilePath () |
void | registerTypeAndCallBack (const std::string &classType, cocos2d::ObjectFactory::Instance ins, Ref *object, SEL_ParseEvent callBack) |
var | registerTypeAndCallBack ( var classType, var ins, var object, var callBack) |
local | registerTypeAndCallBack ( local classType, local ins, local object, local callBack) |
void | registerTypeAndCallBack (const std::string &classType, cocos2d::ObjectFactory::InstanceFunc ins, Ref *object, SEL_ParseEvent callBack) |
ParseCallBackMap * | getParseCallBackMap () |
var | getParseCallBackMap () |
local | getParseCallBackMap () |
ParseObjectMap * | getParseObjectMap () |
var | getParseObjectMap () |
local | getParseObjectMap () |
void | retain () |
| Retains the ownership. More...
|
|
void | release () |
| Releases the ownership immediately. More...
|
|
Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More...
|
|
unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |
| Destructor. More...
|
|
static void destroyInstance |
( |
| ) |
|
|
static |
local destroyInstance |
( |
| ) |
|
|
static |
const cocos2d::Size
getFileDesignSize |
( |
const char * |
fileName | ) |
const |
local getFileDesignSize |
( |
local |
fileName | ) |
|
const std::string& getFilePath |
( |
| ) |
const |
|
inline |
var getParseCallBackMap |
( |
| ) |
|
|
inline |
local getParseCallBackMap |
( |
| ) |
|
|
inline |
var getParseObjectMap |
( |
| ) |
|
|
inline |
local getParseObjectMap |
( |
| ) |
|
|
inline |
int getVersionInteger |
( |
const char * |
str | ) |
|
var getVersionInteger |
( |
var |
str | ) |
|
local getVersionInteger |
( |
local |
str | ) |
|
static void purgeGUIReader |
( |
| ) |
|
|
inlinestatic |
var registerTypeAndCallBack |
( |
var |
classType, |
|
|
var |
ins, |
|
|
var |
object, |
|
|
var |
callBack |
|
) |
| |
local registerTypeAndCallBack |
( |
local |
classType, |
|
|
local |
ins, |
|
|
local |
object, |
|
|
local |
callBack |
|
) |
| |
var registerTypeAndCallBack |
( |
var |
classType, |
|
|
var |
ins, |
|
|
var |
object, |
|
|
var |
callBack |
|
) |
| |
local registerTypeAndCallBack |
( |
local |
classType, |
|
|
local |
ins, |
|
|
local |
object, |
|
|
local |
callBack |
|
) |
| |
void setFilePath |
( |
const std::string & |
strFilePath | ) |
|
|
inline |
var setFilePath |
( |
var |
strFilePath | ) |
|
|
inline |
local setFilePath |
( |
local |
strFilePath | ) |
|
|
inline |
void storeFileDesignSize |
( |
const char * |
fileName, |
|
|
const cocos2d::Size & |
size |
|
) |
| |
local storeFileDesignSize |
( |
local |
fileName, |
|
|
local |
size |
|
) |
| |
var widgetFromBinaryFile |
( |
var |
fileName | ) |
|
local widgetFromBinaryFile |
( |
local |
fileName | ) |
|
var widgetFromJsonFile |
( |
var |
fileName | ) |
|
local widgetFromJsonFile |
( |
local |
fileName | ) |
|
std::string m_strFilePath |
|
protected |
The documentation for this class was generated from the following file:
- /Users/minggo/SourceCode/cocos2d-x/cocos/editor-support/cocostudio/CCSGUIReader.h