参数,然后使用[in],[out],[in,out]记录方向。对于函数内注释也可以通过direction属性开始注释 void foo(int v /**< [in] docs inputparameter v. */); 1 请注意,这些注释与之前的注释方法具有的结构含义,“<”只是表示成员位于注释前而不是注释后 /*! A test ...
Function* @see Box_The_Last_One* @see <http://website/>* @note Something to note.* @warning Warning.*/intdoxygen_theFirstFunction(intparam1,intparam2); 对于所有头文件的函数,都需要进行函数注释。 @param:标记变量 [in] [out]表示输入输出方向 @return:返回值描述 @retval:具体返回值及其含义 ...
* @param[in|out] <parameter‐name> <parameter description> * @exception <exception‐object> <exception description> * @return <description of the return value> * @note * detailed description * @remarks <remark text> */ 对于类的函数成员,在头文件的定义处进行简要注释,放在上方: class Test { ...
* @param[in|out] <parameter‐name> <parameter description> * @exception <exception‐object> <exception description> * @return <description of the return value> * @note * detailed description * @remarks <remark text> */ 举例说明: /** ...
* @return * +1 Send successfully \n * -1 input parameter error \n * -2 canx initialize error \n * -3 canx time out error \n * @par Sample * @code * u8 p[8] = {0}; * res_ res = 0; * res = can_send_msg(CAN1,1,p,0x11,8,1); * @endcode */ extern s32 can_...
Doxygen,C++EN1、ref參數 class Program { static void Main(string[] args) { ...
If a parameter is both input and output, use [in,out] as an attribute. The parameter description is a paragraph with no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent \param commands will be joined into a single paragraph. Each ...
通过out参数返回某物(如果有的话)的正确术语(如果有的话 浏览3提问于2012-02-06得票数 7 回答已采纳 3回答 在Doxygen中引用参数的正确方法是什么? 我有以下关于函数的Doxygen文档: @brief Does interesting things @param[in] pfirst The first parameter: a我在这里用引号把它括起来,因为我想把它和文本...
*?@param[in|out]?parameter‐name?parameter?description? *?@exception?exception‐object?exception?description? *?@return?description?of?the?return?value? *?@note? *?detailed?description? *?@remarks?remark?text? */?? 举例说明: /**? ?* ?@breif下面是一个含有两个参数的函数的注释说明(简述) ...
* @param[in] is_check_send_time : is need check out the time out * @note Notice that the size of the size is smaller than the size of the buffer. * @return * +1 Send successfully \n * -1 input parameter error \n * -2 canx initialize error \n ...