Hi all.


I have just played around a bit with namespaces and modules and have
recognized some strange behavior of doxygen.



When I am doing something like this

/** A */

namespace A

{

/** @addtogroup AA

*  @{

*/

       /** B */

       namespace B

       {

       }



       /** @addtogroup BB

       *  @{

       */

       /** @}*/

/** @}*/

}

then B and BB will both appear as members of AA and also B will appear as
member of A.

It seems like it isn’t possible to let a module appear as a member of a
namespace.



However if I am reordering the code from above to

/** A */

namespace A

{

/** @addtogroup AA

*  @{

*/

       /** B */

       namespace B

       {

             /** @addtogroup BB

             *  @{

             */

             /** @}*/

       }

/** @}*/

}

Then not only doesn’t BB appear as member of B (which was to be expected
after the results of the first code snippet), but it now also doesn’t
appear as a member of AA anymore, but as a top-level module, which feels
wrong to me.



Is this intended?



Is there a way of grouping stuff together INSIDE a namespace, but still be
able to add namespaces or nested groups to this group (which isn’t possible
with  member groups)?





Kind regards,

Stefan.

-- 
Exit Games | www.exitgames.com | @exitgames | +49 40 413 596 0

Executives Christof Wegmann CTO, Wim de Smet CFO
Trade Registry / Amtsgericht Hamburg, Germany HRB 85991

++ Get Photon Server 3.0 Final: http://j.mp/GetPhoton3
++ Photon Cloud Unity Networking Free Trial + Tutorial: http://j.mp/punfree
++ Follow http://twitter.com/exitgames for Photon announcements
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to