Hi again!
I am quite unsure whether my original mail got through. So I try it again,
describing my problem more detailed:
I've created a template class for vector/ matrix computation. Here's a
sniplet from vector.h:
-------------------------------------
/**
* @class Vector
*/
template<int N, typename T>class Vector {
public:
/**
* Standard constructor
*/
Vector() {}
-------------------------------------
For this template, I created some global, template functions, i.e. they are
not members of the class itself. E.g. (again vector.h):
-------------------------------------
/**
* cross product for dimension 3 vectors
*/
template <typename T>
Vector<3,T> cross(const Vector<3,T>& lhs, const Vector<3,T>& rhs) {
T tmp[3];
tmp[0] = lhs[1] * rhs[2] - lhs[2] * rhs[1];
tmp[1] = lhs[2] * rhs[0] - lhs[0] * rhs[2];
tmp[2] = lhs[0] * rhs[1] - lhs[1] * rhs[0];
return Vector<3,T>(tmp);
} /* !dot() */
-------------------------------------
When I generate the documentation (version 1.2.9.1), my class will be
documented was it should be. But I'm not able to discover the documentation
for my global template function.
Am I doing anything wrong?
btw: When I try to document my type definitions within the same header file
using
/**
* @var typedef Vector<4,int> Vector4i specialization of the base
template .....
*/
I don't get any results in the documentation either.
Thanks in advance,
Stephan
|