i'm writing documentation oh this code:
namespace A {
enum ENUM
{
/// \var step to frame
ENUM_1 = 0, //!< val1
ENUM_1 = 1, //!< val2
ENUM_2 = 2 //!< val3
};
}
in result, comments values of ENUM don't displayed.
When i remove the namespace, everything is good, but no now
You have to use this format:
namespace A {
/*!
* \addtogroup A
* @{
*/
/// step to frame
enum ENUM
{
ENUM_1 = 0, //!< val1
ENUM_1 = 1, //!< val2
ENUM_2 = 2 //!< val3
};
/*! @} */
}
You are placing the enum document header in the from place, it should be directly above the enum definition:
/// \brief Step to frame
enum ENUM
{
...
};
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With