Doxygen @param方向参数[in],[out],[in,out]示例输出

Tho*_*eod 22 c++ doxygen output

@param命令的可选方向参数在此处记录为以下之一:

@param[in]
@param[out]
@param[in,out]
Run Code Online (Sandbox Code Playgroud)

我没有在任何示例网站中看到此信息如何出现在输出中.是否有一个例子说明这些信息应该如何出现在输出中?

Tho*_*ews 20

对于线:

\param[in,out] console_ptr - pointer to input from the console
Run Code Online (Sandbox Code Playgroud)

我明白了:

Parameters
    [in,out]    console_ptr - pointer to input from the console. 
Run Code Online (Sandbox Code Playgroud)

  • 一个简单的解决方案是使用Doxygen注释编写一个简单的源文件,使用Doxygen处理它并查看输出. (3认同)