root/doc/html/graph_legend.html @ 255

Revision 255, 4.5 kB (checked in by smidl, 16 years ago)

doc

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: Graph Legend</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.6 -->
8<div class="navigation" id="top">
9  <div class="tabs">
10    <ul>
11      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
13      <li><a href="modules.html"><span>Modules</span></a></li>
14      <li><a href="annotated.html"><span>Classes</span></a></li>
15      <li><a href="files.html"><span>Files</span></a></li>
16    </ul>
17  </div>
18</div>
19<div class="contents">
20<h1>Graph Legend</h1>This page explains how to interpret the graphs that are generated by doxygen.<p>
21Consider the following example: <div class="fragment"><pre class="fragment"><span class="comment">/*! Invisible class because of truncation */</span>
22<span class="keyword">class </span>Invisible { };
23<span class="comment"></span>
24<span class="comment">/*! Truncated class, inheritance relation is hidden */</span>
25<span class="keyword">class </span>Truncated : <span class="keyword">public</span> Invisible { };
26
27<span class="comment">/* Class not documented with doxygen comments */</span>
28<span class="keyword">class </span>Undocumented { };
29<span class="comment"></span>
30<span class="comment">/*! Class that is inherited using public inheritance */</span>
31<span class="keyword">class </span>PublicBase : <span class="keyword">public</span> Truncated { };
32<span class="comment"></span>
33<span class="comment">/*! A template class */</span>
34<span class="keyword">template</span>&lt;<span class="keyword">class</span> T&gt; <span class="keyword">class </span>Templ { };
35<span class="comment"></span>
36<span class="comment">/*! Class that is inherited using protected inheritance */</span>
37<span class="keyword">class </span>ProtectedBase { };
38<span class="comment"></span>
39<span class="comment">/*! Class that is inherited using private inheritance */</span>
40<span class="keyword">class </span>PrivateBase { };
41<span class="comment"></span>
42<span class="comment">/*! Class that is used by the Inherited class */</span>
43<span class="keyword">class </span>Used { };
44<span class="comment"></span>
45<span class="comment">/*! Super class that inherits a number of other classes */</span>
46<span class="keyword">class </span>Inherited : <span class="keyword">public</span> PublicBase,
47                  <span class="keyword">protected</span> ProtectedBase,
48                  <span class="keyword">private</span> PrivateBase,
49                  <span class="keyword">public</span> Undocumented,
50                  <span class="keyword">public</span> Templ&lt;int&gt;
51{
52  <span class="keyword">private</span>:
53    Used *m_usedClass;
54};
55</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 graph:<p>
56<center><div align="center">
57<img src="graph_legend.png" alt="graph_legend.png">
58</div>
59</center> <p>
60The boxes in the above graph have the following meaning: <ul>
61<li>
62A filled gray box represents the struct or class for which the graph is generated. </li>
63<li>
64A box with a black border denotes a documented struct or class. </li>
65<li>
66A box with a grey border denotes an undocumented struct or class. </li>
67<li>
68A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries. </li>
69</ul>
70The arrows have the following meaning: <ul>
71<li>
72A dark blue arrow is used to visualize a public inheritance relation between two classes. </li>
73<li>
74A dark green arrow is used for protected inheritance. </li>
75<li>
76A dark red arrow is used for private inheritance. </li>
77<li>
78A 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>
79<li>
80A 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>
81</ul>
82</div>
83<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jan 27 16:31:58 2009 for mixpp by&nbsp;
84<a href="http://www.doxygen.org/index.html">
85<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
86</body>
87</html>
Note: See TracBrowser for help on using the browser.