【问题标题】:Doxygen reference Multiple Parameter Method with @see TagDoxygen 使用 @see 标签引用多参数方法
【发布时间】:2011-10-24 04:12:10
【问题描述】:

我正在为我的 iPhone 应用程序编写文档,但遇到了问题。我想在我的文档中使用 @see 标记来引用另一个方法,但该方法有多个参数。我试过只包括方法名称和整个方法存根,但 Doxygen 似乎没有格式化它。如何使用@see 标记引用具有多个参数的方法?

方法标头 (URL.h)

+ (NSMutableString *)generateUrl:(NSString *) url fromParams:(NSMutableDictionary *)params;

Doxygen 标记(尝试失败)

@see URL#baseUrl
@see URL#generateUrl:(NSString *) url fromParams:(NSMutableDictionary *)params

【问题讨论】:

    标签: iphone objective-c doxygen


    【解决方案1】:

    想通了。它是没有任何空格、变量名或变量类型的方法名,像这样......

    @see URL#generateUrl:fromParams:
    

    【讨论】:

      猜你喜欢
      • 2012-04-14
      • 2012-08-13
      • 2019-07-13
      • 2019-03-27
      • 1970-01-01
      • 2013-03-02
      • 1970-01-01
      • 1970-01-01
      • 2016-12-01
      相关资源
      最近更新 更多