Doxygen别名忽略线

时间:2013-05-15 14:01:21

标签: alias doxygen

为了使公司范围的标题格式适应doxygen,我想创建一些将被doxygen忽略的自定义标签。我想我可以使用别名来做到这一点,但到目前为止只能用其他人替换标签。我想要完成的任务:

/ **  * @company公司名称 ** /

使用@ company =“”这样的别名。不幸的是,这只会打印没有部分名称的文本。

有什么想法吗?

1 个答案:

答案 0 :(得分:1)

您可以使用HTML样式注释隐藏部分,即

/** Show this <!-- but hide this --> and show this again */

或者您可以使用@if ... @ endif

/** Show this @if VISIBILE but hide this @endif and show this again */

要保存输入,您可以定义一对别名

ALIASES = hide="@if VISIBLE" endhide="@endif"

然后写

/** Show this @hide but hide this @endhide and show this again */