graph_legend.html 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  5. <title>GTL - Graph Template Library: Graph Legend</title>
  6. <link href="doxygen.css" rel="stylesheet" type="text/css">
  7. </head>
  8. <body>
  9. <p class="links">
  10. <a href="../index.html">Home</a> |
  11. Documentation |
  12. <a href="../register.html">Download</a> |
  13. <a href="../platforms.html">Platforms</a> |
  14. <a href="../refer.html">Projects</a> |
  15. <a href="../lists.html">Mailing Lists</a> |
  16. <a href="../history.html">Version History</a>
  17. </p>
  18. <!-- Generated by Doxygen 1.5.3 -->
  19. <div class="tabs">
  20. <ul>
  21. <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
  22. <li><a href="classes.html"><span>Classes</span></a></li>
  23. <li><a href="files.html"><span>Files</span></a></li>
  24. <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  25. </ul>
  26. </div>
  27. <h1>Graph Legend</h1>This page explains how to interpret the graphs that are generated by doxygen.<p>
  28. Consider the following example: <div class="fragment"><pre class="fragment"><span class="comment">/*! Invisible class because of truncation */</span>
  29. <span class="keyword">class </span>Invisible { };
  30. <span class="comment"></span>
  31. <span class="comment">/*! Truncated class, inheritance relation is hidden */</span>
  32. <span class="keyword">class </span>Truncated : <span class="keyword">public</span> Invisible { };
  33. <span class="comment">/* Class not documented with doxygen comments */</span>
  34. <span class="keyword">class </span>Undocumented { };
  35. <span class="comment"></span>
  36. <span class="comment">/*! Class that is inherited using public inheritance */</span>
  37. <span class="keyword">class </span>PublicBase : <span class="keyword">public</span> Truncated { };
  38. <span class="comment"></span>
  39. <span class="comment">/*! A template class */</span>
  40. <span class="keyword">template</span>&lt;<span class="keyword">class</span> T&gt; <span class="keyword">class </span>Templ { };
  41. <span class="comment"></span>
  42. <span class="comment">/*! Class that is inherited using protected inheritance */</span>
  43. <span class="keyword">class </span>ProtectedBase { };
  44. <span class="comment"></span>
  45. <span class="comment">/*! Class that is inherited using private inheritance */</span>
  46. <span class="keyword">class </span>PrivateBase { };
  47. <span class="comment"></span>
  48. <span class="comment">/*! Class that is used by the Inherited class */</span>
  49. <span class="keyword">class </span>Used { };
  50. <span class="comment"></span>
  51. <span class="comment">/*! Super class that inherits a number of other classes */</span>
  52. <span class="keyword">class </span>Inherited : <span class="keyword">public</span> PublicBase,
  53. <span class="keyword">protected</span> ProtectedBase,
  54. <span class="keyword">private</span> PrivateBase,
  55. <span class="keyword">public</span> Undocumented,
  56. <span class="keyword">public</span> Templ&lt;int&gt;
  57. {
  58. <span class="keyword">private</span>:
  59. Used *m_usedClass;
  60. };
  61. </pre></div> If the <code>MAX_DOT_GRAPH_HEIGHT</code> tag in the configuration file is set to 240 this will result in the following <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a>:<p>
  62. <center><div align="center">
  63. <img src="graph_legend.gif" alt="graph_legend.gif">
  64. </div>
  65. </center> <p>
  66. The boxes in the above <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> have the following meaning: <ul>
  67. <li>
  68. A filled gray box represents the struct or class for which the <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> is generated. </li>
  69. <li>
  70. A box with a black border denotes a documented struct or class. </li>
  71. <li>
  72. A box with a grey border denotes an undocumented struct or class. </li>
  73. <li>
  74. A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> is truncated if it does not fit within the specified boundaries. </li>
  75. </ul>
  76. The arrows have the following meaning: <ul>
  77. <li>
  78. A dark blue arrow is used to visualize a public inheritance relation between two classes. </li>
  79. <li>
  80. A dark green arrow is used for protected inheritance. </li>
  81. <li>
  82. A dark red arrow is used for private inheritance. </li>
  83. <li>
  84. A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible. </li>
  85. <li>
  86. A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance. </li>
  87. </ul>
  88. <p class="links">
  89. <a href="http://www.uni-passau.de/">University of Passau</a>
  90. &nbsp;-&nbsp;
  91. <a href="http://www.fmi.uni-passau.de/">FMI</a>
  92. &nbsp;-&nbsp;
  93. <a href="http://www.fmi.uni-passau.de/fmi/lehrstuehle/brandenburg/">Theoretical
  94. Computer Science</a>
  95. </p>
  96. <div class="copyright">
  97. Design &copy; 2002, 2003 <a href="mailto:raitner@fmi.uni-passau.de">Marcus Raitner</a>, University of Passau
  98. </div>
  99. </body>
  100. </html>