cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GUIDefine.h File Reference
#include "cocos2d.h"
#include "ExtensionMacros.h"
#include <string>
#include "../../Trigger/ObjectFactory.h"

Macros

#define DECLARE_CLASS_GUI_INFO
#define IMPLEMENT_CLASS_GUI_INFO(className)
#define CREATE_CLASS_GUI_INFO(className)   cocos2d::extension::ObjectFactory::TInfo(#className, &className::createInstance)
#define DECLARE_CLASS_WIDGET_READER_INFO
#define IMPLEMENT_CLASS_WIDGET_READER_INFO(className)
#define CREATE_CLASS_WIDGET_READER_INFO(className)   cocos2d::extension::ObjectFactory::TInfo(#className, &className::createInstance)

Macro Definition Documentation

#define CREATE_CLASS_GUI_INFO (   className)    cocos2d::extension::ObjectFactory::TInfo(#className, &className::createInstance)
var CREATE_CLASS_GUI_INFO (   var)    cocos2d::extension::ObjectFactory::TInfo(#className, &className::createInstance)
local CREATE_CLASS_GUI_INFO (   local)    cocos2d::extension::ObjectFactory::TInfo(#className, &className::createInstance)
#define
CREATE_CLASS_WIDGET_READER_INFO
(   className)    cocos2d::extension::ObjectFactory::TInfo(#className, &className::createInstance)
var CREATE_CLASS_WIDGET_READER_INFO (   var)    cocos2d::extension::ObjectFactory::TInfo(#className, &className::createInstance)
local
CREATE_CLASS_WIDGET_READER_INFO
(   local)    cocos2d::extension::ObjectFactory::TInfo(#className, &className::createInstance)
#define DECLARE_CLASS_GUI_INFO
Value:
public: \
static cocos2d::CCObject* createInstance(void); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513
Definition: ObjectFactory.h:52
local DECLARE_CLASS_GUI_INFO
Value:
public: \
static cocos2d::CCObject* createInstance(void); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513
Definition: ObjectFactory.h:52
#define
DECLARE_CLASS_WIDGET_READER_INFO
Value:
public: \
static cocos2d::CCObject* createInstance(void); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513
Definition: ObjectFactory.h:52
var
DECLARE_CLASS_WIDGET_READER_INFO
Value:
public: \
static cocos2d::CCObject* createInstance(void); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513
Definition: ObjectFactory.h:52
local
DECLARE_CLASS_WIDGET_READER_INFO
Value:
public: \
static cocos2d::CCObject* createInstance(void); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513
Definition: ObjectFactory.h:52
#define IMPLEMENT_CLASS_GUI_INFO (   className)
Value:
cocos2d::CCObject* className::createInstance(void) \
{ \
return className::create(); \
} \
cocos2d::extension::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513
var IMPLEMENT_CLASS_GUI_INFO (   var)
Value:
cocos2d::CCObject* className::createInstance(void) \
{ \
return className::create(); \
} \
cocos2d::extension::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513
local IMPLEMENT_CLASS_GUI_INFO (   local)
Value:
cocos2d::CCObject* className::createInstance(void) \
{ \
return className::create(); \
} \
cocos2d::extension::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513
#define
IMPLEMENT_CLASS_WIDGET_READER_INFO
(   className)
Value:
cocos2d::CCObject* className::createInstance(void) \
{ \
return className::getInstance(); \
} \
cocos2d::extension::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513
var
IMPLEMENT_CLASS_WIDGET_READER_INFO
(   var)
Value:
cocos2d::CCObject* className::createInstance(void) \
{ \
return className::getInstance(); \
} \
cocos2d::extension::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513
local
IMPLEMENT_CLASS_WIDGET_READER_INFO
(   local)
Value:
cocos2d::CCObject* className::createInstance(void) \
{ \
return className::getInstance(); \
} \
cocos2d::extension::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCObject.h:59
Type
Type of JSON value.
Definition: rapidjson.h:513