"in which API documentation to find the corresponding reference.\n" \
"<p>" \
"This file is automatically generated, so please excuse the strange layout.\n" \
+ "Furthermore, please note that the script is not perfect, and even though it\n" \
+ "tries to identify the file corresponding to each class, it is not always\n" \
+ "able to do so, in particular in presence of nested classes or explicitely\n" \
+ "specialized templates, or if a class name appears more than once (e.g. as local\n" \
+ "classes in other classes). In this case, no link is presented with the name,\n" \
+ "but you can nevertheless get at the documentation of the class by clicking on\n" \
+ "the link leading to the top page for each sub-library; this link is at the top\n" \
+ "of each of the following sections.\n" \
>> $@
echo '<table>\n' >> $@ ; \
for dir in $D/base/include/base \
@classes = (@classes, $$_); \
} \
print " <tr>\n"; \
+ $$allfiles = `ls -1 auto/kdoc/*/*.html`; \
$$n_classes = $$#classes + 1; \
for ($$col=0; $$col<3; $$col++) { \
print " <td>\n"; \
for ($$i=0; $$i<$$n_classes/3; $$i++) { \
- print " $$classes[$$i+$$col*($$n_classes+1)/3]<br>\n";\
+ $$classname = $$classes[$$i+$$col*($$n_classes+1)/3]; \
+ $$mangledname = $$classname; \
+ $$mangledname =~ s/</\@3C/g; \
+ $$mangledname =~ s/>/\@3E/g; \
+ $$mangledname =~ s/ /\@20/g; \
+ $$filename = `echo \"$$allfiles\"|egrep \"/([a-zA-Z0-9_\@]+__)*$$mangledname.html\"`; \
+ $$filename =~ s/\n/ /g; \
+ $$filename =~ s/\s+$$//g; \
+ if ($$filename =~ / / || $$filename eq "") { \
+ print " $$classname<br>\n"; \
+ } else { \
+ print " <a href=\"$$filename\" target=\"body\">$$classname</a><br>\n";\
+ } \
} \
print " </td>\n"; \
} \