On Tue, 17 Jul 2001 09:28:23 +0300, Greger Haga wrote:
>Hi!
>Have a problem: one class and one struct are declared with the same
>name: class A and struct A. It is indeed illegal to have two types of
>the same name to compile I know, nevertheless both have to be
>documented. Doxygen treats both as the same!The resulting docs mix
>members of both the struct and the class into the class's
documentation.
>The struct is not documented at all. Does anyone know of a workaround
to
>fool doxygen to treat them as diffferent entities?
You should not do this, but you know that.
#ifndef STRUCT_A
#define STRUCT_A A
#endif
struct STRUCT_A { ....
Then redefine STRUCT_A in your Doxyfile to something different.
|