Blame doc/librpm/html/graph_legend.html

2ff057
2ff057
<html xmlns="http://www.w3.org/1999/xhtml">
2ff057
<head>
2ff057
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
2ff057
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
2ff057
<meta name="generator" content="Doxygen 1.8.14"/>
2ff057
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2ff057
<title>rpm: Graph Legend</title>
2ff057
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2ff057
<script type="text/javascript" src="jquery.js"></script>
2ff057
<script type="text/javascript" src="dynsections.js"></script>
2ff057
<link href="doxygen.css" rel="stylesheet" type="text/css" />
2ff057
</head>
2ff057
<body>
2ff057
2ff057
2ff057
2ff057
 
2ff057
 
2ff057
  
2ff057
   
rpm
2ff057
    4.14.2
2ff057
   
2ff057
  
2ff057
 
2ff057
 
2ff057
2ff057
2ff057
2ff057
2ff057
<script type="text/javascript" src="menudata.js"></script>
2ff057
<script type="text/javascript" src="menu.js"></script>
2ff057
<script type="text/javascript">
2ff057
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
2ff057
$(function() {
2ff057
  initMenu('',false,false,'search.php','Search');
2ff057
});
2ff057
/* @license-end */</script>
2ff057
2ff057
2ff057
2ff057
  
2ff057
Graph Legend
2ff057
2ff057
2ff057

This page explains how to interpret the graphs that are generated by doxygen.

2ff057

Consider the following example:

/*! Invisible class because of truncation */
class Invisible { };
/*! Truncated class, inheritance relation is hidden */
class Truncated : public Invisible { };
/* Class not documented with doxygen comments */
class Undocumented { };
/*! Class that is inherited using public inheritance */
class PublicBase : public Truncated { };
/*! A template class */
template<class T> class Templ { };
/*! Class that is inherited using protected inheritance */
class ProtectedBase { };
/*! Class that is inherited using private inheritance */
class PrivateBase { };
/*! Class that is used by the Inherited class */
class Used { };
/*! Super class that inherits a number of other classes */
class Inherited : public PublicBase,
protected ProtectedBase,
private PrivateBase,
public Undocumented,
public Templ<int>
{
private:
Used *m_usedClass;
};

This will result in the following graph:

2ff057
<center>
2ff057
2ff057
2ff057
</center>

The boxes in the above graph have the following meaning:

2ff057
    2ff057
  • 2ff057
    A filled gray box represents the struct or class for which the graph is generated. 
    2ff057
  • 2ff057
    A box with a black border denotes a documented struct or class. 
    2ff057
  • 2ff057
    A box with a gray border denotes an undocumented struct or class. 
    2ff057
  • 2ff057
    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. 
    2ff057
    2ff057

    The arrows have the following meaning:

    2ff057
      2ff057
    • 2ff057
      A dark blue arrow is used to visualize a public inheritance relation between two classes. 
      2ff057
    • 2ff057
      A dark green arrow is used for protected inheritance. 
      2ff057
    • 2ff057
      A dark red arrow is used for private inheritance. 
      2ff057
    • 2ff057
      A purple dashed arrow is used if a class is contained or used by another class. The arrow is labelled with the variable(s) through which the pointed class or struct is accessible. 
      2ff057
    • 2ff057
      A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labelled with the template parameters of the instance. 
      2ff057
      2ff057
      2ff057
      2ff057

      <address class="footer"><small>
      2ff057
      Generated by  
      2ff057
      doxygen
      2ff057
       1.8.14
      2ff057
      </small></address>
      2ff057
      </body>
      2ff057
      </html>