Hi there,
I'm having trouble getting doxygen (1.7.3) to print file name for an enumeration or typedef.
Following its documentation:
Doxygen
It is easy to add a nice hyperlink to class definition. All I need to do is:
Code:
////////////////////////////////////////////////////////////////////////////////
///
/// @class token ssc/lexer/token.hpp
/// @brief Class holding information about single token.
///
////////////////////////////////////////////////////////////////////////////////
class token {
...
};
This nicely documents class 'token' and effectively creates a hyperlink to file in which it is declared. I would like to do same for enums and typedefs. Unfortunately @enum and @typedef do not have an additional <file-name> parameter (as seen in the documentation), thus writing:
Code:
////////////////////////////////////////////////////////////////////////////////
///
/// @typedef token_sequence ssc/lexer/token.hpp
/// @brief Token sequence.
///
////////////////////////////////////////////////////////////////////////////////
typedef std::vector<token> token_sequence;
results in an obvious error:
D:/.../ssc/lexer/token.hpp:110: warning: documented function `token_sequence ssc lexer token ssc::hpp' was not declared or defined.
So my question is: is there a nice way to solve this (similar to @class) or do I need to hardcore the hyperlink? The files (and namespaces) are all properly documented (the class is defined in the same file as the typedef and class' hyperlink DOES work).
Thanks.