How to create a complex doxygen alias?

How do I create a Doxygen Alias to mimic the @param behavior?

  • I want to create an alias of @param for global variables used within a function. I'd like to specify it like this: @global[in] global_var_name more textual description @global[in] global_var_name2 some more text @global[in/out] name_var_3 more text @global[out] name_var_4 more text I've created an alias using this: ALIASES = "global=\xrefitem global \"Global\" \"Globals\" " however, the HTML produced does not generate a table similar to @param. Does anyone know how to alias @param to generate a new table below the param table, or as consolation, append the globals to the @param table with "global in" in the square brackets instead of "in"?

  • Answer:

    I got a reply on the doxygen users mailing list. Here is their answer. I haven't had a chance to try it. ALIASES = "global{1}=@param [global \1]"

Eric Cope at Stack Overflow Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.