Modify

Opened 8 years ago

Last modified 7 years ago

#868 new defect

Search for class methods

Reported by: dirk@… Owned by: cboos
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@… 8 years ago.
Method link patch
doxygen_methods-0.11.diff (5.9 KB) - added by cwick 5 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 (4)

Changed 8 years ago by dirk@…

Method link patch

comment:1 Changed 8 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 7 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 5 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.

Add Comment

Modify Ticket

Action
as new The owner will remain cboos.
Author


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

 
Note: See TracTickets for help on using tickets.