1 | <html> |
---|
2 | <head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
---|
4 | <title> |
---|
5 | BoostBook element source</title> |
---|
6 | <link rel="stylesheet" href="../../boostbook.css" type="text/css"> |
---|
7 | <meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> |
---|
8 | <link rel="start" href="../../index.html" title="The Boost C++ Libraries"> |
---|
9 | <link rel="up" href="../../reference.html" title="Chapter 20. Reference"> |
---|
10 | <link rel="prev" href="template-varargs.html" title=" |
---|
11 | BoostBook element template-varargs"> |
---|
12 | <link rel="next" href="function.html" title=" |
---|
13 | BoostBook element function"> |
---|
14 | </head> |
---|
15 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
---|
16 | <table cellpadding="2" width="100%"> |
---|
17 | <td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../../../boost.png"></td> |
---|
18 | <td align="center"><a href="../../../../index.htm">Home</a></td> |
---|
19 | <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> |
---|
20 | <td align="center"><a href="../../../../people/people.htm">People</a></td> |
---|
21 | <td align="center"><a href="../../../../more/faq.htm">FAQ</a></td> |
---|
22 | <td align="center"><a href="../../../../more/index.htm">More</a></td> |
---|
23 | </table> |
---|
24 | <hr> |
---|
25 | <div class="spirit-nav"> |
---|
26 | <a accesskey="p" href="template-varargs.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="function.html"><img src="../../images/next.png" alt="Next"></a> |
---|
27 | </div> |
---|
28 | <div class="refentry" lang="en"> |
---|
29 | <a name="boostbook.dtd.source"></a><div class="titlepage"></div> |
---|
30 | <div class="refnamediv"> |
---|
31 | <h2><span class="refentrytitle"> |
---|
32 | BoostBook element <code class="sgmltag-element">source</code></span></h2> |
---|
33 | <p>source — Defines source code for a test</p> |
---|
34 | </div> |
---|
35 | <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> |
---|
36 | <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv">source ::= |
---|
37 | (#PCDATA| <a href="snippet.html" title=" |
---|
38 | BoostBook element snippet">snippet</a>)* |
---|
39 | </div> |
---|
40 | <div class="refsection" lang="en"> |
---|
41 | <a name="id2846722"></a><h2>Description</h2> |
---|
42 | <p>This element will contain the source code for a testcase that |
---|
43 | will be generated from the documentation. To reduce the amount of escaping in the text, it is recommended to use CDATA sections, which look like this: |
---|
44 | |
---|
45 | </p> |
---|
46 | <pre class="programlisting"><![CDATA[ |
---|
47 | <your program text here: no escaping needed!> |
---|
48 | ]]></pre> |
---|
49 | <p>In addition to CDATA sections, code snippets can be pulled in |
---|
50 | from <code class="sgmltag-element">programlisting</code> elements using the <a href="snippet.html" title=" |
---|
51 | BoostBook element snippet"><code class="sgmltag-element">snippet</code></a> |
---|
52 | element.</p> |
---|
53 | </div> |
---|
54 | </div> |
---|
55 | <table width="100%"><tr> |
---|
56 | <td align="left"></td> |
---|
57 | <td align="right"><small>Copyright © 2003-2005 Douglas Gregor</small></td> |
---|
58 | </tr></table> |
---|
59 | <hr> |
---|
60 | <div class="spirit-nav"> |
---|
61 | <a accesskey="p" href="template-varargs.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="function.html"><img src="../../images/next.png" alt="Next"></a> |
---|
62 | </div> |
---|
63 | </body> |
---|
64 | </html> |
---|