I need to get a list of all classes (and other elements) at doxygen group page even if they are namespace members. So if I have something like this code example:
/*!
@defgroup test_group Example group
@{*/
class some_class {};
/// @}
Doxygen will generate group page, containing my "some_class" :
.
But after namespace adding doxygen "hides" all namespace members to new page. Next code:
/*!
@defgroup test_group Example group
@{*/
namespace example_namespace {
class some_class {};
}
/// @}
produces a group page, containing link to namespace page.
.
We can't see namespace members on group page.
Next 2 ways gives the same result:
// 1. putting namespace content in brackets @{ @}:
/// @defgroup test_group Example group
namespace example_namespace {
/*!
@ingroup test_group
@{ */
class some_class {};
/// @}
}
// 2. putting namespace itself to group:
/// @defgroup test_group Example group
/// @ingroup test_group
namespace example_namespace {
class some_class {};
}
I want to get a group page, that will contain all classes from namespaces and namespaces themselves. I know that adding "@ingroup" to class description gives me what I want, but in real program there are tens or even hundreds of classes in one namespace. There must be a better way.