I'm working on a documentation of a source code using Doxygen.
I found that Doxygen interpretes within the following code:
#include <QPoint>
namespace space {
//! first common length
const quint16 val1 = 10;
//! second common length
const quint16 val2 = 10;
//! a point
const QPoint myPoint(val1, val2);
}
myPoint
as member method and warns:
header.h:30: warning: return type of member space::myPoint is not documented
header.h:30: warning: parameters of member space::myPoint are not (all) documented
But myPoint
is a constant attribute not a method. I think this line really has the same syntax as a method declaration. So this misinterpretation is expectable.
Is there a way to force Doxygen to interprete this line as a specific type?