Modify

Opened 10 years ago

Closed 13 months ago

Last modified 13 months ago

#868 closed defect (fixed)

Search for class methods

Reported by: dirk@… Owned by: Committo-Ergo-Sum
Priority: normal Component: DoxygenPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Updated version of #780 with some new features.

It is now possible to directly link to methods in the doxygen documentation, for example:

[dox:"TypeTraits<bool>::getMin"]
[dox:"VectorInterface::operator *"]
[dox:"VectorInterface::VectorInterface(const ValueTypeT *pVals)"]
[dox:"osg::VectorInterface::squareLength(void) const"]

(go to http://opensg.vrsource.org/trac/wiki/Sandbox/TestPage to see it live)

all work, i.e. it is possible to link to pretty much anything, including operators and overloaded methods. The detection is not very robust, i.e. argument names must match etc., but it's useful.

The code is not the nicest (still getting the hang of python), but seems to work well enough for us.

Hope it helps

Dirk

Attachments (2)

doxygen_methods.diff (8.0 KB) - added by dirk@… 10 years ago.
Method link patch
doxygen_methods-0.11.diff (5.9 KB) - added by Carmen Wick 7 years ago.
This is a modified version of the original patch that works with Trac 0.11. It also fixes a bug that prevented you from using custom link names to class methods.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by dirk@…

Attachment: doxygen_methods.diff added

Method link patch

comment:1 Changed 10 years ago by Radek Bartoň

Owner: changed from Radek Bartoň to Christian Boos

Thank you for your patch. I think that cboos is more competent in DoxygenPlugin now so he should look on it.

comment:2 Changed 9 years ago by Michael Hammer <michael@…>

I am wondering if there is any further proceeding on this feature request? I would be really interested in seeing this in the doxygenplugin.

Changed 7 years ago by Carmen Wick

Attachment: doxygen_methods-0.11.diff added

This is a modified version of the original patch that works with Trac 0.11. It also fixes a bug that prevented you from using custom link names to class methods.

comment:3 Changed 13 months ago by Committo-Ergo-Sum

Resolution: fixed
Status: newclosed

In 15379:

DoxygenPlugin: Search for class methods was not working. Fixes #868. And fixes minor bugs.

comment:4 Changed 13 months ago by Ryan J Ollos

Owner: changed from Christian Boos to Committo-Ergo-Sum

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Committo-Ergo-Sum.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.