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; }
对于第三个参数的get,set均已设定。
protected: varType varName;
public: virtual varType get##funName(void) const { return varName; }
public: virtual void set##funName(varType var){ varName = var; }
对于第三个参数的get,set均已设定。