~ubuntu-branches/ubuntu/precise/gtkmm3.0/precise

« back to all changes in this revision

Viewing changes to docs/reference/html/graph_legend.html

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2011-06-17 00:12:44 UTC
  • Revision ID: james.westby@ubuntu.com-20110617001244-9hl5an15hiaaahi6
Tags: upstream-3.0.1
ImportĀ upstreamĀ versionĀ 3.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 
5
<title>gtkmm: Graph Legend</title>
 
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
 
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
 
8
</head>
 
9
<body>
 
10
<!-- Generated by Doxygen 1.7.3 -->
 
11
<div id="top">
 
12
<div id="titlearea">
 
13
<table cellspacing="0" cellpadding="0">
 
14
 <tbody>
 
15
 <tr style="height: 56px;">
 
16
  <td style="padding-left: 0.5em;">
 
17
   <div id="projectname">gtkmm&#160;<span id="projectnumber">3.0.1</span></div>
 
18
  </td>
 
19
 </tr>
 
20
 </tbody>
 
21
</table>
 
22
</div>
 
23
  <div id="navrow1" class="tabs">
 
24
    <ul class="tablist">
 
25
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
 
26
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
 
27
      <li><a href="modules.html"><span>Modules</span></a></li>
 
28
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 
29
      <li><a href="annotated.html"><span>Classes</span></a></li>
 
30
    </ul>
 
31
  </div>
 
32
</div>
 
33
<div class="header">
 
34
  <div class="headertitle">
 
35
<h1>Graph Legend</h1> </div>
 
36
</div>
 
37
<div class="contents">
 
38
<p>This page explains how to interpret the graphs that are generated by doxygen.</p>
 
39
<p>Consider the following example: </p>
 
40
<div class="fragment"><pre class="fragment"><span class="comment">/*! Invisible class because of truncation */</span>
 
41
<span class="keyword">class </span>Invisible { };
 
42
<span class="comment"></span>
 
43
<span class="comment">/*! Truncated class, inheritance relation is hidden */</span>
 
44
<span class="keyword">class </span>Truncated : <span class="keyword">public</span> Invisible { };
 
45
 
 
46
<span class="comment">/* Class not documented with doxygen comments */</span>
 
47
<span class="keyword">class </span>Undocumented { };
 
48
<span class="comment"></span>
 
49
<span class="comment">/*! Class that is inherited using public inheritance */</span>
 
50
<span class="keyword">class </span>PublicBase : <span class="keyword">public</span> Truncated { };
 
51
<span class="comment"></span>
 
52
<span class="comment">/*! A template class */</span>
 
53
<span class="keyword">template</span>&lt;<span class="keyword">class</span> T&gt; <span class="keyword">class </span>Templ { };
 
54
<span class="comment"></span>
 
55
<span class="comment">/*! Class that is inherited using protected inheritance */</span>
 
56
<span class="keyword">class </span>ProtectedBase { };
 
57
<span class="comment"></span>
 
58
<span class="comment">/*! Class that is inherited using private inheritance */</span>
 
59
<span class="keyword">class </span>PrivateBase { };
 
60
<span class="comment"></span>
 
61
<span class="comment">/*! Class that is used by the Inherited class */</span>
 
62
<span class="keyword">class </span>Used { };
 
63
<span class="comment"></span>
 
64
<span class="comment">/*! Super class that inherits a number of other classes */</span>
 
65
<span class="keyword">class </span>Inherited : <span class="keyword">public</span> PublicBase,
 
66
                  <span class="keyword">protected</span> ProtectedBase,
 
67
                  <span class="keyword">private</span> PrivateBase,
 
68
                  <span class="keyword">public</span> Undocumented,
 
69
                  <span class="keyword">public</span> Templ&lt;int&gt;
 
70
{
 
71
  <span class="keyword">private</span>:
 
72
    Used *m_usedClass;
 
73
};
 
74
</pre></div><p> This will result in the following graph:</p>
 
75
<center><div align="center">
 
76
<img src="graph_legend.png" alt="graph_legend.png"/>
 
77
</div>
 
78
</center> <p>The boxes in the above graph have the following meaning: </p>
 
79
<ul>
 
80
<li>
 
81
A filled gray box represents the struct or class for which the graph is generated. </li>
 
82
<li>
 
83
A box with a black border denotes a documented struct or class. </li>
 
84
<li>
 
85
A box with a grey border denotes an undocumented struct or class. </li>
 
86
<li>
 
87
A 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>
 
88
</ul>
 
89
<p>The arrows have the following meaning: </p>
 
90
<ul>
 
91
<li>
 
92
A dark blue arrow is used to visualize a public inheritance relation between two classes. </li>
 
93
<li>
 
94
A dark green arrow is used for protected inheritance. </li>
 
95
<li>
 
96
A dark red arrow is used for private inheritance. </li>
 
97
<li>
 
98
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>
 
99
<li>
 
100
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>
 
101
</ul>
 
102
</div>
 
103
<hr class="footer"/><address class="footer"><small>Generated on Mon May 9 2011 10:20:12 for gtkmm by&#160;
 
104
<a href="http://www.doxygen.org/index.html">
 
105
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
 
106
</body>
 
107
</html>