summaryrefslogtreecommitdiff
path: root/doc/html/boostbook/dtd/namespace.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/boostbook/dtd/namespace.html')
-rw-r--r--doc/html/boostbook/dtd/namespace.html120
1 files changed, 120 insertions, 0 deletions
diff --git a/doc/html/boostbook/dtd/namespace.html b/doc/html/boostbook/dtd/namespace.html
new file mode 100644
index 0000000000..4a02cce0d0
--- /dev/null
+++ b/doc/html/boostbook/dtd/namespace.html
@@ -0,0 +1,120 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>
+ BoostBook element namespace</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
+<link rel="start" href="../../index.html" title="The Boost C++ Libraries">
+<link rel="up" href="../../reference.html" title="Chapter 20. Reference">
+<link rel="prev" href="constructor.html" title="
+ BoostBook element constructor">
+<link rel="next" href="if-fails.html" title="
+ BoostBook element if-fails">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center"><a href="../../../../index.htm">Home</a></td>
+<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
+<td align="center"><a href="../../../../people/people.htm">People</a></td>
+<td align="center"><a href="../../../../more/faq.htm">FAQ</a></td>
+<td align="center"><a href="../../../../more/index.htm">More</a></td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="constructor.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../reference.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="if-fails.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" lang="en">
+<a name="boostbook.dtd.namespace"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">
+ BoostBook element <code class="sgmltag-element">namespace</code></span></h2>
+<p>namespace &#8212; Declares a namespace</p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
+<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv">namespace ::=
+ (<a href="class.html" title="
+ BoostBook element class">class</a>| <a href="class-specialization.html" title="
+ BoostBook element class-specialization">class-specialization</a>| <a href="struct.html" title="
+ BoostBook element struct">struct</a>| <a href="struct-specialization.html" title="
+ BoostBook element struct-specialization">struct-specialization</a>| <a href="union.html" title="
+ BoostBook element union">union</a>| <a href="union-specialization.html" title="
+ BoostBook element union-specialization">union-specialization</a>| <a href="typedef.html" title="
+ BoostBook element typedef">typedef</a>| <a href="enum.html" title="
+ BoostBook element enum">enum</a>| <a href="free-function-group.html" title="
+ BoostBook element free-function-group">free-function-group</a>| <a href="function.html" title="
+ BoostBook element function">function</a>| <a href="overloaded-function.html" title="
+ BoostBook element overloaded-function">overloaded-function</a>| <a href="namespace.html" title="
+ BoostBook element namespace">namespace</a>)*
+</div>
+<div class="refsection" lang="en">
+<a name="id1695385"></a><h2>Description</h2>
+<p>BoostBook namespaces are declared via the &lt;namespace&gt;
+ element. As in C++, namespaces can be nested and contain other C++
+ constructs, such as classes or functions. The <code class="computeroutput">name</code>
+ attribute of a &lt;namespace&gt; element gives the namespace name
+ (e.g., "boost"). The <a href="../../any.html" title="Chapter 1. Boost.Any">Any</a> library is
+ defined entirely within namespace boost by:</p>
+<pre class="programlisting">&lt;library-reference&gt;
+ &lt;header name="boost/any.hpp"&gt;
+ &lt;namespace name="boost"&gt;
+ &lt;!-- C++ constructs in the boost namespace --&gt;
+ &lt;/namespace&gt;
+ &lt;/header&gt;
+&lt;/library-reference&gt;</pre>
+</div>
+<div class="refsection" lang="en">
+<a name="id1695418"></a><h2>Attributes</h2>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>Name</th>
+<th>Type</th>
+<th>Value</th>
+<th>Purpose</th>
+</tr></thead>
+<tbody>
+<tr>
+<td>last-revision</td>
+<td>#IMPLIED</td>
+<td>CDATA</td>
+<td>Set to $Date$ to keep "last revised" information in sync with CVS changes</td>
+</tr>
+<tr>
+<td>name</td>
+<td>#REQUIRED</td>
+<td>CDATA</td>
+<td>The name of the element being declared to referenced</td>
+</tr>
+<tr>
+<td>id</td>
+<td>#IMPLIED</td>
+<td>CDATA</td>
+<td>A global identifier for this element</td>
+</tr>
+<tr>
+<td>xml:base</td>
+<td>#IMPLIED</td>
+<td>CDATA</td>
+<td>Implementation detail used by XIncludes</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2003-2005 Douglas Gregor</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="constructor.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../reference.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="if-fails.html"><img src="../../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>