Modify

Opened 10 years ago

Closed 6 months ago

Last modified 6 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 cwick 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@…

Method link patch

comment:1 Changed 10 years ago by Blackhex

  • Owner changed from Blackhex to cboos

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 cwick

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 6 months ago by Committo-Ergo-Sum

  • Resolution set to fixed
  • Status changed from new to closed

In 15379:

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

comment:4 Changed 6 months ago by rjollos

  • Owner changed from cboos to Committo-Ergo-Sum

Add Comment

Modify Ticket

Action
as closed The owner will remain Committo-Ergo-Sum.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.