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.
11 ($#ARGV >= 1) or die "Usage: index_create.pl <input-tag-file> <output-doc-file>";
22 if($line=~/compound kind=/) {
24 $type =~ s/^[^\"]*\"//;
26 $line=<FILE>;chomp $line;
28 if($line=~/member kind=/) {
30 $type =~ s/^[^\"]*\"//;
32 $line=<FILE>;chomp $line;
36 $name =~ s/.*<name>//;
37 $name =~ s/<\/name>.*//;
38 $database{$type}{$name} = 1;
46 open OUTPUT,"> $output";
48 This file was generated by tools/doxygen/index_create.pl. DO NOT EDIT.
50 /** \\defgroup API_index Full Index
51 * \\brief The alphabetical list of all functions, macros and types
54 * List of all functions, variables, defines, enums, and typedefs with
55 * links to the files they belong to.
57 * \\htmlonly Although completely useless, the complete list of structures defined can be found <a href="annotated.html">here</a> \\endhtmlonly
62 foreach $type (qw(define enumeration enumvalue function typedef)) {
63 if(defined $database{$type}) {
64 print OUTPUT "<h2>$type</h2> \n <ul>\n";
65 foreach $name (sort keys %{$database{$type}}) {
66 if($type eq "function") {
67 print OUTPUT "\t<LI> $name()</LI>\n";
69 print OUTPUT "\t<LI> #$name</LI>\n";
72 print OUTPUT "\n </ul>\n";