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

Classes

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

Namespaces

 cocosbuilder
 

Constant Groups

 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 T(); \
if(ptr != NULL) { \
ptr->autorelease(); \
return ptr; \
} \
CC_SAFE_DELETE(ptr); \
return NULL; \
}
#define
CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD
(   T,
  METHOD 
)
Value:
static T * METHOD() { \
T * ptr = new T(); \
if(ptr != NULL && ptr->init()) { \
ptr->autorelease(); \
return ptr; \
} \
CC_SAFE_DELETE(ptr); \
return NULL; \
}
var
CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD
(   var,
  var 
)
Value:
static T * METHOD() { \
T * ptr = new T(); \
if(ptr != NULL && ptr->init()) { \
ptr->autorelease(); \
return ptr; \
} \
CC_SAFE_DELETE(ptr); \
return NULL; \
}
local
CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD
(   local,
  local 
)
Value:
static T * METHOD() { \
T * ptr = new T(); \
if(ptr != NULL && ptr->init()) { \
ptr->autorelease(); \
return ptr; \
} \
CC_SAFE_DELETE(ptr); \
return NULL; \
}
#define CCB_VERSION   5