Advertisement
gsavix

doxygen_xml

Jan 22nd, 2013
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. DOXYGEN and XML Commands
  2. ========================
  3.  
  4. gsavix@gmail.com
  5.  
  6. Doxygen supports most of the XML commands that are typically used in C# code comments.
  7. The XML tags are defined in Appendix E of the ECMA-334 standard, which defines the C# language.
  8. Unfortunately, the specification is not very precise and
  9. a number of the examples given are of poor quality.
  10.  
  11. Here is the list of tags supported by doxygen:
  12.  
  13. <c>
  14. Identifies inline text that should be rendered as a piece of code. Similar to using <tt>text</tt>.
  15.  
  16. <code>
  17. Set one or more lines of source code or program output.
  18. Note that this command behaves like \code ... \endcode for C# code,
  19. but it behaves like the HTML equivalent <code>...</code> for other languages.
  20.  
  21. <description>
  22. Part of a <list> command, describes an item.
  23.  
  24. <example>
  25. Marks a block of text as an example, ignored by doxygen.
  26.  
  27. <exception cref="member">
  28. Identifies the exception a method can throw.
  29.  
  30. <include>
  31. Can be used to import a piece of XML from an external file.
  32. Ignored by doxygen at the moment.
  33.  
  34. <inheritdoc>
  35. Can be used to insert the documentation of a member of a base class into the documentation
  36. of a member of a derived class that reimplements it.
  37.  
  38. <item>
  39. List item. Can only be used inside a <list> context.
  40.  
  41. <list type="type">
  42. Starts a list, supported types are bullet or number and table.
  43. A list consists of a number of <item> tags.
  44. A list of type table, is a two column table which can have a header.
  45.  
  46. <listheader>
  47. Starts the header of a list of type "table".
  48.  
  49. <para>
  50. Identifies a paragraph of text.
  51.  
  52. <param name="paramName">
  53. Marks a piece of text as the documentation for parameter "paramName". Similar to using \param.
  54.  
  55. <paramref name="paramName">
  56. Refers to a parameter with name "paramName". Similar to using \a.
  57.  
  58. <permission>
  59. Identifies the security accessibility of a member. Ignored by doxygen.
  60.  
  61. <remarks>
  62. Identifies the detailed description.
  63.  
  64. <returns>
  65. Marks a piece of text as the return value of a function or method. Similar to using \return.
  66.  
  67. <see cref="member">
  68. Refers to a member. Similar to \ref.
  69.  
  70. <seealso cref="member">
  71. Starts a "See also" section referring to "member". Similar to using \sa member.
  72.  
  73. <summary>
  74. Identifies the brief description. Similar to using \brief.
  75.  
  76. <term> Part of a <list> command.
  77.  
  78. <typeparam name="paramName">
  79. Marks a piece of text as the documentation for type parameter "paramName". Similar to using \param.
  80.  
  81. <typeparamref name="paramName">
  82. Refers to a parameter with name "paramName". Similar to using \a.
  83.  
  84. <value> Identifies a property. Ignored by doxygen.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement