Re: [Doxygen-users] Force inheritance
Brought to you by:
dimitri
From: Morten W.
<mo...@th...> - 2007-05-22 07:17:20
|
On Tuesday den 22. May 2007 09:03, Ed Trollope wrote: > In your doxygen configuration file, add something like > "DOXYGEN_INHERITSANIMAL=Animal," to the predefined list. > > Then in your code, add "#define DOXYGEN_INHERITSANIMAL" and immediately > after the class declaration add "DOXYGEN_INHERITSANIMAL" - the compiler > will ignore it, as it is defined as doing nothing. But the doxygen parser > will read it as meaning the class inherits Animal. Now, that is ingenious! I see how this is smart, but unfortunately it is not directly compatible with PHP. However, I wasn't aware of the "predefined list". I will investigate it further. Thank you, Morten |