Boost logo

Geometry :

Subject: [ggl] [Fwd: [Boost-docs] [Fwd: [Doxygen-users] [xml] Rule of <declname> for template parameters]]
From: Mateusz Loskot (mateusz)
Date: 2010-03-08 15:36:23


Folks,

I'm desperately looking for a piece of advice about Doxgen and XML
output generation. I posted question to Doxygen-users and Boost [1]
mailing lists, but no luck. Perhaps someone here would have a suggestion.

Mat

[1] http://lists.boost.org/MailArchives/boost-docs/2010/03/4014.php

-------- Original Message --------
Subject: [Boost-docs] [Fwd: [Doxygen-users] [xml] Rule of <declname>
for template parameters]
Date: Mon, 08 Mar 2010 18:26:05 +0000
From: Mateusz Loskot <mateusz_at_[hidden]>
Reply-To: Discussion of Boost Documentation <boost-docs_at_[hidden]>
To: boost-docs_at_[hidden]

Hi,

I'm having a problem with generating complete output for
template parameters by Doxygen to XML format and I've posted my
question to Doxygen list [1], but perhaps someone here
would know how to solve it too.

I attach my questions below.

[1]
http://sourceforge.net/mailarchive/message.php?msg_name=4B952EDB.5080103%40loskot.net

-------- Original Message --------
Subject: [Doxygen-users] [xml] Rule of <declname> for template parameters
Date: Mon, 08 Mar 2010 17:07:39 +0000
From: Mateusz Loskot <mateusz_at_[hidden]>
To: doxygen-users_at_[hidden]

Hi,

I'm generating XML output for C++ code using class/function templates.
I have noticed that in most cases, in XML output, names of template
parameters are not wrapped with <declname> element.

For example, for template function

template <typename Geometry>
void foo(Geometry const& g) {}

most of the times, doxygen generates

<templateparamlist>
<param>>
    <type>typename Geometry</type>
</param>
</templateparamlist>

where I would expect this:

<templateparamlist>
<param>>
    <type>typename</type>
   <declname>Geometry</declname>
   <defname>Geometry</defname>
</param>
</templateparamlist>

What is the rule controlling which version to generate for XML output?

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Doxygen-users mailing list
Doxygen-users_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
_______________________________________________
Boost-docs mailing list
Boost-docs_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-docs
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org

Geometry list run by mateusz at loskot.net