cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCComBase.h File Reference
#include <string>
#include "DictionaryHelper.h"
#include "cocostudio/CocosStudioExport.h"
#include "base/ObjectFactory.h"
#include "CocoLoader.h"

Classes

struct  SerData
 

Macros

#define DECLARE_CLASS_COMPONENT_INFO
#define IMPLEMENT_CLASS_COMPONENT_INFO(className)
#define CREATE_CLASS_COMPONENT_INFO(className)   cocos2d::ObjectFactory::TInfo(#className, &className::createInstance)

Macro Definition Documentation

#define CREATE_CLASS_COMPONENT_INFO (   className)    cocos2d::ObjectFactory::TInfo(#className, &className::createInstance)
var CREATE_CLASS_COMPONENT_INFO (   var)    cocos2d::ObjectFactory::TInfo(#className, &className::createInstance)
local CREATE_CLASS_COMPONENT_INFO (   local)    cocos2d::ObjectFactory::TInfo(#className, &className::createInstance)
#define
DECLARE_CLASS_COMPONENT_INFO
Value:
public: \
static cocos2d::Ref* createInstance(void); \
Definition: CCRef.h:66
Definition: ObjectFactory.h:41
var DECLARE_CLASS_COMPONENT_INFO
Value:
public: \
static cocos2d::Ref* createInstance(void); \
Definition: CCRef.h:66
Definition: ObjectFactory.h:41
#define
IMPLEMENT_CLASS_COMPONENT_INFO
(   className)
Value:
cocos2d::Ref* className::createInstance(void) \
{ \
return className::create(); \
} \
cocos2d::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCRef.h:66
var IMPLEMENT_CLASS_COMPONENT_INFO (   var)
Value:
cocos2d::Ref* className::createInstance(void) \
{ \
return className::create(); \
} \
cocos2d::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCRef.h:66
local
IMPLEMENT_CLASS_COMPONENT_INFO
(   local)
Value:
cocos2d::Ref* className::createInstance(void) \
{ \
return className::create(); \
} \
cocos2d::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCRef.h:66