doxygen的文檔中說,\內部團體可用於實體添加到多個組:Doxygen的:如何包括一個元素在多個組
\ingroup (<groupname> [<groupname> <groupname>])
的問題是,我嘗試過了,Doxygen的添加entitiy到組列表中的最後一個組。類似於
/** \ingroup A B
* ...
*/
將元素添加到模塊A,但不添加到B.有誰知道爲什麼,以及如何解決它?
我試過用Doxygen 1.7.6.1和1.8.1.2版。
感謝您的幫助。
編輯:我意識到,doxygen的輸出,上面寫着警告:
Member X found in multiple @ingroup groups! The member will be put in group B, and not in group A
在我看來,這是矛盾與文檔。
答案:我自己回答。我正在嘗試向多個組添加函數,但文檔中提到「注意複合實體(如類,文件和命名空間)可以放入多個組中,但成員(如變量,函數,typedefs和枚舉)只能是一個組的成員「。