Re: [Doxygen-develop] Extracting parameter type from XML ?
Brought to you by:
dimitri
From: Carsten Z. <car...@at...> - 2002-11-15 09:06:06
|
Am Don, 2002-11-14 um 19.02 schrieb Dimitri van Heesch: > { > case ILinkedText::Kind_Text: // plain text > result+=dynamic_cast<ILT_Text*>(lt)->text()->latin1(); break; > case ILinkedText::Kind_Ref: // a link > result+=dynamic_cast<ILT_Ref *>(lt)->text()->latin1(); break; > } Hello Dimitri, thanks very much. As I wrote to much java the last years, the dynamic_cast did not come to my mind. I assume that the same solution will work to extract the documentation within IDocRoot* docRoot = myMethod->detailedDescription(); IDocIterator* docit = docRoot->contents(); IDoc doc; for (docit->toFirst();(doc=docit->current());docit->toNext()) { }; docit-release(); ? If yes, do you have an example available as well ? Thanks, Carsten -- Carsten Zerbst <car...@at...> Atlantec Enterprise |