[Doxygen-develop] Non-unique groups
Brought to you by:
dimitri
From: Slaughter, A. E <and...@in...> - 2013-08-21 20:56:51
|
I am working on changes to Doxygen that my boss would like involving groups and was hoping someone could point me to the correct spot in the code to start implementing one of my changes: breaking the documentation into two sections a general section (no groups) and advanced sections. I am having problems with the \name command and inheritance. Referring to the code snippet at the bottom of this message, the output for BaseClass is correct, it combines the two "Advanced Public Member Functions" under a single heading. But, the additional advanced method add by TestClass is under another heading (with the exact name). I would like to modify Doxygen to pick on this and put everything under the same heading. Is this something that is feasible? If so, can someone please point me in the write direction within the source code. I forked the repository and have been playing around a bit with the code. I will submit a pull request when I get this up and running. Thanks, Andrew ----------------------------------------------------------------------------------------------------------------------- /** * A Base Class */ class BaseClass { public: BaseClass(); /** General Base Method */ virtual void generalMethod(); /** \name Advanced Public Member Functions */ ///@{ /** An advanced base method */ void advancedBaseMethod(); ///@} /** \name Advanced Public Member Functions */ ///@{ void anotherAdvancedBaseMethod(); ///@} protected: /** An general use protected member */ virtual void generalProtectedMethod(); /** \name Advanced Protected Member Functions */ ///@{ /** An advanced protected method */ virtual void advancedProtectedMethod(); ///@} }; /** * A Test class */ class TestClass : public BaseClass { public: TestClass(); /** General method */ void generalMethod(); /** \name Advanced Public Member Functions */ ///@{ /** Advanced method */ void advancedMethod(); ///@} }; |