Hi Jari,

Although you could look at MemberDef::setAnchor() to see what is used, I think 
it
is better to generate a tag file, and parse that to get the mapping from names 
to anchors.
See GENERATE_TAGFILE. A tag file is an XML file with pretty straightforward 
contents.

Regards,
  Dimitri

> On 28 Sep 2015, at 18:05 , Jari Williamsson 
> <jari.williams...@mailbox.swipnet.se> wrote:
> 
> Damon,
> 
> Thanks for your suggestion! In my case, it's over 300 classes and 8,000 
> methods, so auto-detection of the MD5 hash anchor would be preferred. 
> But if I can't find out the MD5 hash generation text, I'll probably 
> create a parser of the source code to autogenerate @anchors instead.
> 
> 
> Best regards,
> 
> Jari Williamsson
> 
> 
> 
> On 2015-09-28 17:50, damon.car...@xcerra.com wrote:
>> Hello Jari
>> 
>> I don't know if you need to get a lot of these. I avoid this problem by
>> adding @anchor explicitly, so I can name it what I want. I hope that helps.
>> 
>> - Damon
>> 
>> Inactive hide details for Jari Williamsson ---09/28/2015 11:46:50
>> AM---Dear List, I'm trying to programmatically bring up the HJari
>> Williamsson ---09/28/2015 11:46:50 AM---Dear List, I'm trying to
>> programmatically bring up the HTML documentation for a C++
>> 
>> 
>>    From:
>> 
>>      
>> Jari Williamsson <jari.williams...@mailbox.swipnet.se>
>> 
>>    To:
>> 
>>      
>> doxygen-users@lists.sourceforge.net,
>> 
>>    Date:
>> 
>>      
>> 09/28/2015 11:46 AM
>> 
>>    Subject:
>> 
>>      
>> [Doxygen-users] MD5 Hash of C++ methods?
>> 
>> ------------------------------------------------------------------------
>> 
>> 
>> 
>> Dear List,
>> 
>> I'm trying to programmatically bring up the HTML documentation for a C++
>> method, using the MD5 hash anchor for the method. (I have no problem
>> finding the correct HTML file, since the class "MyClass" simply becomes
>> "class_my_class.html".)
>> 
>> However, I have trouble founding out the text that is used to becomes
>> the MD5 anchor for the method.
>> 
>> So, if I have a method in "MyClass" declared as...
>> int MyMethod() const;
>> ...what is the text that will be used to construct the MD5 hash anchor
>> for the method in the HTML file?
>> 
>> Thanks in advance!
>> 
>> 
>> Best regards,
>> 
>> Jari Williamsson
>> 


------------------------------------------------------------------------------
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to