//设置set跟get的方法
#define CC_SYNTHESIZE(varType, varName, funName)\ protected: varType varName ;\ public: virtual varType get##funName(void) const { return varName; }\ public: virtual void set##funName(varType var){ varName = var; }
//设置构造与析构函数
#define CC_CONSTRUCTED(varType)\ public: varType(void) {} \ public: ~varType(void) {}
//创建一个类
#define CC_CREATECLASS(classType)\ new classType();