Is it possible to document a group of enum values, similar to this (this example doesn’t work):
enum MyEnum
{
MYENUM_FIRST,
//@{
//@name These two members' description
MYENUM_SECOND,
MYENUM_THIRD,
//@}
MYENUM_FOURTH, ///third member documentation
MYENUM_FIFTH
};
Two immediate things which stand out:
You are not documenting
MYENUM_SECONDorMYENUM_THIRDsince you have not wrapped them with valid doxygen comments: your should write///@{instead of//@{.Your documentation of
MYENUM_FOURTHshould beotherwise you are documenting
MYENUM_FIFTHinstead ofMYENUM_FOURTH.I could get documentation for both
MYENUM_SECONDandMYENUM_THIRDby using the following codeand by setting
DISTRIBUTE_GROUP_DOC = YESin the configuration file. Note that I have removed the\namecommand from your example.