i have some problem with doxygen documentation.
I want to have something like
E_SOME_ERROR | 0x000001 Detailed info about this error
Important think is that I need values generated by doxygen but I can't find any solution. Do you guys know if this is possible?
So for example
/**
* @brief Enum with error codes.
*/
enum enumName
{
ONE, /**< {HEX value} - 1st number */
TWO, /**< {HEX value} - 2nd number */
THREE, /**< {HEX value} - 3rd number */
FOUR, /**< {HEX value} - 4th number */
}
Should be generated in pdf like:
--------------------------------
| ONE | 0x0001 - 1st number |
--------------------------------
| TWO | 0x0002 - 2nd number |
--------------------------------
| THREE | 0x0003 - 3rd number |
--------------------------------
| FOUR | 0x0004 - 4th number |
--------------------------------
And each {HEX value} have to be generated by some macro or something like this not hardcoded.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…