|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r48946 - in sandbox/mirror: doc/html doc/html/boost/cts doc/html/boost/mirror doc/html/char_type_switch doc/html/mirror libs/mirror/doc libs/mirror/doc/reference
From: chochlik_at_[hidden]
Date: 2008-09-24 12:13:36
Author: matus.chochlik
Date: 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
New Revision: 48946
URL: http://svn.boost.org/trac/boost/changeset/48946
Log:
[mirror 0.2.x]
- documentation update
Added:
sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPEDEF.xml (contents, props changed)
sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPE_GLOBAL_SCOPE.xml (contents, props changed)
sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPE_GS.xml (contents, props changed)
Text files modified:
sandbox/mirror/doc/html/BOOST_CTS_LIT.html | 8 +-
sandbox/mirror/doc/html/BOOST_CTS_LIT_LENGTH.html | 8 +-
sandbox/mirror/doc/html/BOOST_CTS_STRINGIZE.html | 8 +-
sandbox/mirror/doc/html/BOOST_CTS_USE_WIDE_CHARS.html | 2
sandbox/mirror/doc/html/BOOST_MIRRORED_CLASS.html | 2
sandbox/mirror/doc/html/BOOST_MIRRORED_GLOBAL_SCOPE.html | 2
sandbox/mirror/doc/html/BOOST_MIRRORED_NAMESPACE.html | 6 +-
sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE.html | 8 +-
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 | 4
sandbox/mirror/doc/html/BOOST_MIRROR_REG_NAMESPACE.html | 6 +-
sandbox/mirror/doc/html/boost/cts/bchar.html | 2
sandbox/mirror/doc/html/boost/cts/bchar_traits.html | 2
sandbox/mirror/doc/html/boost/cts/biostream.html | 8 +-
sandbox/mirror/doc/html/boost/cts/bistream.html | 8 +-
sandbox/mirror/doc/html/boost/cts/bostream.html | 8 +-
sandbox/mirror/doc/html/boost/cts/bstring.html | 2
sandbox/mirror/doc/html/boost/mirror/meta_attribute.html | 56 +++++++++++++-------------
sandbox/mirror/doc/html/boost/mirror/meta_class.html | 8 +-
sandbox/mirror/doc/html/boost/mirror/meta_class_all_attributes.html | 2
sandbox/mirror/doc/html/boost/mirror/meta_class_attributes.html | 2
sandbox/mirror/doc/html/boost/mirror/meta_namespace.html | 40 +++++++++---------
sandbox/mirror/doc/html/boost/mirror/meta_type.html | 46 ++++++++++----------
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 | 8 +-
sandbox/mirror/doc/html/char_type_switch/reference.html | 84 ++++++++++++++++++++--------------------
sandbox/mirror/doc/html/doc_HTML.manifest | 4 +
sandbox/mirror/doc/html/mirror.html | 2
sandbox/mirror/doc/html/mirror/reference.html | 36 ++++++++++++++--
sandbox/mirror/libs/mirror/doc/reference.xml | 15 +++++++
sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPE.xml | 24 +++++------
sandbox/mirror/libs/mirror/doc/reference/macro_RFL_TYPE_NS.xml | 2
sandbox/mirror/libs/mirror/doc/reference/meta_type.xml | 3 +
37 files changed, 237 insertions(+), 191 deletions(-)
Modified: sandbox/mirror/doc/html/BOOST_CTS_LIT.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_CTS_LIT.html (original)
+++ sandbox/mirror/doc/html/BOOST_CTS_LIT.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 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_CTS_LIT(STRING_LITERAL)</pre></div>
<div class="refsect1" lang="en">
-<a name="id2642472"></a><h2>Description</h2>
+<a name="id2643829"></a><h2>Description</h2>
<p>This macro is defined as follows:
</p>
<pre class="programlisting">
@@ -77,9 +77,9 @@
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::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a>(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"), L"foo") == 0);
+ assert(::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a>(<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::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a>(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"), "foo") == 0);
+ assert(::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a>(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"), "foo") == 0);
#endif
return 0;
}
@@ -90,7 +90,7 @@
int main(void)
{
- assert(::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a>(<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);
+ assert(::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a>(<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>
Modified: sandbox/mirror/doc/html/BOOST_CTS_LIT_LENGTH.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_CTS_LIT_LENGTH.html (original)
+++ sandbox/mirror/doc/html/BOOST_CTS_LIT_LENGTH.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -33,7 +33,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_CTS_LIT_LENGTH(STRING_LITERAL)</pre></div>
<div class="refsect1" lang="en">
-<a name="id2642664"></a><h2>Description</h2>
+<a name="id2644022"></a><h2>Description</h2>
<p>This macro is defined as follows:
</p>
<pre class="programlisting">
@@ -63,7 +63,7 @@
{
assert(
<a class="link" href="BOOST_CTS_LIT_LENGTH.html" title="Macro BOOST_CTS_LIT_LENGTH">BOOST_CTS_LIT_LENGTH</a>("foo") ==
- ::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrlen_id2353027">bstrlen</a>(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"))
+ ::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrlen_id2451834">bstrlen</a>(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"))
);
return 0;
}
@@ -76,8 +76,8 @@
{
using namespace ::boost::cts;
<a class="link" href="boost/cts/bchar.html" title="Type definition bchar">bchar</a> foo[<a class="link" href="BOOST_CTS_LIT_LENGTH.html" title="Macro BOOST_CTS_LIT_LENGTH">BOOST_CTS_LIT_LENGTH</a>("foo")+1];
- <a class="link" href="char_type_switch/reference.html#boost.cts.bstrcpy_id2498953">bstrcpy</a>(foo, <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"));
- assert(<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a>(foo, <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo")) == 0);
+ <a class="link" href="char_type_switch/reference.html#boost.cts.bstrcpy_id2362648">bstrcpy</a>(foo, <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"));
+ assert(<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a>(foo, <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo")) == 0);
return 0;
}
</pre>
Modified: sandbox/mirror/doc/html/BOOST_CTS_STRINGIZE.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_CTS_STRINGIZE.html (original)
+++ sandbox/mirror/doc/html/BOOST_CTS_STRINGIZE.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 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_CTS_STRINGIZE(ARG)</pre></div>
<div class="refsect1" lang="en">
-<a name="id2642859"></a><h2>Description</h2>
+<a name="id2644217"></a><h2>Description</h2>
<p>This macro is defined as follows:
</p>
<pre class="programlisting">
@@ -77,9 +77,9 @@
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::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a>(<a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(foo), L"foo") == 0);
+ assert(::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a>(<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::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a>(<a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(foo), "foo") == 0);
+ assert(::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a>(<a class="link" href="BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a>(foo), "foo") == 0);
#endif
return 0;
}
@@ -90,7 +90,7 @@
int main(void)
{
- assert(::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a>(<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);
+ assert(::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a>(<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>
Modified: sandbox/mirror/doc/html/BOOST_CTS_USE_WIDE_CHARS.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_CTS_USE_WIDE_CHARS.html (original)
+++ sandbox/mirror/doc/html/BOOST_CTS_USE_WIDE_CHARS.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -33,7 +33,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_CTS_USE_WIDE_CHARS</pre></div>
<div class="refsect1" lang="en">
-<a name="id2642159"></a><h2>Description</h2>
+<a name="id2643516"></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"><a class="link" href="boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> is defined as <code class="computeroutput">wchar_t</code>,
otherwise it's defined as <code class="computeroutput">char</code>:
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_CLASS.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_CLASS.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_CLASS.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 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_MIRRORED_CLASS(CLASS)</pre></div>
<div class="refsect1" lang="en">
-<a name="id2638255"></a><h2>Description</h2>
+<a name="id2639610"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_CLASS.html" title="Macro BOOST_MIRRORED_CLASS">BOOST_MIRRORED_CLASS</a></code> macro reflects a class
previously registered with the <a class="link" href="mirror.html" title="Chapter 1. Mirror">Mirror</a> library.
The argument of this macro is a class name.
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-09-24 12:13:30 EDT (Wed, 24 Sep 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="id2635210"></a><h2>Description</h2>
+<a name="id2635330"></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-09-24 12:13:30 EDT (Wed, 24 Sep 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="id2634772"></a><h2>Description</h2>
+<a name="id2634893"></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>.
@@ -98,7 +98,7 @@
{
using namespace ::std;
using namespace ::boost;
- cts::<a class="link" href="boost/cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ cts::<a class="link" href="boost/cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
bcout <<
<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("This is the global scope") <<
endl <<
@@ -113,7 +113,7 @@
using namespace ::std;
using namespace ::boost;
using namespace ::boost::mirror;
- cts::bostream& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ cts::bostream& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
bcout <<
<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Namespace '") <<
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-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -6,7 +6,7 @@
<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="mirror/reference.html#header.boost.mirror.meta_type.hpp" title="Header <boost/mirror/meta_type.hpp>">
-<link rel="prev" href="boost/mirror/meta_type.html" title="Class template meta_type">
+<link rel="prev" href="BOOST_MIRROR_REG_TYPEDEF.html" title="Macro BOOST_MIRROR_REG_TYPEDEF">
<link rel="next" href="BOOST_MIRRORED_TYPE_NS.html" title="Macro BOOST_MIRRORED_TYPE_NS">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="boost/mirror/meta_type.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="mirror/reference.html#header.boost.mirror.meta_type.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_MIRRORED_TYPE_NS.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="BOOST_MIRROR_REG_TYPEDEF.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="mirror/reference.html#header.boost.mirror.meta_type.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_MIRRORED_TYPE_NS.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="refentry" lang="en">
<a name="BOOST_MIRRORED_TYPE"></a><div class="titlepage"></div>
@@ -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="id2637011"></a><h2>Description</h2>
+<a name="id2638366"></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.
@@ -83,7 +83,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="boost/mirror/meta_type.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="mirror/reference.html#header.boost.mirror.meta_type.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_MIRRORED_TYPE_NS.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="BOOST_MIRROR_REG_TYPEDEF.html"><img src="../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="mirror/reference.html#header.boost.mirror.meta_type.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_MIRRORED_TYPE_NS.html"><img src="../../doc/html/images/next.png" alt="Next"></a>
</div>
</body>
</html>
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-09-24 12:13:30 EDT (Wed, 24 Sep 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="id2637365"></a><h2>Description</h2>
+<a name="id2638720"></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-09-24 12:13:30 EDT (Wed, 24 Sep 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="id2637724"></a><h2>Description</h2>
+<a name="id2639079"></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-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -28,14 +28,14 @@
<h2><span class="refentrytitle">Macro BOOST_MIRRORED_TYPE_NS</span></h2>
<p>BOOST_MIRRORED_TYPE_NS — This macro is a variation of the
<code class="computeroutput"><a class="link" href="BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a></code> macro, which
- takes the name of the type split into two arguments the full namespace
+ takes the name of the type split into two arguments; the full namespace
name and the base type name.
</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_MIRRORED_TYPE_NS(FULL_NAMESPACE_NAME, TYPE)</pre></div>
<div class="refsect1" lang="en">
-<a name="id2637169"></a><h2>Description</h2>
+<a name="id2638524"></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-09-24 12:13:30 EDT (Wed, 24 Sep 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="id2634169"></a><h2>Description</h2>
+<a name="id2634290"></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>
@@ -165,7 +165,7 @@
{
using namespace ::std;
using namespace ::boost;
- cts::<a class="link" href="boost/cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ cts::<a class="link" href="boost/cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
bcout <<
<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("This is the global scope") <<
endl <<
@@ -180,7 +180,7 @@
using namespace ::std;
using namespace ::boost;
using namespace ::boost::mirror;
- cts::bostream& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ cts::bostream& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
bcout <<
<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Namespace '") <<
Modified: sandbox/mirror/doc/html/boost/cts/bchar.html
==============================================================================
--- sandbox/mirror/doc/html/boost/cts/bchar.html (original)
+++ sandbox/mirror/doc/html/boost/cts/bchar.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -35,7 +35,7 @@
<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="id2642385"></a><h2>Description</h2>
+<a name="id2643743"></a><h2>Description</h2>
<p>The <code class="computeroutput">bchar</code> type is defined as follows:
</p>
<pre class="programlisting">
Modified: sandbox/mirror/doc/html/boost/cts/bchar_traits.html
==============================================================================
--- sandbox/mirror/doc/html/boost/cts/bchar_traits.html (original)
+++ sandbox/mirror/doc/html/boost/cts/bchar_traits.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -34,7 +34,7 @@
<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> ::std::char_traits<<a class="link" href="bchar.html" title="Type definition bchar">bchar</a>> bchar_traits;</pre></div>
<div class="refsect1" lang="en">
-<a name="id2643188"></a><h2>Description</h2>
+<a name="id2644547"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="bchar_traits.html" title="Type definition bchar_traits">bchar_traits</a></code> type is defined as abbreviation for
<code class="computeroutput">::std::char_traits<<a class="link" href="bchar.html" title="Type definition bchar">bchar</a>></code>.
</p>
Modified: sandbox/mirror/doc/html/boost/cts/biostream.html
==============================================================================
--- sandbox/mirror/doc/html/boost/cts/biostream.html (original)
+++ sandbox/mirror/doc/html/boost/cts/biostream.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -33,13 +33,13 @@
<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> ::std::basic_iostream<<a class="link" href="bchar.html" title="Type definition bchar">bchar</a>, <a class="link" href="bchar_traits.html" title="Type definition bchar_traits">bchar_traits</a>> biostream;</pre></div>
<div class="refsect1" lang="en">
-<a name="id2644288"></a><h2>Description</h2>
+<a name="id2645645"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="biostream.html" title="Type definition biostream">biostream</a></code> type is defined as an abbreviation for
<code class="computeroutput">::std::basic_iostream<<a class="link" href="bchar.html" title="Type definition bchar">bchar</a>, <a class="link" href="bchar_traits.html" title="Type definition bchar_traits">bchar_traits</a>></code>.
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
-<a name="id2644328"></a>Examples</h6></div></div></div>
+<a name="id2645685"></a>Examples</h6></div></div></div>
<pre class="programlisting">
#include <assert.h>
#include <boost/char_type_switch/string.hpp>
@@ -49,8 +49,8 @@
{
using namespace ::std;
using namespace ::boost::cts;
- <a class="link" href="bistream.html" title="Type definition bistream">bistream</a>& in = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcin_id2405249">bcin</a>();
- <a class="link" href="bostream.html" title="Type definition bostream">bostream</a>& out = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ <a class="link" href="bistream.html" title="Type definition bistream">bistream</a>& in = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcin_id2487416">bcin</a>();
+ <a class="link" href="bostream.html" title="Type definition bostream">bostream</a>& out = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
bstring str;
out << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Enter a string: ") << flush;
Modified: sandbox/mirror/doc/html/boost/cts/bistream.html
==============================================================================
--- sandbox/mirror/doc/html/boost/cts/bistream.html (original)
+++ sandbox/mirror/doc/html/boost/cts/bistream.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -34,13 +34,13 @@
<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> ::std::basic_istream<<a class="link" href="bchar.html" title="Type definition bchar">bchar</a>, <a class="link" href="bchar_traits.html" title="Type definition bchar_traits">bchar_traits</a>> bistream;</pre></div>
<div class="refsect1" lang="en">
-<a name="id2643872"></a><h2>Description</h2>
+<a name="id2645229"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="bistream.html" title="Type definition bistream">bistream</a></code> type is defined as an abbreviation for
<code class="computeroutput">::std::basic_istream<<a class="link" href="bchar.html" title="Type definition bchar">bchar</a>, <a class="link" href="bchar_traits.html" title="Type definition bchar_traits">bchar_traits</a>></code>.
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
-<a name="id2643912"></a>Examples</h6></div></div></div>
+<a name="id2645269"></a>Examples</h6></div></div></div>
<pre class="programlisting">
#include <assert.h>
#include <boost/char_type_switch/string.hpp>
@@ -50,8 +50,8 @@
{
using namespace ::std;
using namespace ::boost::cts;
- <a class="link" href="bistream.html" title="Type definition bistream">bistream</a>& in = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcin_id2405249">bcin</a>();
- <a class="link" href="bostream.html" title="Type definition bostream">bostream</a>& out = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ <a class="link" href="bistream.html" title="Type definition bistream">bistream</a>& in = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcin_id2487416">bcin</a>();
+ <a class="link" href="bostream.html" title="Type definition bostream">bostream</a>& out = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
bstring str;
out << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Enter a string: ") << flush;
Modified: sandbox/mirror/doc/html/boost/cts/bostream.html
==============================================================================
--- sandbox/mirror/doc/html/boost/cts/bostream.html (original)
+++ sandbox/mirror/doc/html/boost/cts/bostream.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -34,13 +34,13 @@
<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> ::std::basic_ostream<<a class="link" href="bchar.html" title="Type definition bchar">bchar</a>, <a class="link" href="bchar_traits.html" title="Type definition bchar_traits">bchar_traits</a>> bostream;</pre></div>
<div class="refsect1" lang="en">
-<a name="id2644080"></a><h2>Description</h2>
+<a name="id2645437"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="bostream.html" title="Type definition bostream">bostream</a></code> type is defined as an abbreviation for
<code class="computeroutput">::std::basic_ostream<<a class="link" href="bchar.html" title="Type definition bchar">bchar</a>, <a class="link" href="bchar_traits.html" title="Type definition bchar_traits">bchar_traits</a>></code>.
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
-<a name="id2644120"></a>Examples</h6></div></div></div>
+<a name="id2645477"></a>Examples</h6></div></div></div>
<pre class="programlisting">
#include <assert.h>
#include <boost/char_type_switch/string.hpp>
@@ -50,8 +50,8 @@
{
using namespace ::std;
using namespace ::boost::cts;
- <a class="link" href="bistream.html" title="Type definition bistream">bistream</a>& in = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcin_id2405249">bcin</a>();
- <a class="link" href="bostream.html" title="Type definition bostream">bostream</a>& out = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ <a class="link" href="bistream.html" title="Type definition bistream">bistream</a>& in = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcin_id2487416">bcin</a>();
+ <a class="link" href="bostream.html" title="Type definition bostream">bostream</a>& out = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
bstring str;
out << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Enter a string: ") << flush;
Modified: sandbox/mirror/doc/html/boost/cts/bstring.html
==============================================================================
--- sandbox/mirror/doc/html/boost/cts/bstring.html (original)
+++ sandbox/mirror/doc/html/boost/cts/bstring.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -34,7 +34,7 @@
<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> ::std::basic_string<<a class="link" href="bchar.html" title="Type definition bchar">bchar</a>> bstring;</pre></div>
<div class="refsect1" lang="en">
-<a name="id2643321"></a><h2>Description</h2>
+<a name="id2644680"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="bstring.html" title="Type definition bstring">bstring</a></code> type is defined as an abbreviation for
<code class="computeroutput">::std::basic_string<<a class="link" href="bchar.html" title="Type definition bchar">bchar</a>></code>.
</p>
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-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -37,7 +37,7 @@
<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#id2569552-bbtypes">types</a></em></span>
+ <span class="emphasis"><em>// <a class="link" href="meta_attribute.html#id2558049-bbtypes">types</a></em></span>
<span class="bold"><strong>typedef</strong></span> <a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a><<span class="emphasis"><em>unspecified</em></span>> <a class="link" href="meta_attribute.html#boost.mirror.meta_attribute.scope">scope</a>;
<span class="bold"><strong>typedef</strong></span> <a class="link" href="meta_class_attributes.html" title="Class template meta_class_attributes">meta_class_attributes</a><<span class="emphasis"><em>unspecified</em></span>>-or-<a class="link" href="meta_class_all_attributes.html" title="Class template meta_class_all_attributes">meta_class_all_attributes</a><<span class="emphasis"><em>unspecified</em></span>> <a class="link" href="meta_attribute.html#boost.mirror.meta_attribute.container">container</a>;
<span class="bold"><strong>typedef</strong></span> container <a class="link" href="meta_attribute.html#boost.mirror.meta_attribute.meta_attributes">meta_attributes</a>;
@@ -45,18 +45,18 @@
<span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="meta_attribute.html#boost.mirror.meta_attribute.type">type</a>;
<span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span> <a class="link" href="meta_attribute.html#boost.mirror.meta_attribute.typedef_or_type">typedef_or_type</a>;
<span class="bold"><strong>typedef</strong></span> meta_class_attribute_traits<<span class="emphasis"><em>unspecified</em></span>> <a class="link" href="meta_attribute.html#boost.mirror.meta_attribute.traits">traits</a>;
- <span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_attribute.html#id2546522-bb">base_name</a>();
- <span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_attribute.html#id2531635-bb">full_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_attribute.html#id2290523-bb">base_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_attribute.html#id2430049-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#id2290557-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
- <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="meta_attribute.html#id2500611-bb">get</a>(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type&);
+ <a class="link" href="meta_attribute.html#id2528872-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
+ <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a class="link" href="meta_attribute.html#id2470166-bb">get</a>(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type&);
<span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> DestType>
- <span class="type">DestType&</span> <a class="link" href="meta_attribute.html#id2494109-bb">query</a>(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type&, DestType&);
- <span class="type"><span class="bold"><strong>void</strong></span></span> <a class="link" href="meta_attribute.html#id2516060-bb">set</a>(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type&, type);
+ <span class="type">DestType&</span> <a class="link" href="meta_attribute.html#id2519118-bb">query</a>(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type&, DestType&);
+ <span class="type"><span class="bold"><strong>void</strong></span></span> <a class="link" href="meta_attribute.html#id2507405-bb">set</a>(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type&, type);
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id2638895"></a><h2>Description</h2>
+<a name="id2640250"></a><h2>Description</h2>
<p>This template allows to get both compile-time and run-time meta-data about
the member attribute of a class. At compile time the scope, position, type and several other traits of the attribute
can be inspected. At run-time one can get the base and full name of the attribute and to generically get and set its value.
@@ -71,8 +71,8 @@
</div>
</div>
<div class="refsect2" lang="en">
-<a name="id2638930"></a><h3>
-<a name="id2569552-bbtypes"></a><code class="computeroutput">meta_attribute</code> public types</h3>
+<a name="id2640286"></a><h3>
+<a name="id2558049-bbtypes"></a><code class="computeroutput">meta_attribute</code> public types</h3>
<div class="orderedlist"><ol type="1">
<li>
<p>
@@ -129,15 +129,15 @@
</li>
</ol></div>
</div>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2546522-bb"></a>base_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2290523-bb"></a>base_name();</pre>
<p>This static member function returns the base name of the
attribute reflected by the <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code>.
When a full attribute name
<span class="bold"><strong>including</strong></span> the class name, that the
reflected member attribute belongs to,
- is needed use the <code class="computeroutput"><a class="link" href="meta_attribute.html#id2531635-bb">full_name</a></code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_attribute.html#id2430049-bb">full_name</a></code> member function
instead.</p>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2531635-bb"></a>full_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2430049-bb"></a>full_name();</pre>
<p>This static member function returns the full name of the
attribute reflected by the <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code>
including the full name of the class that the attribute belongs to. For example:
@@ -156,7 +156,7 @@
<p>
returns <code class="computeroutput">"::std::pair< int, double >::first"</code>. When the base attribute name
<span class="bold"><strong>without</strong></span> the full class name
- is needed use the <code class="computeroutput"><a class="link" href="meta_attribute.html#id2546522-bb">base_name</a></code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_attribute.html#id2290523-bb">base_name</a></code> member function
instead.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@@ -173,7 +173,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="id2290557-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
+ <a name="id2528872-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
or the full name of the attribute reflected by this
<code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code>,
@@ -182,7 +182,7 @@
<code class="computeroutput">::std::string</code> or <code class="computeroutput">::std::wstring</code> based
on the type of the second argument.
</p>
-<pre class="literallayout"><span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a name="id2500611-bb"></a>get(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type& instance);</pre>
+<pre class="literallayout"><span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a name="id2470166-bb"></a>get(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type& instance);</pre>
<p>This static member function returns the value of the attribute reflected
by this <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code> when given
an <code class="computeroutput">instance</code> of the class that the attribute belongs to:
@@ -199,13 +199,13 @@
//
// create an instance of the pair
pair p(10, 20.0);
-assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(p) == p.first);
-assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(p) == p.second);
+assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(p) == p.first);
+assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(p) == p.second);
</pre>
<p>
</p>
<pre class="literallayout"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> DestType>
- <span class="type">DestType&</span> <a name="id2494109-bb"></a>query(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type& instance,
+ <span class="type">DestType&</span> <a name="id2519118-bb"></a>query(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type& instance,
DestType& destination);</pre>
<p>This static member function assigns the value of the attribute reflected
by this <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code> (when given
@@ -229,15 +229,15 @@
long first = 30;
float second = 40.0f;
// query the values and check them
-assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2494109-bb">query</a></code>(p, first) == 10);
-assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2494109-bb">query</a></code>(p, second) == 20.0f);
+assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2519118-bb">query</a></code>(p, first) == 10);
+assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2519118-bb">query</a></code>(p, second) == 20.0f);
// and double check the variables
assert(first == p.first);
assert(second == p.second);
</pre>
<p>
</p>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>void</strong></span></span> <a name="id2516060-bb"></a>set(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type& instance, type value);</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>void</strong></span></span> <a name="id2507405-bb"></a>set(<span class="bold"><strong>const</strong></span> <span class="bold"><strong>typename</strong></span> scope::reflected_type& instance, type value);</pre>
<p>This static member function assigns the given value to the attribute reflected
by this <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code> when given
an <code class="computeroutput">instance</code> of the class that the attribute belongs to:
@@ -256,14 +256,14 @@
pair p(10, 20.0f);
pair r(30, 40.0f);
//
-assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(p) != meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(r));
-assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(p) != meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(r));
+assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(p) != meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(r));
+assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(p) != meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(r));
// set new values
-meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2516060-bb">set</a></code>(p, meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(r));
-meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2516060-bb">set</a></code>(p, meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(r));
+meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507405-bb">set</a></code>(p, meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(r));
+meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507405-bb">set</a></code>(p, meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(r));
// and check the values
-assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(p) == meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(r));
-assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(p) == meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2500611-bb">get</a></code>(r));
+assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(p) == meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(r));
+assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(p) == meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2470166-bb">get</a></code>(r));
// and double check them
assert(p.first == r.first);
assert(p.second == r.second);
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-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -42,16 +42,16 @@
<span class="bold"><strong>class</strong></span> <a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a> : <span class="bold"><strong>public</strong></span> <a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a><Class>
{
<span class="bold"><strong>public</strong></span>:
- <span class="emphasis"><em>// <a class="link" href="meta_class.html#id2538567-bbtypes">types</a></em></span>
+ <span class="emphasis"><em>// <a class="link" href="meta_class.html#id2505073-bbtypes">types</a></em></span>
<span class="bold"><strong>typedef</strong></span> meta_base_classes<<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> <a class="link" href="meta_class_attributes.html" title="Class template meta_class_attributes">meta_class_attributes</a><<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> <a class="link" href="meta_class_all_attributes.html" title="Class template meta_class_all_attributes">meta_class_all_attributes</a><<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="id2638051"></a><h2>Description</h2>
+<a name="id2639406"></a><h2>Description</h2>
<div class="refsect2" lang="en">
-<a name="id2638055"></a><h3>
-<a name="id2538567-bbtypes"></a><code class="computeroutput">meta_class</code> public types</h3>
+<a name="id2639410"></a><h3>
+<a name="id2505073-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_class_all_attributes.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/meta_class_all_attributes.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/meta_class_all_attributes.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -45,7 +45,7 @@
<span class="bold"><strong>class</strong></span> <a class="link" href="meta_class_all_attributes.html" title="Class template meta_class_all_attributes">meta_class_all_attributes</a> {
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id2640334"></a><h2>Description</h2>
+<a name="id2641690"></a><h2>Description</h2>
<p>
</p>
<div class="section" lang="en">
Modified: sandbox/mirror/doc/html/boost/mirror/meta_class_attributes.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/meta_class_attributes.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/meta_class_attributes.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -45,7 +45,7 @@
<span class="bold"><strong>class</strong></span> <a class="link" href="meta_class_attributes.html" title="Class template meta_class_attributes">meta_class_attributes</a> {
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id2640167"></a><h2>Description</h2>
+<a name="id2641523"></a><h2>Description</h2>
<p>
</p>
<div class="section" lang="en">
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-09-24 12:13:30 EDT (Wed, 24 Sep 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#id2493490-bbtypes">types</a></em></span>
+ <span class="emphasis"><em>// <a class="link" href="meta_namespace.html#id2565826-bbtypes">types</a></em></span>
<span class="bold"><strong>typedef</strong></span> <a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a><<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::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_namespace.html#id2485286-bb">base_name</a>();
- <span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_namespace.html#id2480402-bb">full_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_namespace.html#id2487467-bb">base_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_namespace.html#id2484398-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#id2525455-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
+ <a class="link" href="meta_namespace.html#id2511834-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id2632931"></a><h2>Description</h2>
+<a name="id2633052"></a><h2>Description</h2>
<p>The specializations of <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></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
@@ -81,7 +81,7 @@
using namespace ::std;
using namespace ::boost;
using namespace ::boost::mirror;
- cts::bostream& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ cts::bostream& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
// several namespaces are pre-registered
bcout << <a class="link" href="../../BOOST_MIRRORED_GLOBAL_SCOPE.html" title="Macro BOOST_MIRRORED_GLOBAL_SCOPE">BOOST_MIRRORED_GLOBAL_SCOPE</a>() ::base_name() << endl;
@@ -121,7 +121,7 @@
{
using namespace ::std;
using namespace ::boost;
- cts::<a class="link" href="../cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ cts::<a class="link" href="../cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
bcout <<
<a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("ancestor ") <<
ctr++ <<
@@ -141,7 +141,7 @@
using namespace ::std;
using namespace ::boost;
using namespace ::boost::mirror;
- cts::<a class="link" href="../cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ cts::<a class="link" href="../cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
//
typedef <a class="link" href="../../BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::boost::mirror) meta_boost_mirror;
//
@@ -165,9 +165,9 @@
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
<a name="mirror.meta_namespace.reference.sample03"></a>Example - Generic namespace name getter</h6></div></div></div>
-<p>The <code class="computeroutput"><a class="link" href="meta_namespace.html#id2485286-bb">base_name</a></code> and the
- <code class="computeroutput"><a class="link" href="meta_namespace.html#id2480402-bb">full_name</a></code> methods
- are convenient but not very generic. The <code class="computeroutput"><a class="link" href="meta_namespace.html#id2525455-bb">get_name</a></code>
+<p>The <code class="computeroutput"><a class="link" href="meta_namespace.html#id2487467-bb">base_name</a></code> and the
+ <code class="computeroutput"><a class="link" href="meta_namespace.html#id2484398-bb">full_name</a></code> methods
+ are convenient but not very generic. The <code class="computeroutput"><a class="link" href="meta_namespace.html#id2511834-bb">get_name</a></code>
member function allows to specify the character type of the returned string and
to specify whether a full or just the base namespace name should be returned, based
on compile time arguments.
@@ -213,8 +213,8 @@
</div>
</div>
<div class="refsect2" lang="en">
-<a name="id2633430"></a><h3>
-<a name="id2493490-bbtypes"></a><code class="computeroutput">meta_namespace</code> public types</h3>
+<a name="id2633551"></a><h3>
+<a name="id2565826-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::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2485286-bb"></a>base_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2487467-bb"></a>base_name();</pre>
<p>This static member function returns the base name of the
namespace reflected by a <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>.
For example the base namespace name "returned" by the invocation of
@@ -298,9 +298,9 @@
<p>
is <code class="computeroutput">"mirror"</code>. When a full namespace name
<span class="bold"><strong>with</strong></span> the nested name specifier
- is needed use the <code class="computeroutput"><a class="link" href="meta_namespace.html#id2480402-bb">full_name</a></code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_namespace.html#id2484398-bb">full_name</a></code> member function
instead.</p>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2480402-bb"></a>full_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2484398-bb"></a>full_name();</pre>
<p>This static member function returns the full name of the
namespace reflected by a <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>
with the nested name specifier. For example:
@@ -310,7 +310,7 @@
<p>
returns <code class="computeroutput">"::boost::mirror"</code>. When the base namespace name
<span class="bold"><strong>without</strong></span> the nested name specifier
- is needed use the <code class="computeroutput"><a class="link" href="meta_namespace.html#id2485286-bb">base_name</a></code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_namespace.html#id2487467-bb">base_name</a></code> member function
instead.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@@ -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="id2525455-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
+ <a name="id2511834-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
@@ -342,14 +342,14 @@
<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::false_(), ::std::char_traits<char>())
</pre>
<p> is equivalent to calling the
- <code class="computeroutput"><a class="link" href="meta_namespace.html#id2485286-bb">base_name</a></code> member function with the
+ <code class="computeroutput"><a class="link" href="meta_namespace.html#id2487467-bb">base_name</a></code> member function with 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 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"><a class="link" href="meta_namespace.html#id2480402-bb">full_name</a></code> method with the
+ <code class="computeroutput"><a class="link" href="meta_namespace.html#id2484398-bb">full_name</a></code> method with 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 defined,
which returns a <code class="computeroutput">::std::wstring</code> holding this string <code class="computeroutput">L"::boost::mirror"</code>.
</p>
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-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -7,7 +7,7 @@
<link rel="start" href="../../index.html" title="The Mirror library documentation">
<link rel="up" href="../../mirror/reference.html#header.boost.mirror.meta_type.hpp" title="Header <boost/mirror/meta_type.hpp>">
<link rel="prev" href="../../BOOST_MIRRORED_GLOBAL_SCOPE.html" title="Macro BOOST_MIRRORED_GLOBAL_SCOPE">
-<link rel="next" href="../../BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">
+<link rel="next" href="../../BOOST_MIRROR_REG_TYPE.html" title="Macro BOOST_MIRROR_REG_TYPE">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../../BOOST_MIRRORED_GLOBAL_SCOPE.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../mirror/reference.html#header.boost.mirror.meta_type.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_MIRRORED_TYPE.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../../BOOST_MIRRORED_GLOBAL_SCOPE.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../mirror/reference.html#header.boost.mirror.meta_type.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_MIRROR_REG_TYPE.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="refentry" lang="en">
<a name="boost.mirror.meta_type"></a><div class="titlepage"></div>
@@ -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#id2469635-bbtypes">types</a></em></span>
+ <span class="emphasis"><em>// <a class="link" href="meta_type.html#id2532573-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> <a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a><<span class="emphasis"><em>unspecified</em></span>>-or-<a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a><<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::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_type.html#id2430245-bb">base_name</a>();
- <span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_type.html#id2500091-bb">full_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_type.html#id2550218-bb">base_name</a>();
+ <span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a class="link" href="meta_type.html#id2540696-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#id2505120-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
+ <a class="link" href="meta_type.html#id2525985-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id2635697"></a><h2>Description</h2>
+<a name="id2635849"></a><h2>Description</h2>
<p>The specializations of <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></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
@@ -95,7 +95,7 @@
typedef <a class="link" href="../../BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a>(T) meta_T;
// print out the full type name
- cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>() <<
+ cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>() <<
<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;
@@ -124,7 +124,7 @@
using namespace ::std;
using namespace ::boost;
using namespace ::boost::mirror;
- cts::<a class="link" href="../cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ cts::<a class="link" href="../cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
// print out the base type name
bcout <<
<a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("The type name is: ") <<
@@ -197,7 +197,7 @@
{
using namespace ::std;
using namespace ::boost;
- cts::<a class="link" href="../cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ cts::<a class="link" href="../cts/bostream.html" title="Type definition bostream">bostream</a>& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2474461">bcout</a>();
bcout << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("type: '");
bcout << MetaType::base_name();
bcout << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("' defined in: '");
@@ -231,9 +231,9 @@
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
<a name="mirror.meta_type.reference.sample04"></a>Example - Generic typename getter</h6></div></div></div>
-<p>The <code class="computeroutput"><a class="link" href="meta_type.html#id2430245-bb">base_name</a></code> and the
- <code class="computeroutput"><a class="link" href="meta_type.html#id2500091-bb">full_name</a></code> member functions
- are convenient but not very generic. The <code class="computeroutput"><a class="link" href="meta_type.html#id2505120-bb">get_name</a></code>
+<p>The <code class="computeroutput"><a class="link" href="meta_type.html#id2550218-bb">base_name</a></code> and the
+ <code class="computeroutput"><a class="link" href="meta_type.html#id2540696-bb">full_name</a></code> member functions
+ are convenient but not very generic. The <code class="computeroutput"><a class="link" href="meta_type.html#id2525985-bb">get_name</a></code>
method allows to specify the character type of the returned string and
to specify whether a full or just the base name should be returned, based
on compile time arguments.
@@ -279,8 +279,8 @@
</div>
</div>
<div class="refsect2" lang="en">
-<a name="id2636336"></a><h3>
-<a name="id2469635-bbtypes"></a><code class="computeroutput">meta_type</code> public types</h3>
+<a name="id2636487"></a><h3>
+<a name="id2532573-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::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2430245-bb"></a>base_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2550218-bb"></a>base_name();</pre>
<p>This static member function returns the base name of the
type reflected by <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code>
without the nested name specifier. For example:
@@ -313,7 +313,7 @@
<p>
returns simply <code class="computeroutput">"string"</code>. When a full type name
<span class="bold"><strong>with</strong></span> the nested name specifier
- is needed use the <code class="computeroutput"><a class="link" href="meta_type.html#id2500091-bb">full_name</a></code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_type.html#id2540696-bb">full_name</a></code> member function
instead.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@@ -329,7 +329,7 @@
</p></td>
</tr></tbody>
</table></div>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2500091-bb"></a>full_name();</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::<a class="link" href="../cts/bstring.html" title="Type definition bstring">bstring</a>&</span> <a name="id2540696-bb"></a>full_name();</pre>
<p>This static member function returns the full name of the
type reflected by <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code>
with the nested name specifier. For example:
@@ -343,7 +343,7 @@
<p>
returns <code class="computeroutput">"::std::string"</code>. When the base type name
<span class="bold"><strong>without</strong></span> the nested name specifier
- is needed use the <code class="computeroutput"><a class="link" href="meta_type.html#id2430245-bb">base_name</a></code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_type.html#id2550218-bb">base_name</a></code> member function
instead.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@@ -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="id2505120-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
+ <a name="id2525985-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
@@ -379,7 +379,7 @@
<pre class="programlisting"><code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code> < ::std::string > :: get_name(::boost::mpl::false_(), ::std::char_traits<char>())</pre>
<p>
is equivalent to calling the
- <code class="computeroutput"><a class="link" href="meta_type.html#id2430245-bb">base_name</a></code> member function with the
+ <code class="computeroutput"><a class="link" href="meta_type.html#id2550218-bb">base_name</a></code> member function with 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 undefined,
which returns a <code class="computeroutput">::std::string</code> containing <code class="computeroutput">"string"</code> and calling
</p>
@@ -388,7 +388,7 @@
</p>
<pre class="programlisting"><code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code> < ::std::string > :: get_name( ::boost::mpl::true_(), ::std::char_traits<wchar_t>())</pre>
<p> is equivalent to calling the
- <code class="computeroutput"><a class="link" href="meta_type.html#id2500091-bb">full_name</a></code> method with the
+ <code class="computeroutput"><a class="link" href="meta_type.html#id2540696-bb">full_name</a></code> method with 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 defined,
which returns a <code class="computeroutput">::std::wstring</code> containing <code class="computeroutput">L"::std::string"</code>.
</p>
@@ -404,7 +404,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../../BOOST_MIRRORED_GLOBAL_SCOPE.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../mirror/reference.html#header.boost.mirror.meta_type.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_MIRRORED_TYPE.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../../BOOST_MIRRORED_GLOBAL_SCOPE.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../mirror/reference.html#header.boost.mirror.meta_type.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_MIRROR_REG_TYPE.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
</div>
</body>
</html>
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-09-24 12:13:30 EDT (Wed, 24 Sep 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="id2641288"></a><h2>Description</h2>
+<a name="id2642643"></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"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a></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-09-24 12:13:30 EDT (Wed, 24 Sep 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="id2640777"></a><h2>Description</h2>
+<a name="id2642132"></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"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></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-09-24 12:13:30 EDT (Wed, 24 Sep 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="id2640524"></a><h2>Description</h2>
+<a name="id2641880"></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"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></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-09-24 12:13:30 EDT (Wed, 24 Sep 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="id2641036"></a><h2>Description</h2>
+<a name="id2642391"></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"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></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-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -34,7 +34,7 @@
</div></div>
<div><p class="copyright">Copyright © 2008 Matúš Chochlík</p></div>
<div><div class="legalnotice">
-<a name="id2641724"></a><p>Use, modification and distribution is subject to the Boost
+<a name="id2643080"></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>
@@ -49,7 +49,7 @@
<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>
+<dd><dl><dt><span class="section">Header files</span></dt></dl></dd>
</dl>
</div>
<div class="section" lang="en">
@@ -78,8 +78,8 @@
<code class="computeroutput">::boost::cts::<a class="link" href="boost/cts/bistream.html" title="Type definition bistream">bistream</a></code>,
<code class="computeroutput">::boost::cts::<a class="link" href="boost/cts/bostream.html" title="Type definition bostream">bostream</a></code>, etc.,
functions like
- <code class="computeroutput">::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrlen_id2353027">bstrlen</a></code>,
- <code class="computeroutput">::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcpy_id2498953">bstrcpy</a></code>, etc.
+ <code class="computeroutput">::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrlen_id2451834">bstrlen</a></code>,
+ <code class="computeroutput">::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcpy_id2362648">bstrcpy</a></code>, etc.
and macros like
<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"><a class="link" href="BOOST_CTS_LIT_LENGTH.html" title="Macro BOOST_CTS_LIT_LENGTH">BOOST_CTS_LIT_LENGTH</a>(STRING_LITERAL)</code>
Modified: sandbox/mirror/doc/html/char_type_switch/reference.html
==============================================================================
--- sandbox/mirror/doc/html/char_type_switch/reference.html (original)
+++ sandbox/mirror/doc/html/char_type_switch/reference.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -25,12 +25,12 @@
<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>
+<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="id2642091"></a>Header files</h3></div></div></div>
+<a name="id2643447"></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/char.hpp></span></dt>
@@ -78,31 +78,31 @@
<span class="bold"><strong>typedef</strong></span> ::std::basic_ostream<<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>, <a class="link" href="../boost/cts/bchar_traits.html" title="Type definition bchar_traits">bchar_traits</a>> <a class="link" href="../boost/cts/bostream.html" title="Type definition bostream">bostream</a>;
<span class="bold"><strong>typedef</strong></span> ::std::basic_iostream<<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>, <a class="link" href="../boost/cts/bchar_traits.html" title="Type definition bchar_traits">bchar_traits</a>> <a class="link" href="../boost/cts/biostream.html" title="Type definition biostream">biostream</a>;
- <span class="emphasis"><em>// <a class="link" href="reference.html#id2405253-bb">free-functions</a></em></span>
- <span class="type"><a class="link" href="../boost/cts/bistream.html" title="Type definition bistream">bistream</a>&</span> <a class="link" href="reference.html#boost.cts.bcin_id2405249">bcin</a>();
- <span class="type"><a class="link" href="../boost/cts/bostream.html" title="Type definition bostream">bostream</a>&</span> <a class="link" href="reference.html#boost.cts.bcout_id2405214">bcout</a>();
+ <span class="emphasis"><em>// <a class="link" href="reference.html#id2352077-bb">free-functions</a></em></span>
+ <span class="type"><a class="link" href="../boost/cts/bistream.html" title="Type definition bistream">bistream</a>&</span> <a class="link" href="reference.html#boost.cts.bcin_id2487416">bcin</a>();
+ <span class="type"><a class="link" href="../boost/cts/bostream.html" title="Type definition bostream">bostream</a>&</span> <a class="link" href="reference.html#boost.cts.bcout_id2474461">bcout</a>();
}
}</pre>
<div class="refsect2" lang="en">
-<a name="id2643592"></a><h3>
-<a name="id2405253-bb"></a><code class="computeroutput"></code> free-functions</h3>
+<a name="id2644951"></a><h3>
+<a name="id2352077-bb"></a><code class="computeroutput"></code> free-functions</h3>
<div class="orderedlist"><ol type="1">
<li>
-<pre class="literallayout"><span class="type"><a class="link" href="../boost/cts/bistream.html" title="Type definition bistream">bistream</a>&</span> <a name="boost.cts.bcin_id2405249"></a>bcin();</pre>
+<pre class="literallayout"><span class="type"><a class="link" href="../boost/cts/bistream.html" title="Type definition bistream">bistream</a>&</span> <a name="boost.cts.bcin_id2487416"></a>bcin();</pre>
<p>Returns a reference to the standard input stream.
</p>
<p>If <code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> is defined as <code class="computeroutput">char</code> then this function returns a reference
to <code class="computeroutput">::std::cin</code>, otherwise if <code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> is defined as <code class="computeroutput">wchar_t</code>,
- then <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bcin_id2405249">bcin</a></code> returns a reference to <code class="computeroutput">::std::wcin</code>.
+ then <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bcin_id2487416">bcin</a></code> returns a reference to <code class="computeroutput">::std::wcin</code>.
</p>
</li>
<li>
-<pre class="literallayout"><span class="type"><a class="link" href="../boost/cts/bostream.html" title="Type definition bostream">bostream</a>&</span> <a name="boost.cts.bcout_id2405214"></a>bcout();</pre>
+<pre class="literallayout"><span class="type"><a class="link" href="../boost/cts/bostream.html" title="Type definition bostream">bostream</a>&</span> <a name="boost.cts.bcout_id2474461"></a>bcout();</pre>
<p>Returns a reference to the standard output stream.
</p>
<p>If <code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> is defined as <code class="computeroutput">char</code> then this function returns a reference
to <code class="computeroutput">::std::cout</code>, otherwise if <code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> is defined as <code class="computeroutput">wchar_t</code>,
- then <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bcout_id2405214">bcout</a></code> returns a reference to <code class="computeroutput">::std::wcout</code>.
+ then <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bcout_id2474461">bcout</a></code> returns a reference to <code class="computeroutput">::std::wcout</code>.
</p>
</li>
</ol></div>
@@ -114,19 +114,19 @@
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
<span class="bold"><strong>namespace</strong></span> cts {
- <span class="emphasis"><em>// <a class="link" href="reference.html#id2401088-bb">free-functions</a></em></span>
- <span class="type">size_t</span> <a class="link" href="reference.html#boost.cts.bstrlen_id2353027">bstrlen</a>(<span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*);
- <span class="type"><span class="bold"><strong>int</strong></span></span> <a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a>(<span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*);
- <span class="type"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*</span> <a class="link" href="reference.html#boost.cts.bstrcpy_id2498953">bstrcpy</a>(<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*);
- <span class="type"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*</span> <a class="link" href="reference.html#boost.cts.bstrncpy_id2381051">bstrncpy</a>(<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*, size_t);
+ <span class="emphasis"><em>// <a class="link" href="reference.html#id2474565-bb">free-functions</a></em></span>
+ <span class="type">size_t</span> <a class="link" href="reference.html#boost.cts.bstrlen_id2451834">bstrlen</a>(<span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*);
+ <span class="type"><span class="bold"><strong>int</strong></span></span> <a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a>(<span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*);
+ <span class="type"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*</span> <a class="link" href="reference.html#boost.cts.bstrcpy_id2362648">bstrcpy</a>(<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*);
+ <span class="type"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*</span> <a class="link" href="reference.html#boost.cts.bstrncpy_id2419081">bstrncpy</a>(<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*, size_t);
}
}</pre>
<div class="refsect2" lang="en">
-<a name="id2644588"></a><h3>
-<a name="id2401088-bb"></a><code class="computeroutput"></code> free-functions</h3>
+<a name="id2645945"></a><h3>
+<a name="id2474565-bb"></a><code class="computeroutput"></code> free-functions</h3>
<div class="orderedlist"><ol type="1">
<li>
-<pre class="literallayout"><span class="type">size_t</span> <a name="boost.cts.bstrlen_id2353027"></a>bstrlen(<span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* str);</pre>
+<pre class="literallayout"><span class="type">size_t</span> <a name="boost.cts.bstrlen_id2451834"></a>bstrlen(<span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* str);</pre>
<p>Returns the length (the count of characters) of the given string without the terminating null character.
</p>
<p>Calling this function is equivalent to calling <code class="computeroutput">strlen</code> if
@@ -143,18 +143,18 @@
int main(void)
{
using namespace ::boost::cts;
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrlen_id2353027">bstrlen</a></code>(<code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foo")) == 3);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrlen_id2353027">bstrlen</a></code>(<code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foo")) == <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT_LENGTH.html" title="Macro BOOST_CTS_LIT_LENGTH">BOOST_CTS_LIT_LENGTH</a></code>("foo"));
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrlen_id2451834">bstrlen</a></code>(<code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foo")) == 3);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrlen_id2451834">bstrlen</a></code>(<code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foo")) == <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT_LENGTH.html" title="Macro BOOST_CTS_LIT_LENGTH">BOOST_CTS_LIT_LENGTH</a></code>("foo"));
//
const <code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> bar[] = <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("bar");
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrlen_id2353027">bstrlen</a></code>(bar) == 3);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrlen_id2451834">bstrlen</a></code>(bar) == 3);
return 0;
}
</pre>
</div>
</li>
<li>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>int</strong></span></span> <a name="boost.cts.bstrcmp_id2396006"></a>bstrcmp(<span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* str1, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* str2);</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>int</strong></span></span> <a name="boost.cts.bstrcmp_id2363244"></a>bstrcmp(<span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* str1, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* str2);</pre>
<p>This function compares the given two strings and returns an integral value that indicates the relationship between them.
</p>
<p>Calling this function is equivalent to calling <code class="computeroutput">strcmp</code> if
@@ -177,19 +177,19 @@
const <code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> foo[] = <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foo");
const <code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> bar[] = <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("bar");
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a></code>(foo, bar) > 0);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a></code>(foo, foo) == 0);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a></code>(bar, foo) < 0);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a></code>(foo, bar) > 0);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a></code>(foo, foo) == 0);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a></code>(bar, foo) < 0);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a></code>(foo, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("baz")) > 0);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a></code>(foo, <code class="computeroutput"><a class="link" href="../BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a></code>(foobar)) <= 0);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a></code>(foo, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("baz")) > 0);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a></code>(foo, <code class="computeroutput"><a class="link" href="../BOOST_CTS_STRINGIZE.html" title="Macro BOOST_CTS_STRINGIZE">BOOST_CTS_STRINGIZE</a></code>(foobar)) <= 0);
return 0;
}
</pre>
</div>
</li>
<li>
-<pre class="literallayout"><span class="type"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*</span> <a name="boost.cts.bstrcpy_id2498953"></a>bstrcpy(<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* dst, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* src);</pre>
+<pre class="literallayout"><span class="type"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*</span> <a name="boost.cts.bstrcpy_id2362648"></a>bstrcpy(<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* dst, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* src);</pre>
<p>This function copies <code class="computeroutput">src</code> into <code class="computeroutput">dst</code> including the terminating null character and returns <code class="computeroutput">dst</code>.
<code class="computeroutput">dst</code> should not overlap <code class="computeroutput">src</code> in memory.
</p>
@@ -210,19 +210,19 @@
<code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> aaa[4];
<code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> bbb[4];
- <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcpy_id2498953">bstrcpy</a></code>(aaa, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foo"));
- <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcpy_id2498953">bstrcpy</a></code>(bbb, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("bar"));
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a></code>(aaa, bbb) != 0);
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcpy_id2362648">bstrcpy</a></code>(aaa, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foo"));
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcpy_id2362648">bstrcpy</a></code>(bbb, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("bar"));
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a></code>(aaa, bbb) != 0);
- <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcpy_id2498953">bstrcpy</a></code>(bbb, aaa);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a></code>(aaa, bbb) == 0);
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcpy_id2362648">bstrcpy</a></code>(bbb, aaa);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a></code>(aaa, bbb) == 0);
return 0;
}
</pre>
</div>
</li>
<li>
-<pre class="literallayout"><span class="type"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*</span> <a name="boost.cts.bstrncpy_id2381051"></a>bstrncpy(<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* dst, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* src, size_t num);</pre>
+<pre class="literallayout"><span class="type"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>*</span> <a name="boost.cts.bstrncpy_id2419081"></a>bstrncpy(<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* dst, <span class="bold"><strong>const</strong></span> <a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>* src, size_t num);</pre>
<p>This function copies the first <code class="computeroutput">num</code> characters from <code class="computeroutput">src</code> into <code class="computeroutput">dst</code> and returns <code class="computeroutput">dst</code>.
If the end of <code class="computeroutput">src</code> is found before <code class="computeroutput">num</code> characters are copied, <code class="computeroutput">dst</code> is padded with null characters
until the count of modified characters reaches <code class="computeroutput">num</code>. If <code class="computeroutput">num</code> is less or equal to the length of <code class="computeroutput">src</code>,
@@ -246,16 +246,16 @@
<code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> aaa[size];
<code class="computeroutput"><a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> bbb[size];
- <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id2381051">bstrncpy</a></code>(aaa, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foo"), size);
- <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id2381051">bstrncpy</a></code>(bbb, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("bar"), size);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a></code>(aaa, bbb) != 0);
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id2419081">bstrncpy</a></code>(aaa, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foo"), size);
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id2419081">bstrncpy</a></code>(bbb, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("bar"), size);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a></code>(aaa, bbb) != 0);
- <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id2381051">bstrncpy</a></code>(bbb, aaa, size);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a></code>(aaa, bbb) == 0);
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id2419081">bstrncpy</a></code>(bbb, aaa, size);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a></code>(aaa, bbb) == 0);
- <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id2381051">bstrncpy</a></code>(bbb, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foobar"), size);
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id2419081">bstrncpy</a></code>(bbb, <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("foobar"), size);
bbb[size-1] = <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>('\0');
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2396006">bstrcmp</a></code>(aaa, bbb) == 0); return 0;
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2363244">bstrcmp</a></code>(aaa, bbb) == 0); return 0;
}
</pre>
</div>
Modified: sandbox/mirror/doc/html/doc_HTML.manifest
==============================================================================
--- sandbox/mirror/doc/html/doc_HTML.manifest (original)
+++ sandbox/mirror/doc/html/doc_HTML.manifest 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -9,6 +9,10 @@
BOOST_MIRRORED_NAMESPACE.html
BOOST_MIRRORED_GLOBAL_SCOPE.html
boost/mirror/meta_type.html
+BOOST_MIRROR_REG_TYPE.html
+BOOST_MIRROR_REG_TYPE_GS.html
+BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE.html
+BOOST_MIRROR_REG_TYPEDEF.html
BOOST_MIRRORED_TYPE.html
BOOST_MIRRORED_TYPE_NS.html
BOOST_MIRRORED_TYPEDEF.html
Modified: sandbox/mirror/doc/html/mirror.html
==============================================================================
--- sandbox/mirror/doc/html/mirror.html (original)
+++ sandbox/mirror/doc/html/mirror.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -55,7 +55,7 @@
<dt><span class="section">Reflecting</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>
+<dt><span class="section">Header files</span></dt>
</dl></dd>
<dt><span class="section">Rationale</span></dt>
</dl>
Modified: sandbox/mirror/doc/html/mirror/reference.html
==============================================================================
--- sandbox/mirror/doc/html/mirror/reference.html (original)
+++ sandbox/mirror/doc/html/mirror/reference.html 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -30,7 +30,7 @@
<dt><span class="section">Reflecting</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>
+<dt><span class="section">Header files</span></dt>
</dl></div>
<p>
</p>
@@ -67,11 +67,33 @@
<th>Usage</th>
<th>Notes</th>
</tr></thead>
-<tbody><tr>
+<tbody>
+<tr>
<td><code class="computeroutput"><a class="link" href="../BOOST_MIRROR_REG_NAMESPACE.html" title="Macro BOOST_MIRROR_REG_NAMESPACE">BOOST_MIRROR_REG_NAMESPACE</a></code></td>
<td>Registers a namespace</td>
<td> </td>
-</tr></tbody>
+</tr>
+<tr>
+<td><code class="computeroutput"><a class="link" href="../BOOST_MIRROR_REG_TYPE.html" title="Macro BOOST_MIRROR_REG_TYPE">BOOST_MIRROR_REG_TYPE</a></code></td>
+<td>Registers a type defined inside of a named namespace</td>
+<td> </td>
+</tr>
+<tr>
+<td><code class="computeroutput"><a class="link" href="../BOOST_MIRROR_REG_TYPE_GS.html" title="Macro BOOST_MIRROR_REG_TYPE_GS">BOOST_MIRROR_REG_TYPE_GS</a></code></td>
+<td>Registers a type defined in the global scope</td>
+<td>This macro is equivalent to the <code class="computeroutput"><a class="link" href="../BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE.html" title="Macro BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE">BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</a></code>.</td>
+</tr>
+<tr>
+<td><code class="computeroutput"><a class="link" href="../BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE.html" title="Macro BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE">BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</a></code></td>
+<td>Registers a type defined in the global scope</td>
+<td>This macro is equivalent to the <code class="computeroutput"><a class="link" href="../BOOST_MIRROR_REG_TYPE_GS.html" title="Macro BOOST_MIRROR_REG_TYPE_GS">BOOST_MIRROR_REG_TYPE_GS</a></code>.</td>
+</tr>
+<tr>
+<td><code class="computeroutput"><a class="link" href="../BOOST_MIRROR_REG_TYPEDEF.html" title="Macro BOOST_MIRROR_REG_TYPEDEF">BOOST_MIRROR_REG_TYPEDEF</a></code></td>
+<td>Registers a <code class="computeroutput">typedef</code> defined inside of a named namespace</td>
+<td> </td>
+</tr>
+</tbody>
</table></div>
</div>
<br class="table-break">
@@ -85,7 +107,7 @@
the individual macros.
</p>
<div class="table">
-<a name="id2585620"></a><p class="title"><b>Table 1.2. Reflection macros</b></p>
+<a name="id2632395"></a><p class="title"><b>Table 1.2. Reflection macros</b></p>
<div class="table-contents"><table class="table" summary="Reflection macros">
<colgroup>
<col>
@@ -144,7 +166,7 @@
<a name="mirror.reference.traits"></a>Traits</h3></div></div></div></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="id2632595"></a>Header files</h3></div></div></div>
+<a name="id2632715"></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>
@@ -176,6 +198,10 @@
<a name="header.boost.mirror.meta_type.hpp"></a>Header <boost/mirror/meta_type.hpp></h4></div></div></div>
<pre class="synopsis">
+<a class="link" href="../BOOST_MIRROR_REG_TYPE.html" title="Macro BOOST_MIRROR_REG_TYPE">BOOST_MIRROR_REG_TYPE</a>(NAMESPACE, TYPE)
+<a class="link" href="../BOOST_MIRROR_REG_TYPE_GS.html" title="Macro BOOST_MIRROR_REG_TYPE_GS">BOOST_MIRROR_REG_TYPE_GS</a>(TYPE)
+<a class="link" href="../BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE.html" title="Macro BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE">BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</a>(TYPE)
+<a class="link" href="../BOOST_MIRROR_REG_TYPEDEF.html" title="Macro BOOST_MIRROR_REG_TYPEDEF">BOOST_MIRROR_REG_TYPEDEF</a>(NAMESPACE, TYPEDEF)
<a class="link" href="../BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a>(TYPE)
<a class="link" href="../BOOST_MIRRORED_TYPE_NS.html" title="Macro BOOST_MIRRORED_TYPE_NS">BOOST_MIRRORED_TYPE_NS</a>(FULL_NAMESPACE_NAME, TYPE)
<a class="link" href="../BOOST_MIRRORED_TYPEDEF.html" title="Macro BOOST_MIRRORED_TYPEDEF">BOOST_MIRRORED_TYPEDEF</a>(FULL_NAMESPACE_NAME, TYPEDEF)
Modified: sandbox/mirror/libs/mirror/doc/reference.xml
==============================================================================
--- sandbox/mirror/libs/mirror/doc/reference.xml (original)
+++ sandbox/mirror/libs/mirror/doc/reference.xml 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -42,6 +42,21 @@
<entry>Registers a type defined inside of a named namespace</entry>
<entry></entry>
</row>
+ <row>
+ <entry><code><macroname>BOOST_MIRROR_REG_TYPE_GS</macroname></code></entry>
+ <entry>Registers a type defined in the global scope</entry>
+ <entry>This macro is equivalent to the <code><macroname>BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</macroname></code>.</entry>
+ </row>
+ <row>
+ <entry><code><macroname>BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</macroname></code></entry>
+ <entry>Registers a type defined in the global scope</entry>
+ <entry>This macro is equivalent to the <code><macroname>BOOST_MIRROR_REG_TYPE_GS</macroname></code>.</entry>
+ </row>
+ <row>
+ <entry><code><macroname>BOOST_MIRROR_REG_TYPEDEF</macroname></code></entry>
+ <entry>Registers a <code>typedef</code> defined inside of a named namespace</entry>
+ <entry></entry>
+ </row>
</tbody>
</tgroup>
</table>
Modified: sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPE.xml
==============================================================================
--- sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPE.xml (original)
+++ sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPE.xml 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -10,7 +10,7 @@
<macro-parameter name="TYPE">
</macro-parameter>
<purpose>
- <para>This macro is used to register a type that is defined inside of a namespace with <libraryname>Mirror</libraryname>.
+ <para>This macro is used to register a type, that is defined inside of a namespace, with <libraryname>Mirror</libraryname>.
After successful registration the type can be reflected.
</para>
</purpose>
@@ -24,7 +24,13 @@
macros. To register a type that is defined inside of a class use either the
<code><macroname>BOOST_MIRROR_REG_TYPE_EMBEDDED</macroname></code> or the <code><macroname>BOOST_MIRROR_REG_TYPE_EMB</macroname></code>
macro.
+ </para>
<note>The registering must be done in the <code>::boost::mirror</code> namespace.</note>
+ <para>
+ The first parameter is the full name (including the leading double colon) of the namespace where the type is defined.
+ The second parameter is the name of the type (without the namespace name).
+ </para>
+ <para>
To register a type <code>bar</code> defined in a named namespace <code>foo</code>,
</para>
<programlisting>
@@ -32,7 +38,7 @@
struct bar { };
} // namespace foo
</programlisting>
- do this:
+ <para>do this:</para>
<programlisting>
// note that the registering must be done
// in the boost::mirror namespace
@@ -49,8 +55,9 @@
} //namespace mirror
} //namespace boost
</programlisting>
+ <para>
Afterwards the types can be reflected with the
- <code><macroname>BOOST_MIRRORED_TYPE</macroname></code> macro:
+ <code><macroname>BOOST_MIRRORED_TYPE</macroname></code> macro:</para>
<programlisting>
BOOST_MPL_ASSERT((
<classname>reflects_type</classname>< <macroname>BOOST_MIRRORED_TYPE</macroname>(::foo::bar) >
@@ -62,7 +69,7 @@
<classname>reflects_global_scope</classname>< <macroname>BOOST_MIRRORED_TYPE</macroname>(::foo::bar)::scope::scope >
));
</programlisting>
- The <libraryname>Mirror</libraryname> has several preregistered types:
+ <para>The <libraryname>Mirror</libraryname> library has several preregistered types:</para>
<programlisting>
namespace boost {
namespace mirror {
@@ -74,15 +81,6 @@
} //namespace mirror
} //namespace boost
</programlisting>
- </para>
-
- <section id="mirror.REG_TYPE.reference.samples">
- <title>Examples</title>
- <para>This example shows the registering and reflection of namespaces
- and basic usage of the <code><classname>meta_namespace</classname></code>
- template class and its members.
- </para>
- </section>
</description>
</macro>
Added: sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPEDEF.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPEDEF.xml 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -0,0 +1,127 @@
+<?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_MIRROR_REG_TYPEDEF"
+ kind="functionlike"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+>
+ <macro-parameter name="NAMESPACE">
+ </macro-parameter>
+ <macro-parameter name="TYPEDEF">
+ </macro-parameter>
+ <purpose>
+ <para>This macro is used to register a <code>typedef</code>, that is defined inside of a namespace, with the <libraryname>Mirror</libraryname> library.
+ After successful registration the typedef can be reflected with <libraryname>Mirror</libraryname>.
+ </para>
+ </purpose>
+ <description>
+ <para>The <code><macroname>BOOST_MIRROR_REG_TYPEDEF</macroname></code> macro registers a <code>typedef</code>
+ defined in a namespace with the <libraryname>Mirror</libraryname> library.
+ To register a <code>typedef</code> from the global scope
+ use one of the <code><macroname>BOOST_MIRROR_REG_TYPEDEF_GLOBAL_SCOPE</macroname></code> or
+ <code><macroname>BOOST_MIRROR_REG_TYPEDEF_GS</macroname></code> macros.
+ To register a type defined in the global scope use the
+ <code><macroname>BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</macroname></code> or the
+ <code><macroname>BOOST_MIRROR_REG_TYPE_GS</macroname></code> macro.
+ To register a type defined in a namespace use the
+ <code><macroname>BOOST_MIRROR_REG_TYPE</macroname></code> macro.
+
+ To register a type that is defined inside of a class use either the
+ <code><macroname>BOOST_MIRROR_REG_TYPE_EMBEDDED</macroname></code> or the <code><macroname>BOOST_MIRROR_REG_TYPE_EMB</macroname></code>
+ macro.
+ </para>
+ <note>The registering must be done in the <code>::boost::mirror</code> namespace.</note>
+ <para>
+ The first parameter is the full name (including the leading double colon) of the namespace where the type is defined.
+ The second parameter is the <code>typedef</code>ined name of the type (without the namespace name).
+ </para>
+ <para>
+ To register a <code>typedef</code>ined type <code>bar</code> defined in a named namespace <code>foo</code>,
+ </para>
+<programlisting>
+namespace foo {
+ typedef double bar;
+
+} // namespace foo
+</programlisting>
+ <para>do the following:</para>
+<programlisting>
+// note that the registering must be done
+// in the boost::mirror namespace
+
+namespace boost {
+namespace mirror {
+
+// registers ::foo
+<macroname>BOOST_MIRROR_REG_NAMESPACE</macroname>((foo))
+// note that the full namespace name including the leading
+// double colon must be passed as the first argument
+<macroname>BOOST_MIRROR_REG_TYPEDEF</macroname>(::foo, bar)
+
+} //namespace mirror
+} //namespace boost
+</programlisting>
+ <para>
+ Afterwards the type can be reflected with the
+ <code><macroname>BOOST_MIRRORED_TYPEDEF</macroname></code> macro:</para>
+<programlisting>
+BOOST_MPL_ASSERT((
+ <classname>reflects_type</classname>< <macroname>BOOST_MIRRORED_TYPEDEF</macroname>(::foo, bar) >
+));
+BOOST_MPL_ASSERT((
+ <classname>reflects_namespace</classname>< <macroname>BOOST_MIRRORED_TYPEDEF</macroname>(::foo, bar)::scope >
+));
+BOOST_MPL_ASSERT((
+ <classname>reflects_global_scope</classname>< <macroname>BOOST_MIRRORED_TYPEDEF</macroname>(::foo, bar)::scope::scope >
+));
+</programlisting>
+ <para><libraryname>Mirror</libraryname> distinguishes between types and <code>typedef</code>s, thus the <code><classname>meta_type</classname></code>
+ reflecting a <code>typedef</code>ined type is different from the <code><classname>meta_type</classname></code> reflecting
+ the aliased type:
+ </para>
+<programlisting>
+BOOST_MPL_ASSERT_NOT((
+ ::boost::is_same<
+ <macroname>BOOST_MIRRORED_TYPE_NS</macroname>(::foo, bar),
+ <macroname>BOOST_MIRRORED_TYPEDEF</macroname>(::foo, bar)
+ >
+));
+</programlisting>
+ <para>The name getters of the <code><classname>meta_type</classname></code> reflecting the <code>typedef</code>
+ return the <code>typedef</code>ined name instead of the name of the aliased type:
+ </para>
+<programlisting>
+ // the typedef'd name
+ assert(
+ <macroname>BOOST_MIRRORED_TYPEDEF</macroname>(::foo, bar)::base_name() ==
+ <macroname>BOOST_CTS_LIT</macroname>("bar")
+ );
+ // the name of the aliased type
+ assert(
+ <macroname>BOOST_MIRRORED_TYPE_NS</macroname>(::foo, bar)::base_name() ==
+ <macroname>BOOST_CTS_LIT</macroname>("double")
+ );
+ // full names
+ assert(
+ <macroname>BOOST_MIRRORED_TYPEDEF</macroname>(::foo, bar)::full_name() ==
+ <macroname>BOOST_CTS_LIT</macroname>("::foo::bar")
+ );
+ assert(
+ <macroname>BOOST_MIRRORED_TYPE</macroname>(::foo::bar)::full_name() ==
+ <macroname>BOOST_CTS_LIT</macroname>("double")
+ );
+</programlisting>
+ <para>The <libraryname>Mirror</libraryname> library has several preregistered <code>typedef</code>s, for example:</para>
+<programlisting>
+namespace boost {
+namespace mirror {
+
+<macroname>BOOST_MIRROR_REG_TYPEDEF</macroname>(::boost::cts, <classname>bchar</classname>)
+<macroname>BOOST_MIRROR_REG_TYPEDEF</macroname>(::boost::cts, <classname>bstring</classname>)
+
+} //namespace mirror
+} //namespace boost
+</programlisting>
+
+ </description>
+</macro>
Added: sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPE_GLOBAL_SCOPE.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPE_GLOBAL_SCOPE.xml 2008-09-24 12:13:30 EDT (Wed, 24 Sep 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">
+<macro name="BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE"
+ kind="functionlike"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+>
+ <macro-parameter name="TYPE">
+ </macro-parameter>
+ <purpose>
+ <para>This macro is used to register a type, that is defined in the global scope, with <libraryname>Mirror</libraryname>.
+ After successful registration the type can be reflected. This macro is equivalent to the
+ <code><macroname>BOOST_MIRROR_REG_TYPE_GS</macroname></code> macro.
+ </para>
+ </purpose>
+ <description>
+ <para>See the documentation for the <code><macroname>BOOST_MIRROR_REG_TYPE_GS</macroname></code>
+ macro for more details.
+ </para>
+ </description>
+</macro>
Added: sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPE_GS.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/reference/macro_REG_TYPE_GS.xml 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -0,0 +1,82 @@
+<?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_MIRROR_REG_TYPE_GS"
+ kind="functionlike"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+>
+ <macro-parameter name="TYPE">
+ </macro-parameter>
+ <purpose>
+ <para>This macro is used to register a type, that is defined in the global scope, with <libraryname>Mirror</libraryname>.
+ After successful registration the type can be reflected. This macro is equivalent to the
+ <code><macroname>BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</macroname></code> macro.
+ </para>
+ </purpose>
+ <description>
+ <para>The <code><macroname>BOOST_MIRROR_REG_TYPE_GS</macroname></code> macro registers a global scope type with
+ the <libraryname>Mirror</libraryname> library. To register a type defined in a named namespace
+ use the <code><macroname>BOOST_MIRROR_REG_TYPE</macroname></code>.
+ To register a <code>typedef</code>ined
+ type, use one of the <code><macroname>BOOST_MIRROR_REG_TYPEDEF_GLOBAL_SCOPE</macroname></code>,
+ <code><macroname>BOOST_MIRROR_REG_TYPEDEF_GS</macroname></code> or <code><macroname>BOOST_MIRROR_REG_TYPEDEF</macroname></code>
+ macros. To register a type which is defined inside of a class use either the
+ <code><macroname>BOOST_MIRROR_REG_TYPE_EMBEDDED</macroname></code> or the <code><macroname>BOOST_MIRROR_REG_TYPE_EMB</macroname></code>
+ macro.
+ </para>
+ <note>The registering must be done in the <code>::boost::mirror</code> namespace.</note>
+ <para>
+ The only argument is the name of the type to be registered.
+ </para>
+ <para>
+ To register a type <code>foo</code> defined in the global scope,
+ </para>
+<programlisting>
+struct foo { };
+</programlisting>
+ <para>do this:</para>
+<programlisting>
+// note that the registering must be done
+// in the boost::mirror namespace
+
+namespace boost {
+namespace mirror {
+
+<macroname>BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</macroname>(foo)
+// or use the shorter version
+<macroname>BOOST_MIRROR_REG_TYPE_GS</macroname>(foo)
+
+} //namespace mirror
+} //namespace boost
+</programlisting>
+ <para>
+ Afterwards the type can be reflected with the
+ <code><macroname>BOOST_MIRRORED_TYPE</macroname></code> macro:</para>
+<programlisting>
+BOOST_MPL_ASSERT((
+ <classname>reflects_type</classname>< <macroname>BOOST_MIRRORED_TYPE</macroname>(foo) >
+));
+BOOST_MPL_ASSERT((
+ <classname>reflects_namespace</classname>< <macroname>BOOST_MIRRORED_TYPE</macroname>(foo)::scope >
+));
+BOOST_MPL_ASSERT((
+ <classname>reflects_global_scope</classname>< <macroname>BOOST_MIRRORED_TYPE</macroname>(foo)::scope >
+));
+</programlisting>
+ <para>The <libraryname>Mirror</libraryname> library has the native C++ types pre registered:</para>
+<programlisting>
+namespace boost {
+namespace mirror {
+
+<macroname>BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</macroname>(bool)
+<macroname>BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</macroname>(char)
+<macroname>BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</macroname>(wchar_t)
+// ...
+<macroname>BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE</macroname>(double)
+
+} //namespace mirror
+} //namespace boost
+</programlisting>
+
+ </description>
+</macro>
Modified: sandbox/mirror/libs/mirror/doc/reference/macro_RFL_TYPE_NS.xml
==============================================================================
--- sandbox/mirror/libs/mirror/doc/reference/macro_RFL_TYPE_NS.xml (original)
+++ sandbox/mirror/libs/mirror/doc/reference/macro_RFL_TYPE_NS.xml 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -10,7 +10,7 @@
<purpose>
<para>This macro is a variation of the
<code><macroname>BOOST_MIRRORED_TYPE</macroname></code> macro, which
- takes the name of the type split into two arguments the full namespace
+ takes the name of the type split into two arguments; the full namespace
name and the base type name.
</para>
</purpose>
Modified: sandbox/mirror/libs/mirror/doc/reference/meta_type.xml
==============================================================================
--- sandbox/mirror/libs/mirror/doc/reference/meta_type.xml (original)
+++ sandbox/mirror/libs/mirror/doc/reference/meta_type.xml 2008-09-24 12:13:30 EDT (Wed, 24 Sep 2008)
@@ -17,6 +17,9 @@
<!-- macros -->
<!-- registering -->
<xi:include href="macro_REG_TYPE.xml"/>
+ <xi:include href="macro_REG_TYPE_GS.xml"/>
+ <xi:include href="macro_REG_TYPE_GLOBAL_SCOPE.xml"/>
+ <xi:include href="macro_REG_TYPEDEF.xml"/>
<!-- reflection -->
<xi:include href="macro_RFL_TYPE.xml"/>
<xi:include href="macro_RFL_TYPE_NS.xml"/>
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