cocos2d-x  3.0alpha1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCNodeLoader.h File Reference

Classes

struct  BlockData
 
struct  BlockControlData
 
class  NodeLoader
 

Namespaces

 cocosbuilder
 

Constant Groups

 cocosbuilder
 

Macros

#define PROPERTY_POSITION   "position"
#define PROPERTY_CONTENTSIZE   "contentSize"
#define PROPERTY_SKEW   "skew"
#define PROPERTY_ANCHORPOINT   "anchorPoint"
#define PROPERTY_SCALE   "scale"
#define PROPERTY_ROTATION   "rotation"
#define PROPERTY_ROTATIONX   "rotationX"
#define PROPERTY_ROTATIONY   "rotationY"
#define PROPERTY_TAG   "tag"
#define PROPERTY_IGNOREANCHORPOINTFORPOSITION   "ignoreAnchorPointForPosition"
#define PROPERTY_VISIBLE   "visible"
#define ASSERT_FAIL_UNEXPECTED_PROPERTY(PROPERTY)   cocos2d::log("Unexpected property: '%s'!\n", PROPERTY); assert(false)
#define ASSERT_FAIL_UNEXPECTED_PROPERTYTYPE(PROPERTYTYPE)   cocos2d::log("Unexpected property type: '%d'!\n", PROPERTYTYPE); assert(false)
#define CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(T)
#define CCB_PURE_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(T)   virtual T * createNode(cocos2d::Node * pParent, cocosbuilder::CCBReader * ccbReader) = 0

Macro Definition Documentation

#define
ASSERT_FAIL_UNEXPECTED_PROPERTY
(   PROPERTY)    cocos2d::log("Unexpected property: '%s'!\n", PROPERTY); assert(false)
var ASSERT_FAIL_UNEXPECTED_PROPERTY (   var)    cocos2d::log("Unexpected property: '%s'!\n", PROPERTY); assert(false)
local
ASSERT_FAIL_UNEXPECTED_PROPERTY
(   local)    cocos2d::log("Unexpected property: '%s'!\n", PROPERTY); assert(false)
#define
ASSERT_FAIL_UNEXPECTED_PROPERTYTYPE
(   PROPERTYTYPE)    cocos2d::log("Unexpected property type: '%d'!\n", PROPERTYTYPE); assert(false)
var
ASSERT_FAIL_UNEXPECTED_PROPERTYTYPE
(   var)    cocos2d::log("Unexpected property type: '%d'!\n", PROPERTYTYPE); assert(false)
local
ASSERT_FAIL_UNEXPECTED_PROPERTYTYPE
(   local)    cocos2d::log("Unexpected property type: '%d'!\n", PROPERTYTYPE); assert(false)
#define
CCB_PURE_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD
(   T)    virtual T * createNode(cocos2d::Node * pParent, cocosbuilder::CCBReader * ccbReader) = 0
var
CCB_PURE_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD
(   var)    virtual T * createNode(cocos2d::Node * pParent, cocosbuilder::CCBReader * ccbReader) = 0
local
CCB_PURE_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD
(   local)    virtual T * createNode(cocos2d::Node * pParent, cocosbuilder::CCBReader * ccbReader) = 0
#define
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD
(   T)
Value:
virtual T * createNode(cocos2d::Node * pParent, cocosbuilder::CCBReader * ccbReader) { \
return T::create(); \
}
var
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD
(   var)
Value:
virtual T * createNode(cocos2d::Node * pParent, cocosbuilder::CCBReader * ccbReader) { \
return T::create(); \
}
local
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD
(   local)
Value:
virtual T * createNode(cocos2d::Node * pParent, cocosbuilder::CCBReader * ccbReader) { \
return T::create(); \
}
#define PROPERTY_ANCHORPOINT   "anchorPoint"
var PROPERTY_ANCHORPOINT   "anchorPoint"
local PROPERTY_ANCHORPOINT   "anchorPoint"
#define PROPERTY_CONTENTSIZE   "contentSize"
var PROPERTY_CONTENTSIZE   "contentSize"
local PROPERTY_CONTENTSIZE   "contentSize"
#define
PROPERTY_IGNOREANCHORPOINTFORPOSITION   "ignoreAnchorPointForPosition"
var
PROPERTY_IGNOREANCHORPOINTFORPOSITION   "ignoreAnchorPointForPosition"
local
PROPERTY_IGNOREANCHORPOINTFORPOSITION   "ignoreAnchorPointForPosition"
#define PROPERTY_POSITION   "position"
#define PROPERTY_ROTATION   "rotation"
var PROPERTY_ROTATION   "rotation"
local PROPERTY_ROTATION   "rotation"
#define PROPERTY_ROTATIONX   "rotationX"
var PROPERTY_ROTATIONX   "rotationX"
local PROPERTY_ROTATIONX   "rotationX"
#define PROPERTY_ROTATIONY   "rotationY"
var PROPERTY_ROTATIONY   "rotationY"
local PROPERTY_ROTATIONY   "rotationY"
#define PROPERTY_SCALE   "scale"
var PROPERTY_SCALE   "scale"
local PROPERTY_SCALE   "scale"
#define PROPERTY_SKEW   "skew"
var PROPERTY_SKEW   "skew"
local PROPERTY_SKEW   "skew"
#define PROPERTY_TAG   "tag"
var PROPERTY_TAG   "tag"
local PROPERTY_TAG   "tag"
#define PROPERTY_VISIBLE   "visible"
var PROPERTY_VISIBLE   "visible"
local PROPERTY_VISIBLE   "visible"