I am using Doxygen to document my c++ code. I have read this StackOverflow post about the difference between \return and \param[out]
Difference between param[out] and return in doxygen?
param[out] is used if you are setting something with a pointer in your function. If I have a method which sets a variable within its class is it still correct to use param[out] (the function is void)?
An example of what I mean - I have a method to convert polar coordinate inputs to Cartesian.
classConstructor(azimuth, elevation, roll)
{
//set azimuth, elevation, roll
convertToCartesian(azimuth, elevation, roll)
}
convertToCartesian(azimuth, elevation, roll)
{
//someCode
xPos = calcVector.X
yPos = calcVector.Y
zPos = calcVector.Z
}
xPos, yPos and xPos are private variables in my class, they are used later (accessed via getters);