Re: [Doxygen-users] =?iso-8859-1?q?Problem_with_documenting_generic_p?= =?iso-8859-1?q?arameter=09
Brought to you by:
dimitri
From: Steen M. <st...@db...> - 2007-07-17 12:26:25
|
Pardons for the *BUMP* After you all have had some summer sun in which to think about this little nagging obstruction, I wondered if any of you did come up with an answer or perhaps just a little bit of info or pointers? Best regards, Steen On Friday 25 May 2007 09:47, Steen Manniche wrote: > Sorry for the typo, the part in the generated documentation where it > reads "<cid:part1...>" should not have shown... The correct rendering > should be (in its complete form): > List<T> GenericList() where T > > Steen Manniche wrote: > > Hi. > > > > We have a problem generating dokumentation from certain generic classes > > in our code base. > > The problem consists of getting doxygen to show the parameter contraints > > from the C# code: > > > > C# example: > > > > using System; > > using System.Collections.Generic; > > public sealed class GenericsTest{ > > > > public List<T> GenericList <T>() where T:IDisposable{ > > return new List<T>(); > > } > > > > } > > > > This will show up in the documentation as: > > > > Public Member Functions > > List< T > GenericList () where T > > > > > > Thereby stripping the documentation of the information that the class > > itself is generic (the "GenericList<T>" bit) as well as the information > > on the parameter constraints(the "where T: IDisposable" bit) > > > > This looks like a neglection in the parsing of the c# source, which I > > would be happy to provide a patch to, if I was able to find my way > > through the doxygen code... > > > > Pointers, solutions or ideas are most welcome! > > > > Best regards, > > Steen Manniche > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Doxygen-users mailing list > > Dox...@li... > > https://lists.sourceforge.net/lists/listinfo/doxygen-users > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users -- Steen Manniche, Programmer. DanishBibliographicCentre Tempovej 7-11 2750 DK-Ballerup |