• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Any Doxygen users out there?

tatteredpotato

Diamond Member
I'm trying to get it setup to do documentation for a C project. I'm rather familiar with both javadoc style and C# XML style comments (both seem to be supported). My problem is when I generate the documentation, I can't seem to find these comments anywhere. The file list only lets me click on the [souce] link that shows the source file with the XML or Javadoc comments stripped out. I'm thinking I need some form of header in each file maybe?
 
Last edited:
if i remember correctly you need use the @file or \file command.

Thanks, that was exactly the problem. I was initially going to do the VS XML style comments, but Javadoc style are much easier on an IDE that doesn't know to expand "///" to multiple lines.
 
Thanks, that was exactly the problem. I was initially going to do the VS XML style comments, but Javadoc style are much easier on an IDE that doesn't know to expand "///" to multiple lines.

Agreed. You can really bang out comments in VS, but the xml style just seems slower if you have to type it all out.

Btw, if you can figure out how to add comments to an inline function with the definition in the header, let me know.
 
Agreed. You can really bang out comments in VS, but the xml style just seems slower if you have to type it all out.

Btw, if you can figure out how to add comments to an inline function with the definition in the header, let me know.

You mean a function like this (located in foo.h):

Code:
inline int max(int a, int b) {
	return a > b ? a : b;
}

The above responds just like a non-inline function when I run doxygen.

Are you declaring it as static? Doxygen skips statics by default afaik.
 
yup, static. i bet there was an option i missed. oh well, i'm not maintaining it anymore, so someone else can deal with it. 😀
 
Back
Top