\ref 命令中的引用方法

发布于 2024-10-21 00:22:08 字数 263 浏览 13 评论 0原文

如何在 doxygen 中的 \ref 命令中引用 Objective-C 方法?我尝试了这些,但它们不起作用:

 @interface Class 
/// \ref Class::method
/// \ref Class::method:description
/// \ref Class#method
/// \ref Class#method:description
- (void) method:description;

谢谢。

how can I refer to a objective-c method in a \ref command in doxygen? I tried these but they don't work:

 @interface Class 
/// \ref Class::method
/// \ref Class::method:description
/// \ref Class#method
/// \ref Class#method:description
- (void) method:description;

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半衾梦 2024-10-28 00:22:08

您应该使用\sa\see

\ref 用于引用页面,而不是引用的符号。

You should use \sa or \see.

\ref is used to reference pages, not referenced symbols.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文