[Doxygen-users] RE: problem with class hierarchies with templates
Brought to you by:
dimitri
From: Kris T. <kri...@ic...> - 2001-06-14 09:50:02
|
Hi, further on this problem. I've enabled the dot graphs now. And I am surprised with the result. First the hierarchy again: > The simplest > example of my problem is the following hierarchy > //! V > class V {}; > //! K > template <class T> class K : public T {}; > //! KV > class KV : public K<V> {}; > what is the result? DOT ENABLED ----------- - In the Class Hierarchy (hierarchy.html), it is not recognised that the hierarchy is KV : K<V>: V. (It just mentions KV: K). This is also true for the graphical hierarchy. - in the Inheritance diagram of K, I get confusingly KV : K : T (I'd prefer KV : K<T> : T and some indication that T is a template parameter) - in the Inheritance diagram of KV, I get CORRECTLY KV : K<V> : V DOT DISABLED ----------- - The Class Hierarchy (hierarchy.html) is the same. - in the Inheritance diagram of K, I get now KV : K - in the Inheritance diagram of KV, I get now KV : K<V> It's strange that the inheritances are different when dot is dis/enabled. I hope that it's easy to fix this, as at least one diagram was correct... Attached is my doxygen input file I used. All the best, Kris Thielemans PS: I'm on the mailing list again |