cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCBReader.h File Reference
#include <set>
#include <string>
#include <vector>
#include "2d/CCNode.h"
#include "base/CCData.h"
#include "base/CCMap.h"
#include "CCBSequence.h"
#include "extensions/GUI/CCControlExtension/CCControl.h"
#include "cocosbuilder/CCBAnimationManager.h"

Classes

class  CCBFile
 
class  CCBReader
 Parse CCBI file which is generated by CocosBuilder. More...
 

Namespaces

 cocosbuilder
 

Macros

#define CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(T, METHOD)
#define CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD(T, METHOD)
#define CCB_VERSION   5

Macro Definition Documentation

#define
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD
(   T,
  METHOD 
)
Value:
static T * METHOD() { \
T * ptr = new (std::nothrow) T(); \
if(ptr != NULL) { \
ptr->autorelease(); \
return ptr; \
} \
return NULL; \
}
#define NULL
Definition: CCPlatformDefine-android.h:61
#define CC_SAFE_DELETE(p)
Definition: CCPlatformMacros.h:202
var
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD
(   var,
  var 
)
Value:
static T * METHOD() { \
T * ptr = new (std::nothrow) T(); \
if(ptr != NULL) { \
ptr->autorelease(); \
return ptr; \
} \
return NULL; \
}
#define NULL
Definition: CCPlatformDefine-android.h:61
#define CC_SAFE_DELETE(p)
Definition: CCPlatformMacros.h:202
local
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD
(   local,
  local 
)
Value:
static T * METHOD() { \
T * ptr = new (std::nothrow) T(); \
if(ptr != NULL) { \
ptr->autorelease(); \
return ptr; \
} \
return NULL; \
}
#define NULL
Definition: CCPlatformDefine-android.h:61
#define CC_SAFE_DELETE(p)
Definition: CCPlatformMacros.h:202
#define
CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD
(   T,
  METHOD 
)
Value:
static T * METHOD() { \
T * ptr = new (std::nothrow) T(); \
if(ptr != NULL && ptr->init()) { \
ptr->autorelease(); \
return ptr; \
} \
return NULL; \
}
#define NULL
Definition: CCPlatformDefine-android.h:61
#define CC_SAFE_DELETE(p)
Definition: CCPlatformMacros.h:202
#define CCB_VERSION   5