3 # Copyright (c) 2005, 2012-2014. The SimGrid Team.
6 # This program is free software; you can redistribute it and/or modify it
7 # under the terms of the license (GNU LGPL) which comes with this package.
9 ($#ARGV >= 1) or die "Usage: index_create.pl <input-tag-file> <output-doc-file>";
20 if($line=~/compound kind=/) {
22 $type =~ s/^[^\"]*\"//;
24 $line=<FILE>;chomp $line;
26 if($line=~/member kind=/) {
28 $type =~ s/^[^\"]*\"//;
30 $line=<FILE>;chomp $line;
34 $name =~ s/.*<name>//;
35 $name =~ s/<\/name>.*//;
36 $database{$type}{$name} = 1;
44 open OUTPUT,"> $output";
46 This file was generated by tools/doxygen/index_create.pl. DO NOT EDIT.
48 /** \\defgroup API_index Full Index
49 * \\brief The alphabetical list of all functions, macros and types
52 * List of all functions, variables, defines, enums, and typedefs with
53 * links to the files they belong to.
55 * \\htmlonly Although completely useless, the complete list of structures defined can be found <a href="annotated.html">here</a> \\endhtmlonly
60 foreach $type (qw(define enumeration enumvalue function typedef)) {
61 if(defined $database{$type}) {
62 print OUTPUT "<h2>$type</h2> \n <ul>\n";
63 foreach $name (sort keys %{$database{$type}}) {
64 if($type eq "function") {
65 print OUTPUT "\t<LI> $name()</LI>\n";
67 print OUTPUT "\t<LI> #$name</LI>\n";
70 print OUTPUT "\n </ul>\n";