[Doxygen-develop] Support for C++ Template Classes
Brought to you by:
dimitri
From: Dirk R. <re...@ca...> - 2006-09-27 03:42:12
|
Hi everybody, we're using templates pretty heavily, and some of their methods don't go well with doxygen. We use a lot of template base classes that are specialized for different types (similar to vector<int>). To simplify things we use a lot of typedefs (like typdef vector<int> ivec). But given that they're just typedefs they don't show up in the class list or the inhertiance hierarchy, even though for all practical reasons they're classes. Any ideas how to make them show up as classes in an easy way? Right now the place to find them is in the namespace list, and that's not very intuitive. The second problem, and that is hairier, is using mixins or traits. The basic idea is that classes are constructed as templates and are derived from one of their template arguments, or one of the arguments internal types. I can understand that this would be very hard to do right, but I would like to take a look at it anyway, and maybe kludge it. Can anybody give me a hint where and how doxygen stores template classes? Thanks Dirk |