C++ 如何@return一个class属性并将其包含在文档中
如何将类方法(带标记的const)的返回设置为类属性,以便doxygen在文档中突出显示它 检查图示:C++ 如何@return一个class属性并将其包含在文档中,c++,doxygen,documentation-generation,C++,Doxygen,Documentation Generation,如何将类方法(带标记的const)的返回设置为类属性,以便doxygen在文档中突出显示它 检查图示: class A { int attribute; public: int getAttribute()const; //<<- I need this return to show that it is atrribute } A类 { int属性; 公众: int getAttribute()const;//\return只包含要返回的值的描述,没有“参数名”。也许您可以
class A
{
int attribute;
public:
int getAttribute()const; //<<- I need this return to show that it is atrribute
}
A类
{
int属性;
公众:
int getAttribute()const;//\return只包含要返回的值的描述,没有“参数名”。也许您可以使用\ref或\copydoc或\copybrief执行操作。\return只包含要返回的值的描述,没有“参数名”。也许您可以使用\ref或\copydoc或\copydrift做一些事情。