those using CC_PROPERTY_READONLY do not show up in the doxygen.
I solve this by defined the following in doxygen.cocos2d-x
PREDEFINED = "CC_PROPERTY_READONLY(varType, varName, funName)=protected: varType varName;\n/** get##funName*/\n public: virtual varType get##funName(void);" \
"CC_PROPERTY(varType, varName, funName)=protected: varType varName;\n/** get##funName*/\n public: virtual varType get##funName(void);\n/** set##funName*/\n public: virtual void set##funName(varType var);"
please merge if i am done right.
walzer
2
Great! It works! Committed at https://github.com/cocos2d/cocos2d-x/commit/1acd12f097b564557bca70e6be8706a13fbb8de4
I have been looking for this resolution for a long long time. Thanks a lot!
PREDEFINED = "CC_PROPERTY_READONLY(varType, varName, funName)=protected: varType varName;\n/** get##funName*/\n public: virtual varType get##funName(void);" \
"CC_PROPERTY_READONLY_PASS_BY_REF(varType, varName, funName)=protected: varType varName;\n/** get##funName*/\n public: virtual const varType& get##funName(void);" \
"CC_PROPERTY(varType, varName, funName)=protected: varType varName;\n/** get##funName*/\n public: virtual varType get##funName(void);\n/** set##funName*/\n public: virtual void set##funName(varType var);" \
"CC_PROPERTY_PASS_BY_REF(varType, varName, funName)=protected: varType varName;\n/** get##funName*/\n public: virtual const varType& get##funName(void);\n/** set##funName*/\n public: virtual void set##funName(const varType& var);"
updated for the new version
walzer
4