|
Boost-Commit : |
From: chochlik_at_[hidden]
Date: 2008-07-23 09:26:03
Author: matus.chochlik
Date: 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
New Revision: 47707
URL: http://svn.boost.org/trac/boost/changeset/47707
Log:
[mirror 0.2.x]
- Documentation update
Added:
sandbox/mirror/doc/html/BOOST_CTS_LIT.html (contents, props changed)
sandbox/mirror/doc/html/BOOST_CTS_STRINGIZE.html (contents, props changed)
sandbox/mirror/doc/html/BOOST_CTS_USE_WIDE_CHARS.html (contents, props changed)
sandbox/mirror/doc/html/boost/cts/
sandbox/mirror/doc/html/boost/cts/bchar.html (contents, props changed)
sandbox/mirror/doc/html/char_type_switch/
sandbox/mirror/doc/html/char_type_switch/reference.html (contents, props changed)
sandbox/mirror/libs/char_type_switch/doc/reference/
sandbox/mirror/libs/char_type_switch/doc/reference.xml (contents, props changed)
sandbox/mirror/libs/char_type_switch/doc/reference/choice.xml (contents, props changed)
sandbox/mirror/libs/char_type_switch/doc/reference/iostream.xml (contents, props changed)
sandbox/mirror/libs/char_type_switch/doc/reference/macro_LITERAL.xml (contents, props changed)
sandbox/mirror/libs/char_type_switch/doc/reference/macro_STRINGIZE.xml (contents, props changed)
sandbox/mirror/libs/char_type_switch/doc/reference/string.xml (contents, props changed)
sandbox/mirror/libs/char_type_switch/doc/reference/typedef_bchar.xml (contents, props changed)
Text files modified:
sandbox/mirror/boost/char_type_switch/string.hpp | 6 ++----
sandbox/mirror/doc/html/BOOST_MIRRORED_GLOBAL_SCOPE.html | 2 +-
sandbox/mirror/doc/html/BOOST_MIRRORED_NAMESPACE.html | 24 ++++++++++++------------
sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE.html | 2 +-
sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEDEF.html | 2 +-
sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEOF.html | 2 +-
sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE_NS.html | 2 +-
sandbox/mirror/doc/html/BOOST_MIRROR_REG_NAMESPACE.html | 24 ++++++++++++------------
sandbox/mirror/doc/html/boost/mirror/meta_attribute.html | 24 ++++++++++++------------
sandbox/mirror/doc/html/boost/mirror/meta_class.html | 8 ++++----
sandbox/mirror/doc/html/boost/mirror/meta_namespace.html | 34 +++++++++++++++++-----------------
sandbox/mirror/doc/html/boost/mirror/meta_type.html | 40 ++++++++++++++++++++--------------------
sandbox/mirror/doc/html/boost/mirror/reflects_class.html | 2 +-
sandbox/mirror/doc/html/boost/mirror/reflects_global_scope.html | 2 +-
sandbox/mirror/doc/html/boost/mirror/reflects_namespace.html | 2 +-
sandbox/mirror/doc/html/boost/mirror/reflects_type.html | 2 +-
sandbox/mirror/doc/html/char_type_switch.html | 11 +++++++----
sandbox/mirror/doc/html/doc_HTML.manifest | 5 +++++
sandbox/mirror/doc/html/index.html | 2 +-
sandbox/mirror/doc/html/libraries.html | 5 ++++-
sandbox/mirror/doc/html/mirror.html | 8 ++++----
sandbox/mirror/doc/html/mirror/reference.html | 12 ++++++------
sandbox/mirror/libs/char_type_switch/doc/char_type_switch.xml | 2 +-
sandbox/mirror/libs/mirror/example/registering/classes.cpp | 1 +
24 files changed, 117 insertions(+), 107 deletions(-)
Modified: sandbox/mirror/boost/char_type_switch/string.hpp
==============================================================================
--- sandbox/mirror/boost/char_type_switch/string.hpp (original)
+++ sandbox/mirror/boost/char_type_switch/string.hpp 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -31,8 +31,6 @@
//
// define character type
typedef wchar_t bchar;
- // define string class type
- typedef ::std::wstring bstring;
// define macro for string literal type selection
# define BOOST_CTS_LIT(STR) L##STR
// stringization
@@ -45,14 +43,14 @@
//
// define character type
typedef char bchar;
- // define string class type
- typedef ::std::string bstring;
// define macro for string literal type selection
# define BOOST_CTS_LIT(STR) STR
// stringization
# define BOOST_CTS_STRINGIZE(TO_TEXT) BOOST_PP_STRINGIZE(TO_TEXT)
#endif // NOT BOOST_CTS_USE_WIDE_CHARS
+// define string class type
+typedef ::std::basic_string<bchar> bstring;
// define char traits
typedef ::std::char_traits<bchar> bchar_traits;
Added: sandbox/mirror/doc/html/BOOST_CTS_LIT.html
==============================================================================
--- (empty file)
+++ sandbox/mirror/doc/html/BOOST_CTS_LIT.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,113 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Macro BOOST_CTS_LIT</title>
+<link rel="stylesheet" href="boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="index.html" title="The Mirror library documentation">
+<link rel="up" href="char_type_switch/reference.html#header.boost.char_type_switch.switch.hpp" title="Header <boost/char_type_switch/switch.hpp>">
+<link rel="prev" href="boost/cts/bchar.html" title="Type definition bchar">
+<link rel="next" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="boost/cts/bchar.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="char_type_switch/reference.html#header.boost.char_type_switch.switch.hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_CTS_STRINGIZE.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" lang="en">
+<a name="BOOST_CTS_LIT"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Macro BOOST_CTS_LIT</span></h2>
+<p>BOOST_CTS_LIT — This macro expands into wide character string literal if the
+ <code class="computeroutput"><a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> symbol is defined,
+ or expands into <code class="computeroutput">char</code> string literal otherwise.
+ </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"><pre class="synopsis">BOOST_CTS_LIT(STRING_LITERAL)</pre></div>
+<div class="refsect1" lang="en">
+<a name="id710054"></a><h2>Description</h2>
+<p>This macro is defined as follows:
+</p>
+<pre class="programlisting">
+
+#ifdef <a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a>
+# define <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(STRING_LITERAL) L##STRING_LITERAL
+#else
+# define <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(STRING_LITERAL) STRING_LITERAL
+#endif
+</pre>
+<p>
+ </p>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h6 class="title">
+<a name="char_type_switch.LITERAL.reference.samples"></a>Examples</h6></div></div></div>
+<pre class="programlisting">
+#include <boost/char_type_switch/string.hpp>
+//...
+
+#ifdef <a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a>
+BOOST_MPL_ASSERT((
+ ::boost::is_same<
+ BOOST_TYPEOF(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo")),
+ BOOST_TYPEOF(L"foo")
+ >
+));
+#else
+BOOST_MPL_ASSERT((
+ ::boost::is_same<
+ BOOST_TYPEOF(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo")),
+ BOOST_TYPEOF("foo")
+ >
+));
+#endif
+</pre>
+<pre class="programlisting">
+#include <assert.h>
+#include <boost/char_type_switch/string.hpp>
+
+int main(void)
+{
+#ifdef <a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a>
+ assert(::boost::cts::bstrcmp(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"), L"foo") == 0);
+#else
+ assert(::boost::cts::bstrcmp(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"), "foo") == 0);
+#endif
+ return 0;
+}
+</pre>
+<pre class="programlisting">
+#include <assert.h>
+#include <boost/char_type_switch/string.hpp>
+
+int main(void)
+{
+ assert(::boost::cts::bstrcmp(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"), <a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(foo)) == 0);
+ return 0;
+}
+</pre>
+</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"><div class="copyright-footer">Copyright © 2008 Matúš Chochlík<p>Use, modification and distribution is subject to the Boost
+ Software License, Version 1.0. (See accompanying file
+ <code class="filename">LICENSE_1_0.txt</code> or copy at http://www.boost.org/LICENSE_1_0.txt)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="boost/cts/bchar.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="char_type_switch/reference.html#header.boost.char_type_switch.switch.hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_CTS_STRINGIZE.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/mirror/doc/html/BOOST_CTS_STRINGIZE.html
==============================================================================
--- (empty file)
+++ sandbox/mirror/doc/html/BOOST_CTS_STRINGIZE.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,112 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Macro BOOST_CTS_STRINGIZE</title>
+<link rel="stylesheet" href="boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="index.html" title="The Mirror library documentation">
+<link rel="up" href="char_type_switch/reference.html#header.boost.char_type_switch.switch.hpp" title="Header <boost/char_type_switch/switch.hpp>">
+<link rel="prev" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="BOOST_CTS_LIT.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="char_type_switch/reference.html#header.boost.char_type_switch.switch.hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a>
+</div>
+<div class="refentry" lang="en">
+<a name="BOOST_CTS_STRINGIZE"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Macro BOOST_CTS_STRINGIZE</span></h2>
+<p>BOOST_CTS_STRINGIZE — This macro stringizes its argument into wide character string literal if the
+ <code class="computeroutput"><a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> symbol is defined,
+ or expands into <code class="computeroutput">char</code> string literal otherwise.
+ </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"><pre class="synopsis">BOOST_CTS_STRINGIZE(ARG)</pre></div>
+<div class="refsect1" lang="en">
+<a name="id710176"></a><h2>Description</h2>
+<p>This macro is defined as follows:
+</p>
+<pre class="programlisting">
+
+#ifdef <a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a>
+# define <a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(ARG) BOOST_PP_WSTRINGIZE(ARG)
+#else
+# define <a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(ARG) BOOST_PP_STRINGIZE(ARG)
+#endif
+</pre>
+<p>
+ </p>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h6 class="title">
+<a name="char_type_switch.STRINGIZE.reference.samples"></a>Examples</h6></div></div></div>
+<pre class="programlisting">
+#include <boost/char_type_switch/string.hpp>
+//...
+
+#ifdef <a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a>
+BOOST_MPL_ASSERT((
+ ::boost::is_same<
+ BOOST_TYPEOF(<a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(foo)),
+ BOOST_TYPEOF(L"foo")
+ >
+));
+#else
+BOOST_MPL_ASSERT((
+ ::boost::is_same<
+ BOOST_TYPEOF(<a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(foo)),
+ BOOST_TYPEOF("foo")
+ >
+));
+#endif
+</pre>
+<pre class="programlisting">
+#include <assert.h>
+#include <boost/char_type_switch/string.hpp>
+
+int main(void)
+{
+#ifdef <a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a>
+ assert(::boost::cts::bstrcmp(<a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(foo), L"foo") == 0);
+#else
+ assert(::boost::cts::bstrcmp(<a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(foo), "foo") == 0);
+#endif
+ return 0;
+}
+</pre>
+<pre class="programlisting">
+#include <assert.h>
+#include <boost/char_type_switch/string.hpp>
+
+int main(void)
+{
+ assert(::boost::cts::bstrcmp(<a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(foo), <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo")) == 0);
+ return 0;
+}
+</pre>
+</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"><div class="copyright-footer">Copyright © 2008 Matúš Chochlík<p>Use, modification and distribution is subject to the Boost
+ Software License, Version 1.0. (See accompanying file
+ <code class="filename">LICENSE_1_0.txt</code> or copy at http://www.boost.org/LICENSE_1_0.txt)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="BOOST_CTS_LIT.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="char_type_switch/reference.html#header.boost.char_type_switch.switch.hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a>
+</div>
+</body>
+</html>
Added: sandbox/mirror/doc/html/BOOST_CTS_USE_WIDE_CHARS.html
==============================================================================
--- (empty file)
+++ sandbox/mirror/doc/html/BOOST_CTS_USE_WIDE_CHARS.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,67 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Macro BOOST_CTS_USE_WIDE_CHARS</title>
+<link rel="stylesheet" href="boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="index.html" title="The Mirror library documentation">
+<link rel="up" href="char_type_switch/reference.html#header.boost.char_type_switch.choice.hpp" title="Header <boost/char_type_switch/choice.hpp>">
+<link rel="prev" href="char_type_switch/reference.html" title="Char Type Switch Reference">
+<link rel="next" href="boost/cts/bchar.html" title="Type definition bchar">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="char_type_switch/reference.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="char_type_switch/reference.html#header.boost.char_type_switch.choice.hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="boost/cts/bchar.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" lang="en">
+<a name="BOOST_CTS_USE_WIDE_CHARS"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Macro BOOST_CTS_USE_WIDE_CHARS</span></h2>
+<p>BOOST_CTS_USE_WIDE_CHARS — This preprocessor symbol is used to switch the definition of <code class="computeroutput">bchar</code>
+ and everything derived from this type.
+ </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"><pre class="synopsis">BOOST_CTS_USE_WIDE_CHARS</pre></div>
+<div class="refsect1" lang="en">
+<a name="id709851"></a><h2>Description</h2>
+<p>If the <code class="computeroutput"><a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> symbol is defined
+ then the type <code class="computeroutput">bchar</code> is defined as <code class="computeroutput">wchar_t</code>,
+ otherwise it's defined as <code class="computeroutput">char</code>:
+</p>
+<pre class="programlisting">
+#include <boost/char_type_switch/string.hpp>
+
+#ifdef <a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a>
+BOOST_MPL_ASSERT((::boost::is_same< ::boost::cts::bchar, wchar_t >));
+#else
+BOOST_MPL_ASSERT((::boost::is_same< ::boost::cts::bchar, char >));
+#endif
+</pre>
+<p>
+ </p>
+</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"><div class="copyright-footer">Copyright © 2008 Matúš Chochlík<p>Use, modification and distribution is subject to the Boost
+ Software License, Version 1.0. (See accompanying file
+ <code class="filename">LICENSE_1_0.txt</code> or copy at http://www.boost.org/LICENSE_1_0.txt)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="char_type_switch/reference.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="char_type_switch/reference.html#header.boost.char_type_switch.choice.hpp"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="boost/cts/bchar.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_GLOBAL_SCOPE.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_GLOBAL_SCOPE.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_GLOBAL_SCOPE.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -35,7 +35,7 @@
<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"><pre class="synopsis">BOOST_MIRRORED_GLOBAL_SCOPE()</pre></div>
<div class="refsect1" lang="en">
-<a name="id706777"></a><h2>Description</h2>
+<a name="id703637"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_GLOBAL_SCOPE.html" title="Macro BOOST_MIRRORED_GLOBAL_SCOPE">BOOST_MIRRORED_GLOBAL_SCOPE</a>()</code> macro can be used to get
the meta-data about the global scope, which is registered with the <a class="link" href="mirror.html" title="Chapter 1. Mirror">Mirror</a> library by default.
</p>
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_NAMESPACE.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_NAMESPACE.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_NAMESPACE.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -35,7 +35,7 @@
<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"><pre class="synopsis">BOOST_MIRRORED_NAMESPACE(FULL_NAMESPACE_NAME)</pre></div>
<div class="refsect1" lang="en">
-<a name="id706622"></a><h2>Description</h2>
+<a name="id703428"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a></code> macro reflects a namespace
previously registered with the <a class="link" href="mirror.html" title="Chapter 1. Mirror">Mirror</a> library by the means of
the <code class="computeroutput"><a class="link" href="BOOST_MIRROR_REG_NAMESPACE.html" title="Macro BOOST_MIRROR_REG_NAMESPACE">BOOST_MIRROR_REG_NAMESPACE</a></code>.
@@ -100,9 +100,9 @@
using namespace ::boost;
cts::bostream& bcout = cts::bcout();
bcout <<
- BOOST_CTS_LIT("This is the global scope") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("This is the global scope") <<
endl <<
- BOOST_CTS_LIT("------------------------------------") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("------------------------------------") <<
endl;
}
@@ -116,25 +116,25 @@
cts::bostream& bcout = cts::bcout();
bcout <<
- BOOST_CTS_LIT("Namespace '") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Namespace '") <<
MetaNamespace::base_name() <<
- BOOST_CTS_LIT("': ") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("': ") <<
endl <<
- BOOST_CTS_LIT(" - the full name is '") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - the full name is '") <<
MetaNamespace::full_name() <<
- BOOST_CTS_LIT("'") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("'") <<
endl <<
- BOOST_CTS_LIT(" - it's defined ");
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - it's defined ");
if(reflects_global_scope<typename MetaNamespace::scope>::value)
- bcout << BOOST_CTS_LIT(" - on the global scope ");
+ bcout << <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - on the global scope ");
else
- bcout << BOOST_CTS_LIT(" - in the '") <<
+ bcout << <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - in the '") <<
MetaNamespace::scope::full_name() <<
- BOOST_CTS_LIT("' namespace");
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("' namespace");
bcout << endl <<
- BOOST_CTS_LIT("------------------------------------") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("------------------------------------") <<
endl;
}
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -38,7 +38,7 @@
<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"><pre class="synopsis">BOOST_MIRRORED_TYPE(TYPE)</pre></div>
<div class="refsect1" lang="en">
-<a name="id709933"></a><h2>Description</h2>
+<a name="id706836"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a></code> macro reflects a type
previously registered with the <a class="link" href="mirror.html" title="Chapter 1. Mirror">Mirror</a> library or a type derived
from a registered type. The argument of this macro is a type.
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEDEF.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEDEF.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEDEF.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -38,7 +38,7 @@
<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"><pre class="synopsis">BOOST_MIRRORED_TYPEDEF(FULL_NAMESPACE_NAME, TYPEDEF)</pre></div>
<div class="refsect1" lang="en">
-<a name="id710168"></a><h2>Description</h2>
+<a name="id707072"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_TYPEDEF.html" title="Macro BOOST_MIRRORED_TYPEDEF">BOOST_MIRRORED_TYPEDEF</a></code> macro reflects a type
that is registered with the <a class="link" href="mirror.html" title="Chapter 1. Mirror">Mirror</a> library as a <code class="computeroutput">typedef</code>-ined
type.
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEOF.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEOF.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEOF.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -32,7 +32,7 @@
<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"><pre class="synopsis">BOOST_MIRRORED_TYPEOF(EXPRESSION)</pre></div>
<div class="refsect1" lang="en">
-<a name="id710406"></a><h2>Description</h2>
+<a name="id707309"></a><h2>Description</h2>
This macro is basically just a shorter form of
<pre class="programlisting">
<a class="link" href="BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a>(BOOST_TYPEOF(EXPRESSION))
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE_NS.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE_NS.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE_NS.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -35,7 +35,7 @@
<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"><pre class="synopsis">BOOST_MIRRORED_TYPE_NS(FULL_NAMESPACE_NAME, TYPE)</pre></div>
<div class="refsect1" lang="en">
-<a name="id710038"></a><h2>Description</h2>
+<a name="id706941"></a><h2>Description</h2>
<p><code class="computeroutput"><a class="link" href="BOOST_MIRRORED_TYPE_NS.html" title="Macro BOOST_MIRRORED_TYPE_NS">BOOST_MIRRORED_TYPE_NS</a>(NAMESPACE, TYPE)</code>
is equivalent to <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a>(NAMESPACE :: TYPE)</code>.
</p>
Modified: sandbox/mirror/doc/html/BOOST_MIRROR_REG_NAMESPACE.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRROR_REG_NAMESPACE.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRROR_REG_NAMESPACE.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -34,7 +34,7 @@
<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"><pre class="synopsis">BOOST_MIRROR_REG_NAMESPACE(PP_SEQ)</pre></div>
<div class="refsect1" lang="en">
-<a name="id706397"></a><h2>Description</h2>
+<a name="id703149"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="BOOST_MIRROR_REG_NAMESPACE.html" title="Macro BOOST_MIRROR_REG_NAMESPACE">BOOST_MIRROR_REG_NAMESPACE</a></code> macro registers a namespace with
the <a class="link" href="mirror.html" title="Chapter 1. Mirror">Mirror</a> library.
</p>
@@ -167,9 +167,9 @@
using namespace ::boost;
cts::bostream& bcout = cts::bcout();
bcout <<
- BOOST_CTS_LIT("This is the global scope") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("This is the global scope") <<
endl <<
- BOOST_CTS_LIT("------------------------------------") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("------------------------------------") <<
endl;
}
@@ -183,25 +183,25 @@
cts::bostream& bcout = cts::bcout();
bcout <<
- BOOST_CTS_LIT("Namespace '") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Namespace '") <<
MetaNamespace::base_name() <<
- BOOST_CTS_LIT("': ") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("': ") <<
endl <<
- BOOST_CTS_LIT(" - the full name is '") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - the full name is '") <<
MetaNamespace::full_name() <<
- BOOST_CTS_LIT("'") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("'") <<
endl <<
- BOOST_CTS_LIT(" - it's defined ");
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - it's defined ");
if(reflects_global_scope<typename MetaNamespace::scope>::value)
- bcout << BOOST_CTS_LIT(" - on the global scope ");
+ bcout << <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - on the global scope ");
else
- bcout << BOOST_CTS_LIT(" - in the '") <<
+ bcout << <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - in the '") <<
MetaNamespace::scope::full_name() <<
- BOOST_CTS_LIT("' namespace");
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("' namespace");
bcout << endl <<
- BOOST_CTS_LIT("------------------------------------") <<
+ <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("------------------------------------") <<
endl;
}
Added: sandbox/mirror/doc/html/boost/cts/bchar.html
==============================================================================
--- (empty file)
+++ sandbox/mirror/doc/html/boost/cts/bchar.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,69 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Type definition bchar</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="../../index.html" title="The Mirror library documentation">
+<link rel="up" href="../../char_type_switch/reference.html#header.boost.char_type_switch.switch.hpp" title="Header <boost/char_type_switch/switch.hpp>">
+<link rel="prev" href="../../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">
+<link rel="next" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../../BOOST_CTS_USE_WIDE_CHARS.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../char_type_switch/reference.html#header.boost.char_type_switch.switch.hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_CTS_LIT.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" lang="en">
+<a name="boost.cts.bchar"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Type definition bchar</span></h2>
+<p>bchar — This type is defined as <code class="computeroutput">wchar_t</code> or as <code class="computeroutput">char</code> based
+ on the <code class="computeroutput"><a class="link" href="../../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> preprocessing
+ symbol being defined.
+ </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"><pre class="synopsis">
+<span class="bold"><strong>typedef</strong></span> <span class="bold"><strong>char</strong></span>-or-<span class="bold"><strong>wchar_t</strong></span> bchar;</pre></div>
+<div class="refsect1" lang="en">
+<a name="id709999"></a><h2>Description</h2>
+<p>The <code class="computeroutput">bchar</code> type is defined as follows:
+</p>
+<pre class="programlisting">
+namespace boost {
+ namespace cts {
+#ifdef <a class="link" href="../../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a>
+ typedef wchar_t bchar;
+#else
+ typedef char bchar;
+#endif
+ } // namespace cts
+} // namespace boost
+</pre>
+<p>
+ </p>
+</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"><div class="copyright-footer">Copyright © 2008 Matúš Chochlík<p>Use, modification and distribution is subject to the Boost
+ Software License, Version 1.0. (See accompanying file
+ <code class="filename">LICENSE_1_0.txt</code> or copy at http://www.boost.org/LICENSE_1_0.txt)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../../BOOST_CTS_USE_WIDE_CHARS.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../char_type_switch/reference.html#header.boost.char_type_switch.switch.hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_CTS_LIT.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Modified: sandbox/mirror/doc/html/boost/mirror/meta_attribute.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/meta_attribute.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/meta_attribute.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -37,16 +37,16 @@
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> unspecified>
<span class="bold"><strong>class</strong></span> <a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a> {
<span class="bold"><strong>public</strong></span>:
- <span class="emphasis"><em>// <a class="link" href="meta_attribute.html#id452461-bbtypes">types</a></em></span>
+ <span class="emphasis"><em>// <a class="link" href="meta_attribute.html#id477583-bbtypes">types</a></em></span>
<span class="bold"><strong>typedef</strong></span> meta_class<<span class="emphasis"><em>unspecified</em></span>> <a class="link" href="meta_attribute.html#boost.mirror.meta_attribute.scope">scope</a>;
- <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_attribute.html#id453667-bb">base_name</a>();
- <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_attribute.html#id453631-bb">full_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_attribute.html#id478789-bb">base_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_attribute.html#id478753-bb">full_name</a>();
<span class="bold"><strong>template</strong></span><<span class="bold"><strong>bool</strong></span> FullName, <span class="bold"><strong>typename</strong></span> CharT>
<span class="type"><span class="bold"><strong>const</strong></span> ::std::basic_string<CharT>&</span>
- <a class="link" href="meta_attribute.html#id453485-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
+ <a class="link" href="meta_attribute.html#id478607-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id710855"></a><h2>Description</h2>
+<a name="id707758"></a><h2>Description</h2>
<p>
</p>
<div class="section" lang="en">
@@ -59,8 +59,8 @@
</div>
</div>
<div class="refsect2" lang="en">
-<a name="id710880"></a><h3>
-<a name="id452461-bbtypes"></a><code class="computeroutput">meta_attribute</code> public types</h3>
+<a name="id707783"></a><h3>
+<a name="id477583-bbtypes"></a><code class="computeroutput">meta_attribute</code> public types</h3>
<div class="orderedlist"><ol type="1"><li>
<p>
<span class="bold"><strong>typedef</strong></span> meta_class<<span class="emphasis"><em>unspecified</em></span>> <a name="boost.mirror.meta_attribute.scope"></a>scope;</p>
@@ -68,14 +68,14 @@
</p>
</li></ol></div>
</div>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id453667-bb"></a>base_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id478789-bb"></a>base_name();</pre>
<p>This static member function returns the base name of the
attribute reflected by the <code class="computeroutput">meta_attribute</code>.
When a full attribute name
<span class="bold"><strong>with</strong></span> the nested name specifier
is needed use the <code class="computeroutput">full_name</code> member function
instead.</p>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id453631-bb"></a>full_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id478753-bb"></a>full_name();</pre>
<p>This static member function returns the full name of the
namespace reflected by a <code class="computeroutput">meta_namespace</code>
with the nested name specifier. For example:
@@ -102,7 +102,7 @@
</table></div>
<pre class="literallayout"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>bool</strong></span> FullName, <span class="bold"><strong>typename</strong></span> CharT>
<span class="type"><span class="bold"><strong>const</strong></span> ::std::basic_string<CharT>&</span>
- <a name="id453485-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
+ <a name="id478607-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
<p>This static member template function returns either the base name
<span class="bold"><strong>without</strong></span> the nested name specifier
or the full name <span class="bold"><strong>with</strong></span> the
@@ -118,14 +118,14 @@
</pre>
<p> is equivalent to calling the
<code class="computeroutput">base_name</code> member function with the
- <code class="computeroutput">BOOST_CTS_USE_WIDE_CHARS</code> symbol undefined,
+ <code class="computeroutput"><a class="link" href="../../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> symbol undefined,
which returns a <code class="computeroutput">::std::string</code> holding the string <code class="computeroutput">"mirror"</code> and calling
</p>
<pre class="programlisting"><code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a></code>(::boost::mirror) :: get_name(::boost::mpl::true_(), ::std::char_traits<wchar_t>())
</pre>
<p> is equivalent to calling the
<code class="computeroutput">full_name</code> method with the
- <code class="computeroutput">BOOST_CTS_USE_WIDE_CHARS</code> symbol defined,
+ <code class="computeroutput"><a class="link" href="../../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> symbol defined,
which returns a <code class="computeroutput">::std::wstring</code> holding this string <code class="computeroutput">L"::boost::mirror"</code>.
</p>
</div>
Modified: sandbox/mirror/doc/html/boost/mirror/meta_class.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/meta_class.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/meta_class.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -44,16 +44,16 @@
</em></span>
{
<span class="bold"><strong>public</strong></span>:
- <span class="emphasis"><em>// <a class="link" href="meta_class.html#id619886-bbtypes">types</a></em></span>
+ <span class="emphasis"><em>// <a class="link" href="meta_class.html#id645008-bbtypes">types</a></em></span>
<span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="meta_class.html#boost.mirror.meta_class.base_classes">base_classes</a>;
<span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="meta_class.html#boost.mirror.meta_class.attributes">attributes</a>;
<span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="meta_class.html#boost.mirror.meta_class.all_attributes">all_attributes</a>;
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id710605"></a><h2>Description</h2>
+<a name="id707508"></a><h2>Description</h2>
<div class="refsect2" lang="en">
-<a name="id710609"></a><h3>
-<a name="id619886-bbtypes"></a><code class="computeroutput">meta_class</code> public types</h3>
+<a name="id707512"></a><h3>
+<a name="id645008-bbtypes"></a><code class="computeroutput">meta_class</code> public types</h3>
<div class="orderedlist"><ol type="1">
<li>
<p>
Modified: sandbox/mirror/doc/html/boost/mirror/meta_namespace.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/meta_namespace.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/meta_namespace.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -45,17 +45,17 @@
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> NamespacePlaceholder>
<span class="bold"><strong>class</strong></span> <a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a> {
<span class="bold"><strong>public</strong></span>:
- <span class="emphasis"><em>// <a class="link" href="meta_namespace.html#id435782-bbtypes">types</a></em></span>
+ <span class="emphasis"><em>// <a class="link" href="meta_namespace.html#id460904-bbtypes">types</a></em></span>
<span class="bold"><strong>typedef</strong></span> meta_namespace<<span class="emphasis"><em>unspecified</em></span>> <a class="link" href="meta_namespace.html#boost.mirror.meta_namespace.scope">scope</a>;
<span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="meta_namespace.html#boost.mirror.meta_namespace.ancestors">ancestors</a>;
- <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_namespace.html#id435608-bb">base_name</a>();
- <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_namespace.html#id435566-bb">full_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_namespace.html#id460730-bb">base_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_namespace.html#id460688-bb">full_name</a>();
<span class="bold"><strong>template</strong></span><<span class="bold"><strong>bool</strong></span> FullName, <span class="bold"><strong>typename</strong></span> CharT>
<span class="type"><span class="bold"><strong>const</strong></span> ::std::basic_string<CharT>&</span>
- <a class="link" href="meta_namespace.html#id435513-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
+ <a class="link" href="meta_namespace.html#id460635-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id705766"></a><h2>Description</h2>
+<a name="id702489"></a><h2>Description</h2>
<p>The specializations of <code class="computeroutput">meta_type</code> can
be used to get meta-information about the reflected types, some at compile-time and some at run-time.
The following examples show type reflection and basic
@@ -123,11 +123,11 @@
using namespace ::boost;
cts::bostream& bcout = cts::bcout();
bcout <<
- BOOST_CTS_LIT("ancestor ") <<
+ <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("ancestor ") <<
ctr++ <<
- BOOST_CTS_LIT(": '") <<
+ <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(": '") <<
MetaNamespace::base_name() <<
- BOOST_CTS_LIT("'") <<
+ <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("'") <<
endl;
}
@@ -150,9 +150,9 @@
//
// check whether the grandparent namespace is the global scope
if(reflects_global_scope<meta_boost_mirror::scope::scope> :: value)
- bcout << BOOST_CTS_LIT("OK") << endl;
+ bcout << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("OK") << endl;
else
- bcout << BOOST_CTS_LIT("Error") << endl;
+ bcout << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Error") << endl;
// the ancestors typedef is an mpl vector of meta_namespaces
printer p;
@@ -213,8 +213,8 @@
</div>
</div>
<div class="refsect2" lang="en">
-<a name="id705980"></a><h3>
-<a name="id435782-bbtypes"></a><code class="computeroutput">meta_namespace</code> public types</h3>
+<a name="id702728"></a><h3>
+<a name="id460904-bbtypes"></a><code class="computeroutput">meta_namespace</code> public types</h3>
<div class="orderedlist"><ol type="1">
<li>
<p>
@@ -288,7 +288,7 @@
</li>
</ol></div>
</div>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id435608-bb"></a>base_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id460730-bb"></a>base_name();</pre>
<p>This static member function returns the base name of the
namespace reflected by a <code class="computeroutput">meta_namespace</code>.
For example the base namespace name "returned" by the invocation of
@@ -300,7 +300,7 @@
<span class="bold"><strong>with</strong></span> the nested name specifier
is needed use the <code class="computeroutput">full_name</code> member function
instead.</p>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id435566-bb"></a>full_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id460688-bb"></a>full_name();</pre>
<p>This static member function returns the full name of the
namespace reflected by a <code class="computeroutput">meta_namespace</code>
with the nested name specifier. For example:
@@ -327,7 +327,7 @@
</table></div>
<pre class="literallayout"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>bool</strong></span> FullName, <span class="bold"><strong>typename</strong></span> CharT>
<span class="type"><span class="bold"><strong>const</strong></span> ::std::basic_string<CharT>&</span>
- <a name="id435513-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
+ <a name="id460635-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
<p>This static member template function returns either the base name
<span class="bold"><strong>without</strong></span> the nested name specifier
or the full name <span class="bold"><strong>with</strong></span> the
@@ -343,14 +343,14 @@
</pre>
<p> is equivalent to calling the
<code class="computeroutput">base_name</code> member function with the
- <code class="computeroutput">BOOST_CTS_USE_WIDE_CHARS</code> symbol undefined,
+ <code class="computeroutput"><a class="link" href="../../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> symbol undefined,
which returns a <code class="computeroutput">::std::string</code> holding the string <code class="computeroutput">"mirror"</code> and calling
</p>
<pre class="programlisting"><code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a></code>(::boost::mirror) :: get_name(::boost::mpl::true_(), ::std::char_traits<wchar_t>())
</pre>
<p> is equivalent to calling the
<code class="computeroutput">full_name</code> method with the
- <code class="computeroutput">BOOST_CTS_USE_WIDE_CHARS</code> symbol defined,
+ <code class="computeroutput"><a class="link" href="../../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> symbol defined,
which returns a <code class="computeroutput">::std::wstring</code> holding this string <code class="computeroutput">L"::boost::mirror"</code>.
</p>
</div>
Modified: sandbox/mirror/doc/html/boost/mirror/meta_type.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/meta_type.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/meta_type.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -44,17 +44,17 @@
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Type>
<span class="bold"><strong>class</strong></span> <a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a> {
<span class="bold"><strong>public</strong></span>:
- <span class="emphasis"><em>// <a class="link" href="meta_type.html#id500518-bbtypes">types</a></em></span>
+ <span class="emphasis"><em>// <a class="link" href="meta_type.html#id525640-bbtypes">types</a></em></span>
<span class="bold"><strong>typedef</strong></span> Type <a class="link" href="meta_type.html#boost.mirror.meta_type.reflected_type">reflected_type</a>;
<span class="bold"><strong>typedef</strong></span> meta_namespace<<span class="emphasis"><em>unspecified</em></span>>-or-meta_class<<span class="emphasis"><em>unspecified</em></span>> <a class="link" href="meta_type.html#boost.mirror.meta_type.scope">scope</a>;
- <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_type.html#id620704-bb">base_name</a>();
- <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_type.html#id620640-bb">full_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_type.html#id645827-bb">base_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_type.html#id645762-bb">full_name</a>();
<span class="bold"><strong>template</strong></span><<span class="bold"><strong>bool</strong></span> FullName, <span class="bold"><strong>typename</strong></span> CharT>
<span class="type"><span class="bold"><strong>const</strong></span> ::std::basic_string<CharT>&</span>
- <a class="link" href="meta_type.html#id619879-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
+ <a class="link" href="meta_type.html#id645001-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id707089"></a><h2>Description</h2>
+<a name="id703949"></a><h2>Description</h2>
<p>The specializations of <code class="computeroutput">meta_type</code> can
be used to get meta-information about the reflected types, some at compile-time and some at run-time.
The following examples show type reflection and basic
@@ -96,7 +96,7 @@
// print out the full type name
cts::bcout() <<
- BOOST_CTS_LIT("The full type name is: ") <<
+ <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("The full type name is: ") <<
meta_T::full_name() <<
endl;
@@ -127,22 +127,22 @@
cts::bostream& bcout = cts::bcout();
// print out the base type name
bcout <<
- BOOST_CTS_LIT("The type name is: ") <<
+ <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("The type name is: ") <<
MetaType::base_name() <<
endl;
//
if(reflects_global_scope<typename MetaType::scope>::value)
{
bcout <<
- BOOST_CTS_LIT("It's defined on the global scope") <<
+ <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("It's defined on the global scope") <<
endl;
}
else
{
bcout <<
- BOOST_CTS_LIT("It's defined in the ") <<
+ <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("It's defined in the ") <<
MetaType::scope::full_name() <<
- BOOST_CTS_LIT(" namespace") <<
+ <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" namespace") <<
endl;
bcout <<
BOOST_CTS_LIT("--------------------------------------") <<
@@ -198,11 +198,11 @@
using namespace ::std;
using namespace ::boost;
cts::bostream& bcout = cts::bcout();
- bcout << BOOST_CTS_LIT("type: '");
+ bcout << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("type: '");
bcout << MetaType::base_name();
- bcout << BOOST_CTS_LIT("' defined in: '");
+ bcout << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("' defined in: '");
bcout << MetaType::scope::full_name();
- bcout << BOOST_CTS_LIT("'");
+ bcout << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("'");
bcout << endl;
}
@@ -279,8 +279,8 @@
</div>
</div>
<div class="refsect2" lang="en">
-<a name="id709542"></a><h3>
-<a name="id500518-bbtypes"></a><code class="computeroutput">meta_type</code> public types</h3>
+<a name="id706440"></a><h3>
+<a name="id525640-bbtypes"></a><code class="computeroutput">meta_type</code> public types</h3>
<div class="orderedlist"><ol type="1">
<li>
<p>
@@ -299,7 +299,7 @@
</li>
</ol></div>
</div>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id620704-bb"></a>base_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id645827-bb"></a>base_name();</pre>
<p>This static member function returns the base name of the
type reflected by <code class="computeroutput">meta_type</code>
without the nested name specifier. For example:
@@ -329,7 +329,7 @@
</p></td>
</tr></tbody>
</table></div>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id620640-bb"></a>full_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id645762-bb"></a>full_name();</pre>
<p>This static member function returns the full name of the
type reflected by <code class="computeroutput">meta_type</code>
with the nested name specifier. For example:
@@ -361,7 +361,7 @@
</table></div>
<pre class="literallayout"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>bool</strong></span> FullName, <span class="bold"><strong>typename</strong></span> CharT>
<span class="type"><span class="bold"><strong>const</strong></span> ::std::basic_string<CharT>&</span>
- <a name="id619879-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
+ <a name="id645001-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
<p>This static member template function returns either the base name
<span class="bold"><strong>without</strong></span> the nested name specifier
or the full name <span class="bold"><strong>with</strong></span> the
@@ -380,7 +380,7 @@
<p>
is equivalent to calling the
<code class="computeroutput">base_name</code> member function with the
- <code class="computeroutput">BOOST_CTS_USE_WIDE_CHARS</code> symbol undefined,
+ <code class="computeroutput"><a class="link" href="../../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> symbol undefined,
which returns a <code class="computeroutput">::std::string</code> containing <code class="computeroutput">"string"</code> and calling
</p>
<pre class="programlisting"><code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a></code>(::std::string) :: get_name(::boost::mpl::true_(), ::std::char_traits<wchar_t>())</pre>
@@ -389,7 +389,7 @@
<pre class="programlisting"><code class="computeroutput">meta_type</code> < ::std::string > :: get_name( ::boost::mpl::true_(), ::std::char_traits<wchar_t>())</pre>
<p> is equivalent to calling the
<code class="computeroutput">full_name</code> method with the
- <code class="computeroutput">BOOST_CTS_USE_WIDE_CHARS</code> symbol defined,
+ <code class="computeroutput"><a class="link" href="../../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> symbol defined,
which returns a <code class="computeroutput">::std::wstring</code> containing <code class="computeroutput">L"::std::string"</code>.
</p>
</div>
Modified: sandbox/mirror/doc/html/boost/mirror/reflects_class.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/reflects_class.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/reflects_class.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -37,7 +37,7 @@
<span class="bold"><strong>class</strong></span> <a class="link" href="reflects_class.html" title="Class template reflects_class">reflects_class</a> : <span class="bold"><strong>public</strong></span> <span class="type">false_type-or-true_type</span> {
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id712509"></a><h2>Description</h2>
+<a name="id709280"></a><h2>Description</h2>
<p>This template can be used to distinguish whether the opaque <code class="computeroutput">MetaObject</code> type reflects a class
and thus is an instantiation of <code class="computeroutput">meta_class</code>.
</p>
Modified: sandbox/mirror/doc/html/boost/mirror/reflects_global_scope.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/reflects_global_scope.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/reflects_global_scope.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -38,7 +38,7 @@
<span class="bold"><strong>class</strong></span> <a class="link" href="reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a> : <span class="bold"><strong>public</strong></span> <span class="type">false_type-or-true_type</span> {
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id711412"></a><h2>Description</h2>
+<a name="id708320"></a><h2>Description</h2>
<p>This template can be used to distinguish whether the opaque <code class="computeroutput">MetaObject</code> type reflects the global scope
and thus is an instantiation of <code class="computeroutput">meta_namespace</code> for the global scope.
</p>
Modified: sandbox/mirror/doc/html/boost/mirror/reflects_namespace.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/reflects_namespace.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/reflects_namespace.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -37,7 +37,7 @@
<span class="bold"><strong>class</strong></span> <a class="link" href="reflects_namespace.html" title="Class template reflects_namespace">reflects_namespace</a> : <span class="bold"><strong>public</strong></span> <span class="type">false_type-or-true_type</span> {
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id711240"></a><h2>Description</h2>
+<a name="id708148"></a><h2>Description</h2>
<p>This template can be used to distinguish whether the opaque <code class="computeroutput">MetaObject</code> type reflects a namespace
and thus is an instantiation of <code class="computeroutput">meta_namespace</code>.
</p>
Modified: sandbox/mirror/doc/html/boost/mirror/reflects_type.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/reflects_type.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/reflects_type.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -37,7 +37,7 @@
<span class="bold"><strong>class</strong></span> <a class="link" href="reflects_type.html" title="Class template reflects_type">reflects_type</a> : <span class="bold"><strong>public</strong></span> <span class="type">false_type-or-true_type</span> {
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id711587"></a><h2>Description</h2>
+<a name="id709110"></a><h2>Description</h2>
<p>This template can be used to distinguish whether the opaque <code class="computeroutput">MetaObject</code> type reflects a type or a class
and thus is an instantiation of <code class="computeroutput">meta_type</code>.
</p>
Modified: sandbox/mirror/doc/html/char_type_switch.html
==============================================================================
--- sandbox/mirror/doc/html/char_type_switch.html (original)
+++ sandbox/mirror/doc/html/char_type_switch.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -7,6 +7,7 @@
<link rel="start" href="index.html" title="The Mirror library documentation">
<link rel="up" href="libraries.html" title="Part I. Libraries">
<link rel="prev" href="boost/mirror/reflects_virtual_inheritance.html" title="Class template reflects_virtual_inheritance">
+<link rel="next" href="char_type_switch/reference.html" title="Char Type Switch Reference">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
@@ -19,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="boost/mirror/reflects_virtual_inheritance.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a>
+<a accesskey="p" href="boost/mirror/reflects_virtual_inheritance.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="char_type_switch/reference.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="chapter" lang="en">
<div class="titlepage"><div>
@@ -33,7 +34,7 @@
</div></div>
<div><p class="copyright">Copyright © 2008 Matúš Chochlík</p></div>
<div><div class="legalnotice">
-<a name="id712822"></a><p>Use, modification and distribution is subject to the Boost
+<a name="id709593"></a><p>Use, modification and distribution is subject to the Boost
Software License, Version 1.0. (See accompanying file
<code class="filename">LICENSE_1_0.txt</code> or copy at http://www.boost.org/LICENSE_1_0.txt)
</p>
@@ -47,6 +48,8 @@
<dt><span class="section">Abstract</span></dt>
<dt><span class="section">Motivation</span></dt>
</dl></dd>
+<dt><span class="section">Char Type Switch Reference</span></dt>
+<dd><dl><dt><span class="section">Header files</span></dt></dl></dd>
</dl>
</div>
<div class="section" lang="en">
@@ -78,7 +81,7 @@
<code class="computeroutput">::boost::cts::bstrlen</code>,
<code class="computeroutput">::boost::cts::bstrcpy</code>, etc.
and macros like
- <code class="computeroutput">BOOST_CTS_LIT(STRING_LITERAL)</code> OR
+ <code class="computeroutput"><a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(STRING_LITERAL)</code> OR
<code class="computeroutput">BOOST_CTS_LIT_LENGTH(STRING_LITERAL)</code>
are defined.
</p>
@@ -172,7 +175,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="boost/mirror/reflects_virtual_inheritance.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a>
+<a accesskey="p" href="boost/mirror/reflects_virtual_inheritance.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><img src="../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="char_type_switch/reference.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Added: sandbox/mirror/doc/html/char_type_switch/reference.html
==============================================================================
--- (empty file)
+++ sandbox/mirror/doc/html/char_type_switch/reference.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,76 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Char Type Switch Reference</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="../index.html" title="The Mirror library documentation">
+<link rel="up" href="../char_type_switch.html" title="Chapter 2. Char Type Switch">
+<link rel="prev" href="../char_type_switch.html" title="Chapter 2. Char Type Switch">
+<link rel="next" href="../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../char_type_switch.html"><img src="../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../char_type_switch.html"><img src="../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../BOOST_CTS_USE_WIDE_CHARS.html"><img src="../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="char_type_switch.reference"></a>Char Type Switch Reference</h2></div></div></div>
+<div class="toc"><dl><dt><span class="section">Header files</span></dt></dl></div>
+<p>
+ </p>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="id709802"></a>Header files</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Header <boost/char_type_switch/choice.hpp></span></dt>
+<dt><span class="section">Header <boost/char_type_switch/switch.hpp></span></dt>
+<dt><span class="section">Header <boost/char_type_switch/iostream.hpp></span></dt>
+</dl></div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="header.boost.char_type_switch.choice.hpp"></a>Header <boost/char_type_switch/choice.hpp></h4></div></div></div>
+<pre class="synopsis">
+
+<a class="link" href="../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></pre>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="header.boost.char_type_switch.switch.hpp"></a>Header <boost/char_type_switch/switch.hpp></h4></div></div></div>
+<pre class="synopsis">
+
+<a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(STRING_LITERAL)
+<a class="link" href="../BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(ARG)</pre>
+<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
+ <span class="bold"><strong>namespace</strong></span> cts {
+ <span class="bold"><strong>typedef</strong></span> <span class="bold"><strong>char</strong></span>-or-<span class="bold"><strong>wchar_t</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>;
+ }
+}</pre>
+</div>
+<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title">
+<a name="header.boost.char_type_switch.iostream.hpp"></a>Header <boost/char_type_switch/iostream.hpp></h4></div></div></div></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"><div class="copyright-footer">Copyright © 2008 Matúš Chochlík<p>Use, modification and distribution is subject to the Boost
+ Software License, Version 1.0. (See accompanying file
+ <code class="filename">LICENSE_1_0.txt</code> or copy at http://www.boost.org/LICENSE_1_0.txt)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../char_type_switch.html"><img src="../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../char_type_switch.html"><img src="../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../BOOST_CTS_USE_WIDE_CHARS.html"><img src="../../../doc/html/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Modified: sandbox/mirror/doc/html/doc_HTML.manifest
==============================================================================
--- sandbox/mirror/doc/html/doc_HTML.manifest (original)
+++ sandbox/mirror/doc/html/doc_HTML.manifest 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -22,3 +22,8 @@
boost/mirror/reflects_inheritance.html
boost/mirror/reflects_virtual_inheritance.html
char_type_switch.html
+char_type_switch/reference.html
+BOOST_CTS_USE_WIDE_CHARS.html
+boost/cts/bchar.html
+BOOST_CTS_LIT.html
+BOOST_CTS_STRINGIZE.html
Modified: sandbox/mirror/doc/html/index.html
==============================================================================
--- sandbox/mirror/doc/html/index.html (original)
+++ sandbox/mirror/doc/html/index.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -21,7 +21,7 @@
<div class="book" lang="en">
<div class="titlepage">
<div><div><h1 class="title">
-<a name="id603662"></a>The Mirror library documentation</h1></div></div>
+<a name="id600385"></a>The Mirror library documentation</h1></div></div>
<hr>
</div>
<div class="toc">
Modified: sandbox/mirror/doc/html/libraries.html
==============================================================================
--- sandbox/mirror/doc/html/libraries.html (original)
+++ sandbox/mirror/doc/html/libraries.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -35,7 +35,10 @@
<dt><span class="section">Mirror Reference</span></dt>
</dl></dd>
<dt><span class="chapter">2. Char Type Switch</span></dt>
-<dd><dl><dt><span class="section">Introduction</span></dt></dl></dd>
+<dd><dl>
+<dt><span class="section">Introduction</span></dt>
+<dt><span class="section">Char Type Switch Reference</span></dt>
+</dl></dd>
</dl>
</div>
</div>
Modified: sandbox/mirror/doc/html/mirror.html
==============================================================================
--- sandbox/mirror/doc/html/mirror.html (original)
+++ sandbox/mirror/doc/html/mirror.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -34,7 +34,7 @@
</div></div>
<div><p class="copyright">Copyright © 2008 Matúš Chochlík</p></div>
<div><div class="legalnotice">
-<a name="id705145"></a><p>Use, modification and distribution is subject to the Boost
+<a name="id701868"></a><p>Use, modification and distribution is subject to the Boost
Software License, Version 1.0. (See accompanying file
<code class="filename">LICENSE_1_0.txt</code> or copy at http://www.boost.org/LICENSE_1_0.txt)
</p>
@@ -51,9 +51,9 @@
<dt><span class="section">Tutorial</span></dt>
<dt><span class="section">Mirror Reference</span></dt>
<dd><dl>
-<dt><span class="section">Meta Objects</span></dt>
-<dt><span class="section">Traits</span></dt>
-<dt><span class="section">Header files</span></dt>
+<dt><span class="section">Meta Objects</span></dt>
+<dt><span class="section">Traits</span></dt>
+<dt><span class="section">Header files</span></dt>
</dl></dd>
</dl>
</div>
Modified: sandbox/mirror/doc/html/mirror/reference.html
==============================================================================
--- sandbox/mirror/doc/html/mirror/reference.html (original)
+++ sandbox/mirror/doc/html/mirror/reference.html 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -26,19 +26,19 @@
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="mirror.reference"></a>Mirror Reference</h2></div></div></div>
<div class="toc"><dl>
-<dt><span class="section">Meta Objects</span></dt>
-<dt><span class="section">Traits</span></dt>
-<dt><span class="section">Header files</span></dt>
+<dt><span class="section">Meta Objects</span></dt>
+<dt><span class="section">Traits</span></dt>
+<dt><span class="section">Header files</span></dt>
</dl></div>
<p>
</p>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title">
-<a name="id705533"></a>Meta Objects</h3></div></div></div></div>
+<a name="id702256"></a>Meta Objects</h3></div></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title">
-<a name="id705540"></a>Traits</h3></div></div></div></div>
+<a name="id702263"></a>Traits</h3></div></div></div></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="id705547"></a>Header files</h3></div></div></div>
+<a name="id702270"></a>Header files</h3></div></div></div>
<div class="toc"><dl>
<dt><span class="section">Header <boost/mirror/meta_namespace.hpp></span></dt>
<dt><span class="section">Header <boost/mirror/meta_type.hpp></span></dt>
Modified: sandbox/mirror/libs/char_type_switch/doc/char_type_switch.xml
==============================================================================
--- sandbox/mirror/libs/char_type_switch/doc/char_type_switch.xml (original)
+++ sandbox/mirror/libs/char_type_switch/doc/char_type_switch.xml 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -37,8 +37,8 @@
<xi:include href="introduction.xml"/>
<!--
<xi:include href="tutorial.xml"/>
- <xi:include href="reference.xml"/>
-->
+ <xi:include href="reference.xml"/>
</library>
Added: sandbox/mirror/libs/char_type_switch/doc/reference.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/char_type_switch/doc/reference.xml 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE section PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
+ "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<library-reference xmlns:xi="http://www.w3.org/2001/XInclude">
+ <title>Char Type Switch Reference</title>
+ <para>
+ </para>
+ <section>
+ <title>Header files</title>
+ <xi:include href="reference/choice.xml"/>
+ <xi:include href="reference/string.xml"/>
+ <xi:include href="reference/iostream.xml"/>
+ </section>
+
+</library-reference>
Added: sandbox/mirror/libs/char_type_switch/doc/reference/choice.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/char_type_switch/doc/reference/choice.xml 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE section PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
+ "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<header name="boost/char_type_switch/choice.hpp"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+>
+ <using-namespace name="boost"/>
+ <using-namespace name="boost::cts"/>
+
+ <namespace name="boost">
+ <namespace name="cts">
+
+ </namespace><!-- cts -->
+ </namespace><!-- boost -->
+
+ <macro name="BOOST_CTS_USE_WIDE_CHARS">
+ <purpose>
+ <para>This preprocessor symbol is used to switch the definition of <code><classname>bchar</classname></code>
+ and everything derived from this type.
+ </para>
+ </purpose>
+ <description>
+ <para>If the <code><macroname>BOOST_CTS_USE_WIDE_CHARS</macroname></code> symbol is defined
+ then the type <code><classname>bchar</classname></code> is defined as <code>wchar_t</code>,
+ otherwise it's defined as <code>char</code>:
+<programlisting>
+#include <boost/char_type_switch/string.hpp>
+
+#ifdef <macroname>BOOST_CTS_USE_WIDE_CHARS</macroname>
+<macroname>BOOST_MPL_ASSERT</macroname>((::boost::<classname>is_same</classname>< ::boost::cts::<classname>bchar</classname>, wchar_t >));
+#else
+<macroname>BOOST_MPL_ASSERT</macroname>((::boost::<classname>is_same</classname>< ::boost::cts::<classname>bchar</classname>, char >));
+#endif
+</programlisting>
+ </para>
+ </description>
+ </macro>
+
+
+</header>
Added: sandbox/mirror/libs/char_type_switch/doc/reference/iostream.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/char_type_switch/doc/reference/iostream.xml 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE section PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
+ "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<header name="boost/char_type_switch/iostream.hpp"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+>
+ <using-namespace name="boost"/>
+ <using-namespace name="boost::cts"/>
+
+ <namespace name="boost">
+ <namespace name="cts">
+
+ </namespace><!-- cts -->
+ </namespace><!-- boost -->
+</header>
Added: sandbox/mirror/libs/char_type_switch/doc/reference/macro_LITERAL.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/char_type_switch/doc/reference/macro_LITERAL.xml 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE section PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
+ "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<macro name="BOOST_CTS_LIT"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ kind="functionlike"
+>
+ <using-namespace name="boost"/>
+ <using-namespace name="boost::cts"/>
+
+ <macro-parameter name="STRING_LITERAL">
+ </macro-parameter>
+ <purpose>
+ <para>This macro expands into wide character string literal if the
+ <code><macroname>BOOST_CTS_USE_WIDE_CHARS</macroname></code> symbol is defined,
+ or expands into <code>char</code> string literal otherwise.
+ </para>
+ </purpose>
+ <description>
+ <para>This macro is defined as follows:
+<programlisting>
+
+#ifdef <macroname>BOOST_CTS_USE_WIDE_CHARS</macroname>
+# define <macroname>BOOST_CTS_LIT</macroname>(STRING_LITERAL) L##STRING_LITERAL
+#else
+# define <macroname>BOOST_CTS_LIT</macroname>(STRING_LITERAL) STRING_LITERAL
+#endif
+</programlisting>
+ </para>
+ <section id="char_type_switch.LITERAL.reference.samples">
+ <title>Examples</title>
+<programlisting>
+#include <boost/char_type_switch/string.hpp>
+//...
+
+#ifdef <macroname>BOOST_CTS_USE_WIDE_CHARS</macroname>
+<macroname>BOOST_MPL_ASSERT</macroname>((
+ ::boost::<classname>is_same</classname><
+ <macroname>BOOST_TYPEOF</macroname>(<macroname>BOOST_CTS_LIT</macroname>("foo")),
+ <macroname>BOOST_TYPEOF</macroname>(L"foo")
+ >
+));
+#else
+<macroname>BOOST_MPL_ASSERT</macroname>((
+ ::boost::<classname>is_same</classname><
+ <macroname>BOOST_TYPEOF</macroname>(<macroname>BOOST_CTS_LIT</macroname>("foo")),
+ <macroname>BOOST_TYPEOF</macroname>("foo")
+ >
+));
+#endif
+</programlisting>
+<programlisting>
+#include <assert.h>
+#include <boost/char_type_switch/string.hpp>
+
+int main(void)
+{
+#ifdef <macroname>BOOST_CTS_USE_WIDE_CHARS</macroname>
+ assert(::boost::cts::<functionname>bstrcmp</functionname>(<macroname>BOOST_CTS_LIT</macroname>("foo"), L"foo") == 0);
+#else
+ assert(::boost::cts::<functionname>bstrcmp</functionname>(<macroname>BOOST_CTS_LIT</macroname>("foo"), "foo") == 0);
+#endif
+ return 0;
+}
+</programlisting>
+<programlisting>
+#include <assert.h>
+#include <boost/char_type_switch/string.hpp>
+
+int main(void)
+{
+ assert(::boost::cts::<functionname>bstrcmp</functionname>(<macroname>BOOST_CTS_LIT</macroname>("foo"), <macroname>BOOST_CTS_STRINGIZE</macroname>(foo)) == 0);
+ return 0;
+}
+</programlisting>
+ </section>
+ </description>
+</macro>
Added: sandbox/mirror/libs/char_type_switch/doc/reference/macro_STRINGIZE.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/char_type_switch/doc/reference/macro_STRINGIZE.xml 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE section PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
+ "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<macro name="BOOST_CTS_STRINGIZE"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ kind="functionlike"
+>
+ <using-namespace name="boost"/>
+ <using-namespace name="boost::cts"/>
+
+ <macro-parameter name="ARG">
+ </macro-parameter>
+ <purpose>
+ <para>This macro stringizes its argument into wide character string literal if the
+ <code><macroname>BOOST_CTS_USE_WIDE_CHARS</macroname></code> symbol is defined,
+ or expands into <code>char</code> string literal otherwise.
+ </para>
+ </purpose>
+ <description>
+ <para>This macro is defined as follows:
+<programlisting>
+
+#ifdef <macroname>BOOST_CTS_USE_WIDE_CHARS</macroname>
+# define <macroname>BOOST_CTS_STRINGIZE</macroname>(ARG) BOOST_PP_WSTRINGIZE(ARG)
+#else
+# define <macroname>BOOST_CTS_STRINGIZE</macroname>(ARG) BOOST_PP_STRINGIZE(ARG)
+#endif
+</programlisting>
+ </para>
+ <section id="char_type_switch.STRINGIZE.reference.samples">
+ <title>Examples</title>
+<programlisting>
+#include <boost/char_type_switch/string.hpp>
+//...
+
+#ifdef <macroname>BOOST_CTS_USE_WIDE_CHARS</macroname>
+<macroname>BOOST_MPL_ASSERT</macroname>((
+ ::boost::<classname>is_same</classname><
+ <macroname>BOOST_TYPEOF</macroname>(<macroname>BOOST_CTS_STRINGIZE</macroname>(foo)),
+ <macroname>BOOST_TYPEOF</macroname>(L"foo")
+ >
+));
+#else
+<macroname>BOOST_MPL_ASSERT</macroname>((
+ ::boost::<classname>is_same</classname><
+ <macroname>BOOST_TYPEOF</macroname>(<macroname>BOOST_CTS_STRINGIZE</macroname>(foo)),
+ <macroname>BOOST_TYPEOF</macroname>("foo")
+ >
+));
+#endif
+</programlisting>
+<programlisting>
+#include <assert.h>
+#include <boost/char_type_switch/string.hpp>
+
+int main(void)
+{
+#ifdef <macroname>BOOST_CTS_USE_WIDE_CHARS</macroname>
+ assert(::boost::cts::<functionname>bstrcmp</functionname>(<macroname>BOOST_CTS_STRINGIZE</macroname>(foo), L"foo") == 0);
+#else
+ assert(::boost::cts::<functionname>bstrcmp</functionname>(<macroname>BOOST_CTS_STRINGIZE</macroname>(foo), "foo") == 0);
+#endif
+ return 0;
+}
+</programlisting>
+<programlisting>
+#include <assert.h>
+#include <boost/char_type_switch/string.hpp>
+
+int main(void)
+{
+ assert(::boost::cts::<functionname>bstrcmp</functionname>(<macroname>BOOST_CTS_STRINGIZE</macroname>(foo), <macroname>BOOST_CTS_LIT</macroname>("foo")) == 0);
+ return 0;
+}
+</programlisting>
+ </section>
+ </description>
+</macro>
Added: sandbox/mirror/libs/char_type_switch/doc/reference/string.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/char_type_switch/doc/reference/string.xml 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE section PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
+ "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<header name="boost/char_type_switch/switch.hpp"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+>
+ <using-namespace name="boost"/>
+ <using-namespace name="boost::cts"/>
+
+ <namespace name="boost">
+ <namespace name="cts">
+
+ <xi:include href="typedef_bchar.xml"/>
+
+ </namespace><!-- cts -->
+ </namespace><!-- boost -->
+
+ <xi:include href="macro_LITERAL.xml"/>
+ <xi:include href="macro_STRINGIZE.xml"/>
+
+</header>
Added: sandbox/mirror/libs/char_type_switch/doc/reference/typedef_bchar.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/char_type_switch/doc/reference/typedef_bchar.xml 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE section PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
+ "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<typedef name="bchar"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+>
+ <type>char-or-wchar_t</type>
+ <purpose>
+ <para>This type is defined as <code>wchar_t</code> or as <code>char</code> based
+ on the <code><macroname>BOOST_CTS_USE_WIDE_CHARS</macroname></code> preprocessing
+ symbol being defined.
+ </para>
+ </purpose>
+ <description>
+ <para>The <code>bchar</code> type is defined as follows:
+<programlisting>
+namespace boost {
+ namespace cts {
+#ifdef <macroname>BOOST_CTS_USE_WIDE_CHARS</macroname>
+ typedef wchar_t <classname>bchar</classname>;
+#else
+ typedef char <classname>bchar</classname>;
+#endif
+ } // namespace cts
+} // namespace boost
+</programlisting>
+ </para>
+ </description>
+</typedef>
Modified: sandbox/mirror/libs/mirror/example/registering/classes.cpp
==============================================================================
--- sandbox/mirror/libs/mirror/example/registering/classes.cpp (original)
+++ sandbox/mirror/libs/mirror/example/registering/classes.cpp 2008-07-23 09:26:00 EDT (Wed, 23 Jul 2008)
@@ -19,6 +19,7 @@
#include <boost/mpl/at.hpp>
#include <boost/char_type_switch/iostream.hpp>
+#include <boost/char_type_switch/string.hpp>
#include <boost/mirror/meta_namespace.hpp>
#include <boost/mirror/meta_type.hpp>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk