I realize this is an old post but I was just about to re-start my Doxygenation.
I added this to the top of all my LPC files:
#ifdef DOXYGEN
struct <name> : <inherited>* {
#endif
where
- <name> is the name of the object
- <inherited>* is comma-delimited list of files that the object inherits.
and a similar block to the bottom with a closing curly bracket. In my doxygen config I have it #define that DOXYGEN macro, can't remember if that is standard behavior or not.
It isn't pretty but it works well.
#ifdef DOXYGEN
struct car : vehicle {
#endif
inherit LIB_VEHICLE;
protected void create()
{
vehicle::create();
...
}
...
#ifdef DOXYGEN
}
#endif