GNOME Bugzilla – Bug 421218
Dot-generated class diagrams with UML_LOOK=YES and member groups
Last modified: 2018-07-30 10:24:15 UTC
Doxygen version 1.5.1-20070315 If a class definition contains member groups, Doxygen adds the members of those groups to the "method" compartment of a class diagram. The entries are marked with a '*' as access specifier. There are two problems with this approach: - if a member group is homogeneous (e.g., containing only public attributes), these members appear twice in the class diagram: once in the correct compartment, with a correct access specifier, and once with a '*' at the end of the method compartment. - if a member group is heterogeneous (containing methods as well as attributes and/or spanning different access levels), all members (even the attributes) are only listed in the method compartment, marked with '*'. On the other hand, the data structures that are involved in the generation of the class diagrams contain all the information that is necessary to correctly assign all kinds of member group members to the respective compartment of the class diagram, and to provide them even with the correct access specifier. The attachment contains a test case that demonstrates the problem, and a patch (relative to doxygen-1.5.1-20070315) with a possible solution.
Created attachment 85077 [details] Test case and patch
I'm getting this issue in doxygen 1.8.7 on OSX 10.9.4.
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!