cocos2d-x  3.1rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCBReader.h File Reference
#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"

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 T(); \
if(ptr != NULL) { \
ptr->autorelease(); \
return ptr; \
} \
return NULL; \
}
#define CC_SAFE_DELETE(p)
Definition: CCPlatformMacros.h:200
#define NULL
Definition: CCPlatformDefine.h:61
var
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD
(   var,
  var 
)
Value:
static T * METHOD() { \
T * ptr = new T(); \
if(ptr != NULL) { \
ptr->autorelease(); \
return ptr; \
} \
return NULL; \
}
#define CC_SAFE_DELETE(p)
Definition: CCPlatformMacros.h:200
#define NULL
Definition: CCPlatformDefine.h:61
local
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD
(   local,
  local 
)
Value:
static T * METHOD() { \
T * ptr = new T(); \
if(ptr != NULL) { \
ptr->autorelease(); \
return ptr; \
} \
return NULL; \
}
#define CC_SAFE_DELETE(p)
Definition: CCPlatformMacros.h:200
#define NULL
Definition: CCPlatformDefine.h:61
#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; \
} \
return NULL; \
}
#define CC_SAFE_DELETE(p)
Definition: CCPlatformMacros.h:200
#define NULL
Definition: CCPlatformDefine.h:61
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; \
} \
return NULL; \
}
#define CC_SAFE_DELETE(p)
Definition: CCPlatformMacros.h:200
#define NULL
Definition: CCPlatformDefine.h:61
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; \
} \
return NULL; \
}
#define CC_SAFE_DELETE(p)
Definition: CCPlatformMacros.h:200
#define NULL
Definition: CCPlatformDefine.h:61
#define CCB_VERSION   5
var CCB_VERSION   5
local CCB_VERSION   5