• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>BoostBook element inherit</title>
6<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
8<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
9<link rel="up" href="../../reference.html" title="Reference">
10<link rel="prev" href="union.html" title="BoostBook element union">
11<link rel="next" href="template-varargs.html" title="BoostBook element template-varargs">
12</head>
13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14<table cellpadding="2" width="100%"><tr>
15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
16<td align="center"><a href="../../../../index.html">Home</a></td>
17<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
20<td align="center"><a href="../../../../more/index.htm">More</a></td>
21</tr></table>
22<hr>
23<div class="spirit-nav">
24<a accesskey="p" href="union.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="template-varargs.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
25</div>
26<div class="refentry">
27<a name="boostbook.dtd.inherit"></a><div class="titlepage"></div>
28<div class="refnamediv">
29<h2><span class="refentrytitle">
30          BoostBook element <code class="sgmltag-element">inherit</code></span></h2>
31<p>inherit — Declares a base class of the enclosing class or struct</p>
32</div>
33<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
34<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv">inherit ::=
35  (<a class="link" href="type.html" title="BoostBook element type">type</a>, <a class="link" href="purpose.html" title="BoostBook element purpose">purpose</a>?)
36</div>
37<div class="refsection">
38<a name="id-1.4.3.7.16.4"></a><h2>Description</h2>
39<p>This element contains the type of the class inherited.</p>
40</div>
41<div class="refsection">
42<a name="id-1.4.3.7.16.5"></a><h2>Attributes</h2>
43<div class="informaltable"><table class="table">
44<colgroup>
45<col>
46<col>
47<col>
48<col>
49</colgroup>
50<thead><tr>
51<th>Name</th>
52<th>Type</th>
53<th>Value</th>
54<th>Purpose</th>
55</tr></thead>
56<tbody>
57<tr>
58<td>last-revision</td>
59<td>#IMPLIED</td>
60<td>CDATA</td>
61<td>Set to $Date$ to keep "last revised" information in sync with CVS changes</td>
62</tr>
63<tr>
64<td>access</td>
65<td>#IMPLIED</td>
66<td>CDATA</td>
67<td>The access specifier ("public", "private", or "protected") of the inheritance.</td>
68</tr>
69<tr>
70<td>id</td>
71<td>#IMPLIED</td>
72<td>CDATA</td>
73<td>A global identifier for this element</td>
74</tr>
75<tr>
76<td>pack</td>
77<td>#IMPLIED</td>
78<td>CDATA</td>
79<td>Set to '1' if this is a pack exapansion.</td>
80</tr>
81<tr>
82<td>xml:base</td>
83<td>#IMPLIED</td>
84<td>CDATA</td>
85<td>Implementation detail used by XIncludes</td>
86</tr>
87</tbody>
88</table></div>
89</div>
90</div>
91<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
92<td align="left"></td>
93<td align="right"><div class="copyright-footer">Copyright © 2003-2005 Douglas Gregor<p>Distributed under the Boost Software License, Version 1.0.
94      (See accompanying file LICENSE_1_0.txt or copy at
95      <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>).
96      </p>
97</div></td>
98</tr></table>
99<hr>
100<div class="spirit-nav">
101<a accesskey="p" href="union.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="template-varargs.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
102</div>
103</body>
104</html>
105