Saturday, 15 May 2010

doxygen - ingroup a whole file including members? -


How do I define all the functions, squares, etc. of a file?

Example file:

  / *! * \ File * \ ingroup myGroup * / / *! * It's my job * / int muffin ();  

Now, if you look at the output, then the file is added to that group only, there is no function. I have to add \ ingroup myGroup to that file to add that file. Can this be done in parentheses {} or any other way?

By the way:

  / *! * \ File * This is my testfile * \ ingroup unitname * \ addtogroup UnitName * \ {* / / *! * It's my job * / int muffin (); / *! \} * /  

This generates the desired output file and the function is properly added.

This does not work with \ ingroup . This puts the function in the File section (I upgrade to the latest version of doxygen with the same result.


No comments:

Post a Comment