60 likes | 221 Views
Basic remarks. Doxygen. Main Features. Documenting with Doxygen Formulas Input Attention points. Documenting with Doxygen. Brief description //! Text block Detailed description /*! * text block * text block */ . Example 1. //! This is a foo function. / *!
E N D
Basic remarks Doxygen
Main Features • Documenting with Doxygen • Formulas Input • Attention points
Documenting with Doxygen • Brief description //! Text block • Detailed description /*! * text block * text block */
Example 1 //! This is a foofunction. /*! * This function is … * \paramparamOne This parameter is … * \paramparamTwo This parameter is … * \return Description of a return variable */ <type> foo(<type> paramOne, <type> paramTwo, etc…){…}
Three ways to include formulas • In-text formulas: \f$ … \f$ • Unnumbered formulas on a separate line: \f[ …\f] • Equation array: \f{eqnarray*}{ x &=& a \\ y &=& b \\ z &=& c \\ \f}
Attention Points • Do not forget to run Doxygen at least once before submitting your code. • Update the parameters list for the functions regularly. • Update filenames if there has been any changes. • Doxygen is not Latex! Check whether the formulas are represented correctly by it.