|
Boost-Commit : |
From: chochlik_at_[hidden]
Date: 2008-07-25 12:12:33
Author: matus.chochlik
Date: 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
New Revision: 47804
URL: http://svn.boost.org/trac/boost/changeset/47804
Log:
[mirror 0.2.x]
- Docs rebuilt with boostbook
Text files modified:
sandbox/mirror/doc/html/BOOST_CTS_LIT.html | 8 +-
sandbox/mirror/doc/html/BOOST_CTS_LIT_LENGTH.html | 12 +-
sandbox/mirror/doc/html/BOOST_CTS_STRINGIZE.html | 8 +-
sandbox/mirror/doc/html/BOOST_CTS_USE_WIDE_CHARS.html | 10 +-
sandbox/mirror/doc/html/BOOST_MIRRORED_CLASS.html | 6
sandbox/mirror/doc/html/BOOST_MIRRORED_GLOBAL_SCOPE.html | 4
sandbox/mirror/doc/html/BOOST_MIRRORED_NAMESPACE.html | 16 ++--
sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE.html | 8 +-
sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEDEF.html | 12 +-
sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEOF.html | 4
sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE_NS.html | 4
sandbox/mirror/doc/html/BOOST_MIRROR_REG_NAMESPACE.html | 24 +++---
sandbox/mirror/doc/html/boost/cts/bchar.html | 6
sandbox/mirror/doc/html/boost/cts/bchar_traits.html | 10 +-
sandbox/mirror/doc/html/boost/cts/biostream.html | 18 ++--
sandbox/mirror/doc/html/boost/cts/bistream.html | 18 ++--
sandbox/mirror/doc/html/boost/cts/bostream.html | 18 ++--
sandbox/mirror/doc/html/boost/cts/bstring.html | 18 ++--
sandbox/mirror/doc/html/boost/mirror/meta_attribute.html | 92 +++++++++++++-------------
sandbox/mirror/doc/html/boost/mirror/meta_class.html | 22 +++---
sandbox/mirror/doc/html/boost/mirror/meta_namespace.html | 92 +++++++++++++-------------
sandbox/mirror/doc/html/boost/mirror/meta_type.html | 84 ++++++++++++------------
sandbox/mirror/doc/html/boost/mirror/reflects_class.html | 6
sandbox/mirror/doc/html/boost/mirror/reflects_global_scope.html | 8 +-
sandbox/mirror/doc/html/boost/mirror/reflects_inheritance.html | 2
sandbox/mirror/doc/html/boost/mirror/reflects_namespace.html | 8 +-
sandbox/mirror/doc/html/boost/mirror/reflects_type.html | 8 +-
sandbox/mirror/doc/html/boost/mirror/reflects_virtual_inheritance.html | 2
sandbox/mirror/doc/html/char_type_switch.html | 16 ++--
sandbox/mirror/doc/html/char_type_switch/reference.html | 134 ++++++++++++++++++++--------------------
sandbox/mirror/doc/html/index.html | 2
sandbox/mirror/doc/html/mirror.html | 14 ++--
sandbox/mirror/doc/html/mirror/reference.html | 12 +-
33 files changed, 353 insertions(+), 353 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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -34,7 +34,7 @@
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">BOOST_CTS_LIT(STRING_LITERAL)</pre></div>
<div class="refsect1" lang="en">
-<a name="id702264"></a><h2>Description</h2>
+<a name="id2641569"></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_id601645">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_id2464731">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_id601645">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_id2464731">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_id601645">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_id2464731">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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -33,12 +33,12 @@
<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="id702387"></a><h2>Description</h2>
+<a name="id2641761"></a><h2>Description</h2>
<p>This macro is defined as follows:
</p>
<pre class="programlisting">
#define <a class="link" href="BOOST_CTS_LIT_LENGTH.html" title="Macro BOOST_CTS_LIT_LENGTH">BOOST_CTS_LIT_LENGTH</a>(STRING_LITERAL) \
- ((sizeof(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(STRING_LITERAL))/sizeof(::boost::cts::bchar))-1)
+ ((sizeof(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(STRING_LITERAL))/sizeof(::boost::cts::<a class="link" href="boost/cts/bchar.html" title="Type definition bchar">bchar</a>))-1)
</pre>
<p>
</p>
@@ -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_id590450">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_id2390665">bstrlen</a>(<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"))
);
return 0;
}
@@ -75,9 +75,9 @@
int main(void)
{
using namespace ::boost::cts;
- bchar 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_id602322">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_id601645">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="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_id2292363">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_id2464731">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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -34,7 +34,7 @@
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">BOOST_CTS_STRINGIZE(ARG)</pre></div>
<div class="refsect1" lang="en">
-<a name="id702508"></a><h2>Description</h2>
+<a name="id2641956"></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_id601645">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_id2464731">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_id601645">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_id2464731">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_id601645">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_id2464731">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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -26,25 +26,25 @@
<a name="BOOST_CTS_USE_WIDE_CHARS"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_CTS_USE_WIDE_CHARS</span></h2>
-<p>BOOST_CTS_USE_WIDE_CHARS — This preprocessor symbol is used to switch the definition of <code class="computeroutput">bchar</code>
+<p>BOOST_CTS_USE_WIDE_CHARS — This preprocessor symbol is used to switch the definition of <code class="computeroutput"><a class="link" href="boost/cts/bchar.html" title="Type definition bchar">bchar</a></code>
and everything derived from this type.
</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">BOOST_CTS_USE_WIDE_CHARS</pre></div>
<div class="refsect1" lang="en">
-<a name="id702056"></a><h2>Description</h2>
+<a name="id2641256"></a><h2>Description</h2>
<p>If the <code class="computeroutput"><a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a></code> symbol is defined
- then the type <code class="computeroutput">bchar</code> is defined as <code class="computeroutput">wchar_t</code>,
+ 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>:
</p>
<pre class="programlisting">
#include <boost/char_type_switch/string.hpp>
#ifdef <a class="link" href="BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a>
-BOOST_MPL_ASSERT((::boost::is_same< ::boost::cts::bchar, wchar_t >));
+BOOST_MPL_ASSERT((::boost::is_same< ::boost::cts::<a class="link" href="boost/cts/bchar.html" title="Type definition bchar">bchar</a>, wchar_t >));
#else
-BOOST_MPL_ASSERT((::boost::is_same< ::boost::cts::bchar, char >));
+BOOST_MPL_ASSERT((::boost::is_same< ::boost::cts::<a class="link" href="boost/cts/bchar.html" title="Type definition bchar">bchar</a>, char >));
#endif
</pre>
<p>
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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -27,14 +27,14 @@
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_MIRRORED_CLASS</span></h2>
<p>BOOST_MIRRORED_CLASS — This macro is used to reflect a class and expands into a specialization
- of the <code class="computeroutput">meta_class</code> template, which provides
+ of the <code class="computeroutput"><a class="link" href="boost/mirror/meta_class.html" title="Class template meta_class">meta_class</a></code> template, which provides
meta-data about the reflected class.
</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_CLASS(CLASS)</pre></div>
<div class="refsect1" lang="en">
-<a name="id698953"></a><h2>Description</h2>
+<a name="id2637791"></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.
@@ -50,7 +50,7 @@
</pre>
<pre class="programlisting">
BOOST_MPL_ASSERT_NOT((
- reflects_global_scope<
+ <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><
<a class="link" href="BOOST_MIRRORED_CLASS.html" title="Macro BOOST_MIRRORED_CLASS">BOOST_MIRRORED_CLASS</a>(::std::pair<int, char>)::scope
>
));
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_GLOBAL_SCOPE.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_GLOBAL_SCOPE.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_GLOBAL_SCOPE.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -27,7 +27,7 @@
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_MIRRORED_GLOBAL_SCOPE</span></h2>
<p>BOOST_MIRRORED_GLOBAL_SCOPE — This macro is used to reflect the global scope and expands into a specialization
- of the <code class="computeroutput">meta_namespace</code> template, which provides
+ of the <code class="computeroutput"><a class="link" href="boost/mirror/meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code> template, which provides
meta-data about the global scope.
To reflect a registered named namespace use the <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a></code>.
</p>
@@ -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="id694933"></a><h2>Description</h2>
+<a name="id2634772"></a><h2>Description</h2>
<p>The <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_GLOBAL_SCOPE.html" title="Macro BOOST_MIRRORED_GLOBAL_SCOPE">BOOST_MIRRORED_GLOBAL_SCOPE</a>()</code> macro can be used to get
the meta-data about the global scope, which is registered with the <a class="link" href="mirror.html" title="Chapter 1. Mirror">Mirror</a> library by default.
</p>
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_NAMESPACE.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_NAMESPACE.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_NAMESPACE.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -27,7 +27,7 @@
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_MIRRORED_NAMESPACE</span></h2>
<p>BOOST_MIRRORED_NAMESPACE — This macro is used to reflect a namespace and expands into a specialization
- of the <code class="computeroutput">meta_namespace</code> template, which provides
+ of the <code class="computeroutput"><a class="link" href="boost/mirror/meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code> template, which provides
meta-data about the namespace. To reflect the global scope use 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.
</p>
@@ -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="id694714"></a><h2>Description</h2>
+<a name="id2634334"></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>.
@@ -58,7 +58,7 @@
<div class="titlepage"><div><div><h6 class="title">
<a name="mirror.RFL_NAMESPACE.reference.samples"></a>Examples</h6></div></div></div>
<p>This example shows the registering and reflection of namespaces
- and basic usage of the <code class="computeroutput">meta_namespace</code>
+ and basic usage of the <code class="computeroutput"><a class="link" href="boost/mirror/meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>
template class and its members.
</p>
<pre class="programlisting">
@@ -98,7 +98,7 @@
{
using namespace ::std;
using namespace ::boost;
- cts::bostream& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id589807">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_id2525641">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_id589807">bcout</a>();
+ cts::bostream& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id2525641">bcout</a>();
bcout <<
<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Namespace '") <<
@@ -126,7 +126,7 @@
endl <<
<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - it's defined ");
- if(reflects_global_scope<typename MetaNamespace::scope>::value)
+ if(<a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><typename MetaNamespace::scope>::value)
bcout << <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - on the global scope ");
else
bcout << <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - in the '") <<
@@ -146,13 +146,13 @@
using namespace ::boost::mirror;
// check the template argument
BOOST_MPL_ASSERT((
- reflects_namespace< MetaNamespace >
+ <a class="link" href="boost/mirror/reflects_namespace.html" title="Class template reflects_namespace">reflects_namespace</a>< MetaNamespace >
));
// call the specialized printer based on whether
// the passed meta-namespace reflects the global
// scope or not
- typename reflects_global_scope<MetaNamespace>::type
+ typename <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><MetaNamespace>::type
selector;
do_print_meta_data<MetaNamespace>(selector);
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -27,7 +27,7 @@
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_MIRRORED_TYPE</span></h2>
<p>BOOST_MIRRORED_TYPE — This macro is used to reflect a type and expands into a specialization
- of the <code class="computeroutput">meta_type</code> template, which provides
+ of the <code class="computeroutput"><a class="link" href="boost/mirror/meta_type.html" title="Class template meta_type">meta_type</a></code> template, which provides
meta-data about the reflected type.
To reflect a <code class="computeroutput">typedef</code>-ined type use the
<code class="computeroutput"><a class="link" href="BOOST_MIRRORED_TYPEDEF.html" title="Macro BOOST_MIRRORED_TYPEDEF">BOOST_MIRRORED_TYPEDEF</a></code> macro.
@@ -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="id698146"></a><h2>Description</h2>
+<a name="id2636576"></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.
@@ -54,14 +54,14 @@
</pre>
<pre class="programlisting">
BOOST_MPL_ASSERT((
- reflects_global_scope<
+ <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><
<a class="link" href="BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a>(int)::scope
>
));
</pre>
<pre class="programlisting">
BOOST_MPL_ASSERT_NOT((
- reflects_global_scope<
+ <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><
<a class="link" href="BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a>(::std::string)::scope
>
));
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEDEF.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEDEF.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEDEF.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -27,7 +27,7 @@
<div class="refnamediv">
<h2><span class="refentrytitle">Macro BOOST_MIRRORED_TYPEDEF</span></h2>
<p>BOOST_MIRRORED_TYPEDEF — This macro is used to reflect a <code class="computeroutput">typedef</code>-ined type and expands into a specialization
- of the <code class="computeroutput">meta_type</code> template, which provides
+ of the <code class="computeroutput"><a class="link" href="boost/mirror/meta_type.html" title="Class template meta_type">meta_type</a></code> template, which provides
meta-data about the reflected type.
To reflect a base type (not a <code class="computeroutput">typedef</code>-ined) use the
<code class="computeroutput"><a class="link" href="BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a></code> macro.
@@ -38,12 +38,12 @@
<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="id698381"></a><h2>Description</h2>
+<a name="id2636930"></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.
The difference between this macro and the <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a></code> macro
- is, that <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_TYPEDEF.html" title="Macro BOOST_MIRRORED_TYPEDEF">BOOST_MIRRORED_TYPEDEF</a></code> returns a <code class="computeroutput">meta_type</code>
+ is, that <code class="computeroutput"><a class="link" href="BOOST_MIRRORED_TYPEDEF.html" title="Macro BOOST_MIRRORED_TYPEDEF">BOOST_MIRRORED_TYPEDEF</a></code> returns a <code class="computeroutput"><a class="link" href="boost/mirror/meta_type.html" title="Class template meta_type">meta_type</a></code>
specialization which is aware of the <code class="computeroutput">typedef</code>-ined name and the scope in which the type is
<code class="computeroutput">typedef</code>'d. For example the <code class="computeroutput">size_t</code> is a <code class="computeroutput">typedef</code> from the <code class="computeroutput">::std</code> namespace
and is usually defined as
@@ -62,7 +62,7 @@
} // namespace std
</pre>
<p>
- the <code class="computeroutput">full_name</code> function called on meta_type
+ the <code class="computeroutput">full_name</code> function called on <a class="link" href="boost/mirror/meta_type.html" title="Class template meta_type">meta_type</a>
expanded from <a class="link" href="BOOST_MIRRORED_TYPEDEF.html" title="Macro BOOST_MIRRORED_TYPEDEF">BOOST_MIRRORED_TYPEDEF</a>
</p>
<pre class="programlisting">
@@ -94,14 +94,14 @@
</pre>
<pre class="programlisting">
BOOST_MPL_ASSERT((
- reflects_global_scope<
+ <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><
<a class="link" href="BOOST_MIRRORED_TYPEDEF.html" title="Macro BOOST_MIRRORED_TYPEDEF">BOOST_MIRRORED_TYPEDEF</a>(::std, size_t)::scope::scope
>
));
</pre>
<pre class="programlisting">
BOOST_MPL_ASSERT_NOT((
- reflects_global_scope<
+ <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><
<a class="link" href="BOOST_MIRRORED_TYPEDEF.html" title="Macro BOOST_MIRRORED_TYPEDEF">BOOST_MIRRORED_TYPEDEF</a>(::boost::cts, bstring)::scope
>
));
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEOF.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEOF.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_TYPEOF.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -32,7 +32,7 @@
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">BOOST_MIRRORED_TYPEOF(EXPRESSION)</pre></div>
<div class="refsect1" lang="en">
-<a name="id698619"></a><h2>Description</h2>
+<a name="id2637289"></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))
@@ -45,7 +45,7 @@
</pre>
<pre class="programlisting">
BOOST_MPL_ASSERT((
- reflects_global_scope<
+ <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><
<a class="link" href="BOOST_MIRRORED_TYPEOF.html" title="Macro BOOST_MIRRORED_TYPEOF">BOOST_MIRRORED_TYPEOF</a>(1.0+1.0)::scope
>
));
Modified: sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE_NS.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE_NS.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRRORED_TYPE_NS.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -35,7 +35,7 @@
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">BOOST_MIRRORED_TYPE_NS(FULL_NAMESPACE_NAME, TYPE)</pre></div>
<div class="refsect1" lang="en">
-<a name="id698251"></a><h2>Description</h2>
+<a name="id2636734"></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>
@@ -47,7 +47,7 @@
</pre>
<pre class="programlisting">
BOOST_MPL_ASSERT_NOT((
- reflects_global_scope<
+ <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><
<a class="link" href="BOOST_MIRRORED_TYPE_NS.html" title="Macro BOOST_MIRRORED_TYPE_NS">BOOST_MIRRORED_TYPE_NS</a>(::std, string)::scope
>
));
Modified: sandbox/mirror/doc/html/BOOST_MIRROR_REG_NAMESPACE.html
==============================================================================
--- sandbox/mirror/doc/html/BOOST_MIRROR_REG_NAMESPACE.html (original)
+++ sandbox/mirror/doc/html/BOOST_MIRROR_REG_NAMESPACE.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -34,7 +34,7 @@
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">BOOST_MIRROR_REG_NAMESPACE(PP_SEQ)</pre></div>
<div class="refsect1" lang="en">
-<a name="id694425"></a><h2>Description</h2>
+<a name="id2633731"></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>
@@ -90,19 +90,19 @@
</p>
<pre class="programlisting">
BOOST_MPL_ASSERT((
- reflects_namespace< <a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::ns_1) >
+ <a class="link" href="boost/mirror/reflects_namespace.html" title="Class template reflects_namespace">reflects_namespace</a>< <a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::ns_1) >
));
BOOST_MPL_ASSERT((
- reflects_namespace< <a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::ns_1::ns_2::ns_3) >
+ <a class="link" href="boost/mirror/reflects_namespace.html" title="Class template reflects_namespace">reflects_namespace</a>< <a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::ns_1::ns_2::ns_3) >
));
BOOST_MPL_ASSERT_NOT((
- reflects_global_scope< <a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::ns_1) >
+ <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a>< <a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::ns_1) >
));
BOOST_MPL_ASSERT_NOT((
- reflects_global_scope< <a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::ns_1::ns_2::ns_3) >
+ <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a>< <a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::ns_1::ns_2::ns_3) >
));
BOOST_MPL_ASSERT((
- reflects_global_scope< <a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::ns_1::ns_2)::scope::scope >
+ <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a>< <a class="link" href="BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::ns_1::ns_2)::scope::scope >
));
</pre>
<p>
@@ -125,7 +125,7 @@
<div class="titlepage"><div><div><h6 class="title">
<a name="mirror.REG_NAMESPACE.reference.samples"></a>Examples</h6></div></div></div>
<p>This example shows the registering and reflection of namespaces
- and basic usage of the <code class="computeroutput">meta_namespace</code>
+ and basic usage of the <code class="computeroutput"><a class="link" href="boost/mirror/meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>
template class and its members.
</p>
<pre class="programlisting">
@@ -165,7 +165,7 @@
{
using namespace ::std;
using namespace ::boost;
- cts::bostream& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id589807">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_id2525641">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_id589807">bcout</a>();
+ cts::bostream& bcout = cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bcout_id2525641">bcout</a>();
bcout <<
<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Namespace '") <<
@@ -193,7 +193,7 @@
endl <<
<a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - it's defined ");
- if(reflects_global_scope<typename MetaNamespace::scope>::value)
+ if(<a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><typename MetaNamespace::scope>::value)
bcout << <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - on the global scope ");
else
bcout << <a class="link" href="BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>(" - in the '") <<
@@ -213,13 +213,13 @@
using namespace ::boost::mirror;
// check the template argument
BOOST_MPL_ASSERT((
- reflects_namespace< MetaNamespace >
+ <a class="link" href="boost/mirror/reflects_namespace.html" title="Class template reflects_namespace">reflects_namespace</a>< MetaNamespace >
));
// call the specialized printer based on whether
// the passed meta-namespace reflects the global
// scope or not
- typename reflects_global_scope<MetaNamespace>::type
+ typename <a class="link" href="boost/mirror/reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><MetaNamespace>::type
selector;
do_print_meta_data<MetaNamespace>(selector);
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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -35,16 +35,16 @@
<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="id702208"></a><h2>Description</h2>
+<a name="id2641482"></a><h2>Description</h2>
<p>The <code class="computeroutput">bchar</code> type is defined as follows:
</p>
<pre class="programlisting">
namespace boost {
namespace cts {
#ifdef <a class="link" href="../../BOOST_CTS_USE_WIDE_CHARS.html" title="Macro BOOST_CTS_USE_WIDE_CHARS">BOOST_CTS_USE_WIDE_CHARS</a>
- typedef wchar_t bchar;
+ typedef wchar_t <a class="link" href="bchar.html" title="Type definition bchar">bchar</a>;
#else
- typedef char bchar;
+ typedef char <a class="link" href="bchar.html" title="Type definition bchar">bchar</a>;
#endif
} // namespace cts
} // namespace boost
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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -27,16 +27,16 @@
<div class="refnamediv">
<h2><span class="refentrytitle">Type definition bchar_traits</span></h2>
<p>bchar_traits — The <code class="computeroutput">::std::char_traits</code> for the
- <code class="computeroutput">bchar</code> character type.
+ <code class="computeroutput"><a class="link" href="bchar.html" title="Type definition bchar">bchar</a></code> character type.
</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">
-<span class="bold"><strong>typedef</strong></span> ::std::char_traits<bchar> bchar_traits;</pre></div>
+<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="id703672"></a><h2>Description</h2>
-<p>The <code class="computeroutput">bchar_traits</code> type is defined as abbreviation for
- <code class="computeroutput">::std::char_traits<bchar></code>.
+<a name="id2642287"></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>
</div>
</div>
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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -25,21 +25,21 @@
<a name="boost.cts.biostream"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Type definition biostream</span></h2>
-<p>biostream — This type is defined as <code class="computeroutput">::std::iostream</code> if <code class="computeroutput">bchar</code> is <code class="computeroutput">char</code>
- and is defined as <code class="computeroutput">::std::wiostream</code> if <code class="computeroutput">bchar</code> is <code class="computeroutput">wchar_t</code>.
+<p>biostream — This type is defined as <code class="computeroutput">::std::iostream</code> if <code class="computeroutput"><a class="link" href="bchar.html" title="Type definition bchar">bchar</a></code> is <code class="computeroutput">char</code>
+ and is defined as <code class="computeroutput">::std::wiostream</code> if <code class="computeroutput"><a class="link" href="bchar.html" title="Type definition bchar">bchar</a></code> is <code class="computeroutput">wchar_t</code>.
</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">
-<span class="bold"><strong>typedef</strong></span> ::std::basic_iostream<bchar, bchar_traits> biostream;</pre></div>
+<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="id704273"></a><h2>Description</h2>
-<p>The <code class="computeroutput">biostream</code> type is defined as an abbreviation for
- <code class="computeroutput">::std::basic_iostream<bchar, bchar_traits></code>.
+<a name="id2643384"></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="id704291"></a>Examples</h6></div></div></div>
+<a name="id2643424"></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;
- bistream& in = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcin_id589646">bcin</a>();
- bostream& out = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id589807">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_id2495157">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_id2525641">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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -26,21 +26,21 @@
<a name="boost.cts.bistream"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Type definition bistream</span></h2>
-<p>bistream — This type is defined as <code class="computeroutput">::std::istream</code> if <code class="computeroutput">bchar</code> is <code class="computeroutput">char</code>
- and is defined as <code class="computeroutput">::std::wistream</code> if <code class="computeroutput">bchar</code> is <code class="computeroutput">wchar_t</code>.
+<p>bistream — This type is defined as <code class="computeroutput">::std::istream</code> if <code class="computeroutput"><a class="link" href="bchar.html" title="Type definition bchar">bchar</a></code> is <code class="computeroutput">char</code>
+ and is defined as <code class="computeroutput">::std::wistream</code> if <code class="computeroutput"><a class="link" href="bchar.html" title="Type definition bchar">bchar</a></code> is <code class="computeroutput">wchar_t</code>.
</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">
-<span class="bold"><strong>typedef</strong></span> ::std::basic_istream<bchar, bchar_traits> bistream;</pre></div>
+<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="id704057"></a><h2>Description</h2>
-<p>The <code class="computeroutput">bistream</code> type is defined as an abbreviation for
- <code class="computeroutput">::std::basic_istream<bchar, bchar_traits></code>.
+<a name="id2642968"></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="id704075"></a>Examples</h6></div></div></div>
+<a name="id2643008"></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;
- bistream& in = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcin_id589646">bcin</a>();
- bostream& out = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id589807">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_id2495157">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_id2525641">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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -26,21 +26,21 @@
<a name="boost.cts.bostream"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Type definition bostream</span></h2>
-<p>bostream — This type is defined as <code class="computeroutput">::std::ostream</code> if <code class="computeroutput">bchar</code> is <code class="computeroutput">char</code>
- and is defined as <code class="computeroutput">::std::wostream</code> if <code class="computeroutput">bchar</code> is <code class="computeroutput">wchar_t</code>.
+<p>bostream — This type is defined as <code class="computeroutput">::std::ostream</code> if <code class="computeroutput"><a class="link" href="bchar.html" title="Type definition bchar">bchar</a></code> is <code class="computeroutput">char</code>
+ and is defined as <code class="computeroutput">::std::wostream</code> if <code class="computeroutput"><a class="link" href="bchar.html" title="Type definition bchar">bchar</a></code> is <code class="computeroutput">wchar_t</code>.
</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">
-<span class="bold"><strong>typedef</strong></span> ::std::basic_ostream<bchar, bchar_traits> bostream;</pre></div>
+<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="id704165"></a><h2>Description</h2>
-<p>The <code class="computeroutput">bostream</code> type is defined as an abbreviation for
- <code class="computeroutput">::std::basic_ostream<bchar, bchar_traits></code>.
+<a name="id2643176"></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="id704183"></a>Examples</h6></div></div></div>
+<a name="id2643216"></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;
- bistream& in = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcin_id589646">bcin</a>();
- bostream& out = <a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id589807">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_id2495157">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_id2525641">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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -26,17 +26,17 @@
<a name="boost.cts.bstring"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Type definition bstring</span></h2>
-<p>bstring — This type is basically defined as <code class="computeroutput">::std::string</code> if <code class="computeroutput">bchar</code> is <code class="computeroutput">char</code>
- and is defined as <code class="computeroutput">::std::wstring</code> if <code class="computeroutput">bchar</code> is <code class="computeroutput">wchar_t</code>.
+<p>bstring — This type is basically defined as <code class="computeroutput">::std::string</code> if <code class="computeroutput"><a class="link" href="bchar.html" title="Type definition bchar">bchar</a></code> is <code class="computeroutput">char</code>
+ and is defined as <code class="computeroutput">::std::wstring</code> if <code class="computeroutput"><a class="link" href="bchar.html" title="Type definition bchar">bchar</a></code> is <code class="computeroutput">wchar_t</code>.
</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">
-<span class="bold"><strong>typedef</strong></span> ::std::basic_string<bchar> bstring;</pre></div>
+<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="id703755"></a><h2>Description</h2>
-<p>The <code class="computeroutput">bstring</code> type is defined as an abbreviation for
- <code class="computeroutput">::std::basic_string<bchar></code>.
+<a name="id2642420"></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>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
@@ -48,9 +48,9 @@
int main(void)
{
using namespace ::boost::cts;
- bstring foobar(<a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"));
- foo.append(bstring(<a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("bar")));
- assert(foobar == bstring(<a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foobar")));
+ <a class="link" href="bstring.html" title="Type definition bstring">bstring</a> foobar(<a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foo"));
+ foo.append(<a class="link" href="bstring.html" title="Type definition bstring">bstring</a>(<a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("bar")));
+ assert(foobar == <a class="link" href="bstring.html" title="Type definition bstring">bstring</a>(<a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("foobar")));
return 0;
}
</pre>
Modified: sandbox/mirror/doc/html/boost/mirror/meta_attribute.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/meta_attribute.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/meta_attribute.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -27,7 +27,7 @@
<div class="refnamediv">
<h2><span class="refentrytitle">Class template meta_attribute</span></h2>
<p>boost::mirror::meta_attribute — This class template reflects one individual attribute of a class. The
- <code class="computeroutput">meta_attribute</code> template should not be instantiated
+ <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code> template should not be instantiated
directly, meta-attributes are obtained only as results of introspection operations on
<code class="computeroutput">meta_class_attributes</code> and
<code class="computeroutput">meta_class_all_attributes</code>.
@@ -37,26 +37,26 @@
<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#id478762-bbtypes">types</a></em></span>
- <span class="bold"><strong>typedef</strong></span> meta_class<<span class="emphasis"><em>unspecified</em></span>> <a class="link" href="meta_attribute.html#boost.mirror.meta_attribute.scope">scope</a>;
+ <span class="emphasis"><em>// <a class="link" href="meta_attribute.html#id2438222-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> meta_class_attributes<<span class="emphasis"><em>unspecified</em></span>>-or-meta_class_all_attributes<<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>;
<span class="bold"><strong>typedef</strong></span> mpl::int_<<span class="emphasis"><em>unspecified</em></span>> <a class="link" href="meta_attribute.html#boost.mirror.meta_attribute.position">position</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.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::bstring&</span> <a class="link" href="meta_attribute.html#id478559-bb">base_name</a>();
- <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_attribute.html#id478529-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#id2553339-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#id2445514-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#id478473-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#id478408-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#id2508962-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#id2507894-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#id478350-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#id477879-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#id2445664-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#id2565329-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="id699341"></a><h2>Description</h2>
+<a name="id2638353"></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,12 +71,12 @@
</div>
</div>
<div class="refsect2" lang="en">
-<a name="id699367"></a><h3>
-<a name="id478762-bbtypes"></a><code class="computeroutput">meta_attribute</code> public types</h3>
+<a name="id2638388"></a><h3>
+<a name="id2438222-bbtypes"></a><code class="computeroutput">meta_attribute</code> public types</h3>
<div class="orderedlist"><ol type="1">
<li>
<p>
-<span class="bold"><strong>typedef</strong></span> meta_class<<span class="emphasis"><em>unspecified</em></span>> <a name="boost.mirror.meta_attribute.scope"></a>scope;</p>
+<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 name="boost.mirror.meta_attribute.scope"></a>scope;</p>
<p>Meta-class describing the scope where the reflected attribute is defined.
The scope is the class that the reflected attribute belongs to.
</p>
@@ -84,12 +84,12 @@
<li>
<p>
<span class="bold"><strong>typedef</strong></span> meta_class_attributes<<span class="emphasis"><em>unspecified</em></span>>-or-meta_class_all_attributes<<span class="emphasis"><em>unspecified</em></span>> <a name="boost.mirror.meta_attribute.container"></a>container;</p>
-<p>The meta-attribute-sequence containing this <code class="computeroutput">meta_attribute</code>.
- It is the container that the <code class="computeroutput">meta_attribute</code> belongs to.
+<p>The meta-attribute-sequence containing this <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code>.
+ It is the container that the <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code> belongs to.
It can be either the "own" class' attributes -
- <code class="computeroutput">meta_class<<span class="emphasis"><em>unspecified</em></span>>::attributes</code>
+ <code class="computeroutput"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a><<span class="emphasis"><em>unspecified</em></span>>::attributes</code>
or all class attributes including the inherited ones -
- <code class="computeroutput">meta_class<<span class="emphasis"><em>unspecified</em></span>>::all_attributes</code>.
+ <code class="computeroutput"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a><<span class="emphasis"><em>unspecified</em></span>>::all_attributes</code>.
</p>
</li>
<li>
@@ -102,7 +102,7 @@
<p>
<span class="bold"><strong>typedef</strong></span> mpl::int_<<span class="emphasis"><em>unspecified</em></span>> <a name="boost.mirror.meta_attribute.position"></a>position;</p>
<p>This member is an instantiation of the <code class="computeroutput">::boost::mpl::int_<N></code>
- template and specifies the position of the <code class="computeroutput">meta_attribute</code>
+ template and specifies the position of the <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code>
in the <code class="computeroutput">container</code>.
</p>
</li>
@@ -115,8 +115,8 @@
<li>
<p>
<span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span> <a name="boost.mirror.meta_attribute.typedef_or_type"></a>typedef_or_type;</p>
-<p>This type should be used to reflect the type of the attribute (to get a <code class="computeroutput">meta_type</code>
- or a <code class="computeroutput">meta_class</code> that reflects the type of the attribute), because it allows
+<p>This type should be used to reflect the type of the attribute (to get a <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code>
+ or a <code class="computeroutput"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a></code> that reflects the type of the attribute), because it allows
to distinguish <code class="computeroutput">typedef</code>ined types.
</p>
</li>
@@ -129,17 +129,17 @@
</li>
</ol></div>
</div>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id478559-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="id2553339-bb"></a>base_name();</pre>
<p>This static member function returns the base name of the
- attribute reflected by the <code class="computeroutput">meta_attribute</code>.
+ 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">full_name</code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_attribute.html#id2445514-bb">full_name</a></code> member function
instead.</p>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id478529-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="id2445514-bb"></a>full_name();</pre>
<p>This static member function returns the full name of the
- attribute reflected by the <code class="computeroutput">meta_attribute</code>
+ 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:
</p>
<pre class="programlisting">
@@ -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">base_name</code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_attribute.html#id2553339-bb">base_name</a></code> member function
instead.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@@ -166,25 +166,25 @@
for attributes of deeply nested classes, because the name needs to be properly composed from
the class name and namespace names, which may
lead to multiple string concatenations. Subsequent calls to this member function
- for a concrete specialization of meta_attribute
+ for a concrete specialization of <a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a>
are usually much faster.
</p></td>
</tr></tbody>
</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="id478473-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
+ <a name="id2508962-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">meta_attribute</code>,
+ <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code>,
depending on the value of the template argument <code class="computeroutput">FullName</code>.
Furthermore it allows to choose whether the return value type is
<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="id478408-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="id2507894-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">meta_attribute</code> when given
+ 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:
</p>
<pre class="programlisting">
@@ -199,16 +199,16 @@
//
// create an instance of the pair
pair p(10, 20.0);
-assert(meta_pair_first::<code class="computeroutput">get</code>(p) == p.first);
-assert(meta_pair_second::<code class="computeroutput">get</code>(p) == p.second);
+assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-bb">get</a></code>(p) == p.first);
+assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-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="id478350-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="id2445664-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">meta_attribute</code> (when given
+ 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),
to <code class="computeroutput">destination</code> and returns <code class="computeroutput">destination</code>. The <code class="computeroutput">DestType</code>
type must be assignable with the <code class="computeroutput">type</code> of the attribute:
@@ -229,17 +229,17 @@
long first = 30;
float second = 40.0f;
// query the values and check them
-assert(meta_pair_first::<code class="computeroutput">query</code>(p, first) == 10);
-assert(meta_pair_second::<code class="computeroutput">query</code>(p, second) == 20.0f);
+assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2445664-bb">query</a></code>(p, first) == 10);
+assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2445664-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="id477879-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 sets the given value to the attribute reflected
- by this <code class="computeroutput">meta_attribute</code> when given
+<pre class="literallayout"><span class="type"><span class="bold"><strong>void</strong></span></span> <a name="id2565329-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:
</p>
<pre class="programlisting">
@@ -256,14 +256,14 @@
pair p(10, 20.0f);
pair r(30, 40.0f);
//
-assert(meta_pair_first::<code class="computeroutput">get</code>(p) != meta_pair_first::<code class="computeroutput">get</code>(r));
-assert(meta_pair_second::<code class="computeroutput">get</code>(p) != meta_pair_second::<code class="computeroutput">get</code>(r));
+assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-bb">get</a></code>(p) != meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-bb">get</a></code>(r));
+assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-bb">get</a></code>(p) != meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-bb">get</a></code>(r));
// set new values
-meta_pair_first::<code class="computeroutput">set</code>(p, meta_pair_first::<code class="computeroutput">get</code>(r));
-meta_pair_second::<code class="computeroutput">set</code>(p, meta_pair_second::<code class="computeroutput">get</code>(r));
+meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2565329-bb">set</a></code>(p, meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-bb">get</a></code>(r));
+meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2565329-bb">set</a></code>(p, meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-bb">get</a></code>(r));
// and check the values
-assert(meta_pair_first::<code class="computeroutput">get</code>(p) == meta_pair_first::<code class="computeroutput">get</code>(r));
-assert(meta_pair_second::<code class="computeroutput">get</code>(p) == meta_pair_second::<code class="computeroutput">get</code>(r));
+assert(meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-bb">get</a></code>(p) == meta_pair_first::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-bb">get</a></code>(r));
+assert(meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-bb">get</a></code>(p) == meta_pair_second::<code class="computeroutput"><a class="link" href="meta_attribute.html#id2507894-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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -29,50 +29,50 @@
<p>boost::mirror::meta_class —
This class template provides meta-data about the reflected class.
- Although the specializations of <code class="computeroutput">meta_class</code>
+ Although the specializations of <code class="computeroutput"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a></code>
template can be used directly to get the meta data about a particular class (or type),
it is recomended to use the reflection macro
<code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_CLASS.html" title="Macro BOOST_MIRRORED_CLASS">BOOST_MIRRORED_CLASS</a>(CLASS)</code>
instead, to get the proper specializations of
- <code class="computeroutput">meta_class</code>.
+ <code class="computeroutput"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a></code>.
</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Class>
-<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> meta_type<Class>
+<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#id656414-bbtypes">types</a></em></span>
+ <span class="emphasis"><em>// <a class="link" href="meta_class.html#id2434165-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> meta_class_attributes<<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> meta_class_all_attributes<<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="id698825"></a><h2>Description</h2>
+<a name="id2637601"></a><h2>Description</h2>
<div class="refsect2" lang="en">
-<a name="id698829"></a><h3>
-<a name="id656414-bbtypes"></a><code class="computeroutput">meta_class</code> public types</h3>
+<a name="id2637605"></a><h3>
+<a name="id2434165-bbtypes"></a><code class="computeroutput">meta_class</code> public types</h3>
<div class="orderedlist"><ol type="1">
<li>
<p>
<span class="bold"><strong>typedef</strong></span> meta_base_classes<<span class="emphasis"><em>unspecified</em></span>> <a name="boost.mirror.meta_class.base_classes"></a>base_classes;</p>
<p>The list of <code class="computeroutput">meta_inheritance</code> specializations
- reflecting the base classes of the class reflected by this <code class="computeroutput">meta_class</code>.
+ reflecting the base classes of the class reflected by this <code class="computeroutput"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a></code>.
</p>
</li>
<li>
<p>
<span class="bold"><strong>typedef</strong></span> meta_class_attributes<<span class="emphasis"><em>unspecified</em></span>> <a name="boost.mirror.meta_class.attributes"></a>attributes;</p>
-<p>The container of <code class="computeroutput">meta_attribute</code>s reflecting the
+<p>The container of <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code>s reflecting the
"own" attributes of a class. These are the attributes that are defined directly
- in the class reflected by this <code class="computeroutput">meta_class</code>, not including
+ in the class reflected by this <code class="computeroutput"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a></code>, not including
the attributes inherited from the base classes.
</p>
</li>
<li>
<p>
<span class="bold"><strong>typedef</strong></span> meta_class_all_attributes<<span class="emphasis"><em>unspecified</em></span>> <a name="boost.mirror.meta_class.all_attributes"></a>all_attributes;</p>
-<p>The container of <code class="computeroutput">meta_attribute</code>s reflecting
+<p>The container of <code class="computeroutput"><a class="link" href="meta_attribute.html" title="Class template meta_attribute">meta_attribute</a></code>s reflecting
all attributes of a class including the ones inherited from base classes.
</p>
</li>
Modified: sandbox/mirror/doc/html/boost/mirror/meta_namespace.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/meta_namespace.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/meta_namespace.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -33,10 +33,10 @@
get information about the scope inside of which this namespace
has been defined.
- To obtain a <code class="computeroutput">meta_namespace</code> for a particular
+ To obtain a <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code> for a particular
namespace (with the exception of the global scope) use the reflection
macro <code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(FULL_NAMESPACE_NAME)</code>. To
- get the <code class="computeroutput">meta_namespace</code> specialization for
+ get the <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code> specialization for
the global scope use 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.
</p>
@@ -45,21 +45,21 @@
<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#id460892-bbtypes">types</a></em></span>
- <span class="bold"><strong>typedef</strong></span> meta_namespace<<span class="emphasis"><em>unspecified</em></span>> <a class="link" href="meta_namespace.html#boost.mirror.meta_namespace.scope">scope</a>;
+ <span class="emphasis"><em>// <a class="link" href="meta_namespace.html#id2548796-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::bstring&</span> <a class="link" href="meta_namespace.html#id460718-bb">base_name</a>();
- <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_namespace.html#id460676-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#id2552254-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#id2569552-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#id460623-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
+ <a class="link" href="meta_namespace.html#id2553734-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id693751"></a><h2>Description</h2>
-<p>The specializations of <code class="computeroutput">meta_type</code> can
+<a name="id2632493"></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
- <code class="computeroutput">meta_type</code> usage. Mirror works with the native C++ types
+ <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code> usage. Mirror works with the native C++ types
and some of the very common types like <code class="computeroutput">::std::string</code>, etc. out of the box.
Meta-types for many other types from the standard library and Boost
are also provided and can be <code class="computeroutput">#include</code>d when necessary.
@@ -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_id589807">bcout</a>();
+ cts::bostream& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2525641">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;
@@ -102,9 +102,9 @@
<div class="titlepage"><div><div><h6 class="title">
<a name="mirror.meta_namespace.reference.sample02"></a>Example - Scope and ancestors</h6></div></div></div>
<p>The following example shows what can be done with the
- <code class="computeroutput">meta_namespace</code>s <code class="computeroutput">scope</code> and
+ <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>s <code class="computeroutput">scope</code> and
<code class="computeroutput">ancestors</code> <code class="computeroutput">typedef</code>s. It also shows the usage
- of the <code class="computeroutput">reflects_global_scope</code> trait
+ of the <code class="computeroutput"><a class="link" href="reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a></code> trait
template.
</p>
<a name="mirror.reference.sample.meta_namespace.usage02"></a><pre class="programlisting">
@@ -121,7 +121,7 @@
{
using namespace ::std;
using namespace ::boost;
- cts::bostream& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id589807">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_id2525641">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::bostream& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id589807">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_id2525641">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;
//
@@ -149,7 +149,7 @@
bcout << meta_boost_mirror::scope::full_name() << endl;
//
// check whether the grandparent namespace is the global scope
- if(reflects_global_scope<meta_boost_mirror::scope::scope> :: value)
+ if(<a class="link" href="reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><meta_boost_mirror::scope::scope> :: value)
bcout << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("OK") << endl;
else
bcout << <a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("Error") << endl;
@@ -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">base_name</code> and the
- <code class="computeroutput">full_name</code> methods
- are convenient but not very generic. The <code class="computeroutput">get_name</code>
+<p>The <code class="computeroutput"><a class="link" href="meta_namespace.html#id2552254-bb">base_name</a></code> and the
+ <code class="computeroutput"><a class="link" href="meta_namespace.html#id2569552-bb">full_name</a></code> methods
+ are convenient but not very generic. The <code class="computeroutput"><a class="link" href="meta_namespace.html#id2553734-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.
@@ -187,7 +187,7 @@
::std::basic_ostream< CharT, ::std::char_traits< CharT > >&
operator << (
::std::basic_ostream< CharT, ::std::char_traits< CharT > >& _s,
- ::boost::mirror::meta_namespace< NsPlaceholder > _mn
+ ::boost::mirror::<a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a>< NsPlaceholder > _mn
)
{
return _s <<_mn.get_name(
@@ -213,33 +213,33 @@
</div>
</div>
<div class="refsect2" lang="en">
-<a name="id694004"></a><h3>
-<a name="id460892-bbtypes"></a><code class="computeroutput">meta_namespace</code> public types</h3>
+<a name="id2632992"></a><h3>
+<a name="id2548796-bbtypes"></a><code class="computeroutput">meta_namespace</code> public types</h3>
<div class="orderedlist"><ol type="1">
<li>
<p>
-<span class="bold"><strong>typedef</strong></span> meta_namespace<<span class="emphasis"><em>unspecified</em></span>> <a name="boost.mirror.meta_namespace.scope"></a>scope;</p>
+<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 name="boost.mirror.meta_namespace.scope"></a>scope;</p>
<p>A meta-object describing the scope in which the reflected namespace
- is defined. It is a specialization of <code class="computeroutput">meta_namespace</code>
+ is defined. It is a specialization of <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>
with the exception of the meta-namespace reflecting the global scope where
- this type refers back to the <code class="computeroutput">meta_namespace</code>
+ this type refers back to the <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>
describing the global scope.
</p>
<p>To find out whether a meta-namespace reflects the global scope
- use the <code class="computeroutput">reflects_global_scope</code> template meta-function.
+ use the <code class="computeroutput"><a class="link" href="reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a></code> template meta-function.
</p>
</li>
<li>
<p>
<span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span> <a name="boost.mirror.meta_namespace.ancestors"></a>ancestors;</p>
-<p>An <code class="computeroutput">mpl::vector</code> containing the <code class="computeroutput">meta_namespace</code>
+<p>An <code class="computeroutput">mpl::vector</code> containing the <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>
specializations for all the namespaces in which the reflected namespace is
- directly or indirectly nested (not-containing the <code class="computeroutput">meta_namespace</code>
+ directly or indirectly nested (not-containing the <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>
for the reflected namespace). The elements of this <code class="computeroutput">mpl::vector</code> are
- ordered from the <code class="computeroutput">meta_namespace</code> reflecting
- the global scope to the <code class="computeroutput">meta_namespace</code>
+ ordered from the <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code> reflecting
+ the global scope to the <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>
reflecting the parent namespace. The following holds
- for <code class="computeroutput">meta_namespace</code>s
+ for <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>s
reflecting any namespace with the exception of the global scope:
</p>
<a name="mirror.reference.sample.meta_namespace.ancestors01"></a><pre class="programlisting">
@@ -247,7 +247,7 @@
using namespace ::boost::mirror;
BOOST_MPL_ASSERT((
- reflects_global_scope <
+ <a class="link" href="reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a> <
mpl::front <
<a class="link" href="../../BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::std)::ancestors
>
@@ -255,7 +255,7 @@
));
BOOST_MPL_ASSERT((
- reflects_global_scope <
+ <a class="link" href="reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a> <
mpl::front <
<a class="link" href="../../BOOST_MIRRORED_NAMESPACE.html" title="Macro BOOST_MIRRORED_NAMESPACE">BOOST_MIRRORED_NAMESPACE</a>(::boost::mirror)::ancestors
>
@@ -271,7 +271,7 @@
>
));
</pre>
-<p>For the <code class="computeroutput">meta_namespace</code>
+<p>For the <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>
reflecting the global scope the following holds true.
</p>
<a name="mirror.reference.sample.meta_namespace.ancestors02"></a><pre class="programlisting">
@@ -283,14 +283,14 @@
</pre>
<p>To find out whether a meta-namespace reflects the global scope
- use the <code class="computeroutput">reflects_global_scope</code> template meta-function.
+ use the <code class="computeroutput"><a class="link" href="reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a></code> template meta-function.
</p>
</li>
</ol></div>
</div>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id460718-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="id2552254-bb"></a>base_name();</pre>
<p>This static member function returns the base name of the
- namespace reflected by a <code class="computeroutput">meta_namespace</code>.
+ 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
</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) :: base_name()
@@ -298,11 +298,11 @@
<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">full_name</code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_namespace.html#id2569552-bb">full_name</a></code> member function
instead.</p>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id460676-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="id2569552-bb"></a>full_name();</pre>
<p>This static member function returns the full name of the
- namespace reflected by a <code class="computeroutput">meta_namespace</code>
+ 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:
</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) :: full_name()
@@ -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">base_name</code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_namespace.html#id2552254-bb">base_name</a></code> member function
instead.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@@ -320,19 +320,19 @@
for deeply nested namespaces, because the name needs to be properly composed from
the base namespace names, which may
lead to multiple string concatenations. Subsequent calls to this member function
- for a concrete specialization of meta_namespace
+ for a concrete specialization of <a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a>
are usually much faster.
</p></td>
</tr></tbody>
</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="id460623-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
+ <a name="id2553734-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
nested name specifier of the namespace reflected by this
- <code class="computeroutput">meta_namespace</code>,
+ <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>,
depending on the value of the template argument <code class="computeroutput">FullName</code>.
Furthermore it allows to choose whether the return value type is
<code class="computeroutput">::std::string</code> or <code class="computeroutput">::std::wstring</code> based
@@ -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">base_name</code> member function with the
+ <code class="computeroutput"><a class="link" href="meta_namespace.html#id2552254-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">full_name</code> method with the
+ <code class="computeroutput"><a class="link" href="meta_namespace.html#id2569552-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-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -31,34 +31,34 @@
base and full type name of the reflected type and to
get information about the scope inside of which this type
has been declared.
- Although the specializations of <code class="computeroutput">meta_type</code>
+ Although the specializations of <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code>
template can be used directly to get the meta data about a particular type,
it is recomended to use the reflection macros like
<code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a>(TYPE)</code> or
<code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_TYPEOF.html" title="Macro BOOST_MIRRORED_TYPEOF">BOOST_MIRRORED_TYPEOF</a>(EXPR)</code>
instead, to get the proper specializations of
- <code class="computeroutput">meta_type</code>.
+ <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code>.
</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="bold"><strong>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#id519408-bbtypes">types</a></em></span>
+ <span class="emphasis"><em>// <a class="link" href="meta_type.html#id2523932-bbtypes">types</a></em></span>
<span class="bold"><strong>typedef</strong></span> Type <a class="link" href="meta_type.html#boost.mirror.meta_type.reflected_type">reflected_type</a>;
- <span class="bold"><strong>typedef</strong></span> meta_namespace<<span class="emphasis"><em>unspecified</em></span>>-or-meta_class<<span class="emphasis"><em>unspecified</em></span>> <a class="link" href="meta_type.html#boost.mirror.meta_type.scope">scope</a>;
- <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_type.html#id657141-bb">base_name</a>();
- <span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a class="link" href="meta_type.html#id657078-bb">full_name</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#id2501390-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#id2431193-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#id656230-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
+ <a class="link" href="meta_type.html#id2476880-bb">get_name</a>(::boost::mpl::bool_<FullName>, ::std::char_traits<CharT>);
};</pre></div>
<div class="refsect1" lang="en">
-<a name="id695245"></a><h2>Description</h2>
-<p>The specializations of <code class="computeroutput">meta_type</code> can
+<a name="id2635263"></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
- <code class="computeroutput">meta_type</code> usage. Mirror works with the native C++ types
+ <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code> usage. Mirror works with the native C++ types
and some of the very common types like <code class="computeroutput">::std::string</code>, etc. out of the box.
Meta-types for many other types from the standard library and Boost
are also provided and can be <code class="computeroutput">#include</code>d when necessary.
@@ -70,7 +70,7 @@
<a name="mirror.meta_type.reference.sample01"></a>Example - Basic usage</h6></div></div></div>
<p>This sample code shows how to reflect a type and how to get its full type name.
Since various instances of <code class="computeroutput">::std::pair</code> are reflected,
- the <code class="computeroutput">meta_type</code>s for this template need to be
+ the <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code>s for this template need to be
included.
</p>
<a name="mirror.reference.sample.meta_type.usage01"></a><pre class="programlisting">
@@ -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_id589807">bcout</a>() <<
+ cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id2525641">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,14 +124,14 @@
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_id589807">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_id2525641">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: ") <<
MetaType::base_name() <<
endl;
//
- if(reflects_global_scope<typename MetaType::scope>::value)
+ if(<a class="link" href="reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a><typename MetaType::scope>::value)
{
bcout <<
<a class="link" href="../../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a>("It's defined on the global scope") <<
@@ -182,7 +182,7 @@
types. This is useful when the info about the name and the scope of the <code class="computeroutput">typedef</code>
is required instead of the meta-information about the "source" type.
However, the usage shown in this example is not very common. The full utility becomes obvious
- only when the <code class="computeroutput">meta_type</code> is part of
+ only when the <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code> is part of
some other meta-structure like for example with <code class="computeroutput">typedef</code>'d class member attributes.
</p>
<p>Mirror comes with several pre-registered <code class="computeroutput">typedef</code>s. If user-defined
@@ -197,7 +197,7 @@
{
using namespace ::std;
using namespace ::boost;
- cts::bostream& bcout = cts::<a class="link" href="../../char_type_switch/reference.html#boost.cts.bcout_id589807">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_id2525641">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">base_name</code> and the
- <code class="computeroutput">full_name</code> member functions
- are convenient but not very generic. The <code class="computeroutput">get_name</code>
+<p>The <code class="computeroutput"><a class="link" href="meta_type.html#id2501390-bb">base_name</a></code> and the
+ <code class="computeroutput"><a class="link" href="meta_type.html#id2431193-bb">full_name</a></code> member functions
+ are convenient but not very generic. The <code class="computeroutput"><a class="link" href="meta_type.html#id2476880-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.
@@ -253,7 +253,7 @@
::std::basic_ostream< CharT, ::std::char_traits< CharT > >&
operator << (
::std::basic_ostream< CharT, ::std::char_traits< CharT > >& _s,
- ::boost::mirror::meta_type< Type > _mt
+ ::boost::mirror::<a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a>< Type > _mt
)
{
return _s <<_mt.get_name(
@@ -279,41 +279,41 @@
</div>
</div>
<div class="refsect2" lang="en">
-<a name="id697750"></a><h3>
-<a name="id519408-bbtypes"></a><code class="computeroutput">meta_type</code> public types</h3>
+<a name="id2635901"></a><h3>
+<a name="id2523932-bbtypes"></a><code class="computeroutput">meta_type</code> public types</h3>
<div class="orderedlist"><ol type="1">
<li>
<p>
<span class="bold"><strong>typedef</strong></span> Type <a name="boost.mirror.meta_type.reflected_type"></a>reflected_type;</p>
-<p>The type reflected by this specialization of <code class="computeroutput">meta_type</code>.
+<p>The type reflected by this specialization of <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code>.
</p>
</li>
<li>
<p>
-<span class="bold"><strong>typedef</strong></span> meta_namespace<<span class="emphasis"><em>unspecified</em></span>>-or-meta_class<<span class="emphasis"><em>unspecified</em></span>> <a name="boost.mirror.meta_type.scope"></a>scope;</p>
+<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 name="boost.mirror.meta_type.scope"></a>scope;</p>
<p>A meta-object describing the scope in which the reflected type
is defined. Depending on where the type has been defined <code class="computeroutput">scope</code>
- can be either a specialization of <code class="computeroutput">meta_namespace</code>
- or a specialization of <code class="computeroutput">meta_class</code>.
+ can be either a specialization of <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>
+ or a specialization of <code class="computeroutput"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a></code>.
</p>
</li>
</ol></div>
</div>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id657141-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="id2501390-bb"></a>base_name();</pre>
<p>This static member function returns the base name of the
- type reflected by <code class="computeroutput">meta_type</code>
+ 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:
</p>
<pre class="programlisting"><code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a></code>(::std::string) :: base_name()
</pre>
<p> or
</p>
-<pre class="programlisting"><code class="computeroutput">meta_type</code> < ::std::string > :: base_name()
+<pre class="programlisting"><code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code> < ::std::string > :: base_name()
</pre>
<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">full_name</code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_type.html#id2431193-bb">full_name</a></code> member function
instead.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@@ -324,26 +324,26 @@
types, arrays etc. because the type name needs to be properly composed from
the base type name, which may depending on the complexity of the type
lead to multiple string concatenations. Subsequent calls to this member function
- for a concrete specialization of meta_type
+ for a concrete specialization of <a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a>
are usually much faster.
</p></td>
</tr></tbody>
</table></div>
-<pre class="literallayout"><span class="type"><span class="bold"><strong>const</strong></span> cts::bstring&</span> <a name="id657078-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="id2431193-bb"></a>full_name();</pre>
<p>This static member function returns the full name of the
- type reflected by <code class="computeroutput">meta_type</code>
+ 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:
</p>
<pre class="programlisting"><code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a></code>(::std::string) :: full_name()
</pre>
<p> or
</p>
-<pre class="programlisting"><code class="computeroutput">meta_type</code> < ::std::string > :: full_name()
+<pre class="programlisting"><code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code> < ::std::string > :: full_name()
</pre>
<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">base_name</code> member function
+ is needed use the <code class="computeroutput"><a class="link" href="meta_type.html#id2501390-bb">base_name</a></code> member function
instead.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@@ -354,19 +354,19 @@
types, arrays etc. because the type name needs to be properly composed from
the base type name, which may depending on the complexity of the type
lead to multiple string concatenations. Subsequent calls to this member function
- for a concrete specialization of meta_type
+ for a concrete specialization of <a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a>
are usually much faster.
</p></td>
</tr></tbody>
</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="id656230-bb"></a>get_name(::boost::mpl::bool_<FullName> full, ::std::char_traits<CharT> cht);</pre>
+ <a name="id2476880-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
nested name specifier of the type reflected by this
- <code class="computeroutput">meta_type</code>,
+ <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code>,
depending on the value of the template argument <code class="computeroutput">FullName</code>.
Furthermore it allows to choose whether the return value type is
<code class="computeroutput">::std::string</code> or <code class="computeroutput">::std::wstring</code> based
@@ -376,19 +376,19 @@
<pre class="programlisting"><code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a></code>(::std::string) :: get_name(::boost::mpl::false_(), ::std::char_traits<char>())</pre>
<p> or
</p>
-<pre class="programlisting"><code class="computeroutput">meta_type</code> < ::std::string > :: get_name(::boost::mpl::false_(), ::std::char_traits<char>())</pre>
+<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">base_name</code> member function with the
+ <code class="computeroutput"><a class="link" href="meta_type.html#id2501390-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>
<pre class="programlisting"><code class="computeroutput"><a class="link" href="../../BOOST_MIRRORED_TYPE.html" title="Macro BOOST_MIRRORED_TYPE">BOOST_MIRRORED_TYPE</a></code>(::std::string) :: get_name(::boost::mpl::true_(), ::std::char_traits<wchar_t>())</pre>
<p> or
</p>
-<pre class="programlisting"><code class="computeroutput">meta_type</code> < ::std::string > :: get_name( ::boost::mpl::true_(), ::std::char_traits<wchar_t>())</pre>
+<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">full_name</code> method with the
+ <code class="computeroutput"><a class="link" href="meta_type.html#id2431193-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>
Modified: sandbox/mirror/doc/html/boost/mirror/reflects_class.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/reflects_class.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/reflects_class.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -27,7 +27,7 @@
<div class="refnamediv">
<h2><span class="refentrytitle">Class template reflects_class</span></h2>
<p>boost::mirror::reflects_class — If <code class="computeroutput">MetaObject</code> is an instantiation of
- <code class="computeroutput">meta_class</code>, then <code class="computeroutput">reflects_class</code>
+ <code class="computeroutput"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a></code>, then <code class="computeroutput"><a class="link" href="reflects_class.html" title="Class template reflects_class">reflects_class</a></code>
inherits from <code class="computeroutput">::boost::true_type</code>. Otherwise it inherits from
<code class="computeroutput">::boost::false_type</code>.
</p>
@@ -37,9 +37,9 @@
<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="id701464"></a><h2>Description</h2>
+<a name="id2640399"></a><h2>Description</h2>
<p>This template can be used to distinguish whether the opaque <code class="computeroutput">MetaObject</code> type reflects a class
- and thus is an instantiation of <code class="computeroutput">meta_class</code>.
+ 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>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
Modified: sandbox/mirror/doc/html/boost/mirror/reflects_global_scope.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/reflects_global_scope.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/reflects_global_scope.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -26,9 +26,9 @@
<a name="boost.mirror.reflects_global_scope"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template reflects_global_scope</span></h2>
-<p>boost::mirror::reflects_global_scope — If <code class="computeroutput">MetaObject</code> is the specialization of <code class="computeroutput">meta_namespace</code>,
+<p>boost::mirror::reflects_global_scope — If <code class="computeroutput">MetaObject</code> is the specialization of <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>,
reflecting the global scope,
- then <code class="computeroutput">reflects_global_scope</code>
+ then <code class="computeroutput"><a class="link" href="reflects_global_scope.html" title="Class template reflects_global_scope">reflects_global_scope</a></code>
inherits from <code class="computeroutput">::boost::true_type</code>. Otherwise it inherits from
<code class="computeroutput">::boost::false_type</code>.
</p>
@@ -38,9 +38,9 @@
<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="id701119"></a><h2>Description</h2>
+<a name="id2639887"></a><h2>Description</h2>
<p>This template can be used to distinguish whether the opaque <code class="computeroutput">MetaObject</code> type reflects the global scope
- and thus is an instantiation of <code class="computeroutput">meta_namespace</code> for the global scope.
+ 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>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
Modified: sandbox/mirror/doc/html/boost/mirror/reflects_inheritance.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/reflects_inheritance.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/reflects_inheritance.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -27,7 +27,7 @@
<div class="refnamediv">
<h2><span class="refentrytitle">Class template reflects_inheritance</span></h2>
<p>boost::mirror::reflects_inheritance — If <code class="computeroutput">MetaObject</code> is an instantiation of <code class="computeroutput">meta_inheritance</code>,
- then <code class="computeroutput">reflects_inheritance</code>
+ then <code class="computeroutput"><a class="link" href="reflects_inheritance.html" title="Class template reflects_inheritance">reflects_inheritance</a></code>
inherits from <code class="computeroutput">::boost::true_type</code>. Otherwise it inherits from
<code class="computeroutput">::boost::false_type</code>.
</p>
Modified: sandbox/mirror/doc/html/boost/mirror/reflects_namespace.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/reflects_namespace.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/reflects_namespace.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -26,8 +26,8 @@
<a name="boost.mirror.reflects_namespace"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template reflects_namespace</span></h2>
-<p>boost::mirror::reflects_namespace — If <code class="computeroutput">MetaObject</code> is an instantiation of <code class="computeroutput">meta_namespace</code>,
- then <code class="computeroutput">reflects_namespace</code>
+<p>boost::mirror::reflects_namespace — If <code class="computeroutput">MetaObject</code> is an instantiation of <code class="computeroutput"><a class="link" href="meta_namespace.html" title="Class template meta_namespace">meta_namespace</a></code>,
+ then <code class="computeroutput"><a class="link" href="reflects_namespace.html" title="Class template reflects_namespace">reflects_namespace</a></code>
inherits from <code class="computeroutput">::boost::true_type</code>. Otherwise it inherits from
<code class="computeroutput">::boost::false_type</code>.
</p>
@@ -37,9 +37,9 @@
<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="id700947"></a><h2>Description</h2>
+<a name="id2639634"></a><h2>Description</h2>
<p>This template can be used to distinguish whether the opaque <code class="computeroutput">MetaObject</code> type reflects a namespace
- and thus is an instantiation of <code class="computeroutput">meta_namespace</code>.
+ 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>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
Modified: sandbox/mirror/doc/html/boost/mirror/reflects_type.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/reflects_type.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/reflects_type.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -26,8 +26,8 @@
<a name="boost.mirror.reflects_type"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template reflects_type</span></h2>
-<p>boost::mirror::reflects_type — If <code class="computeroutput">MetaObject</code> is either an instantiation of <code class="computeroutput">meta_type</code>
- or <code class="computeroutput">meta_class</code>, then <code class="computeroutput">reflects_type</code>
+<p>boost::mirror::reflects_type — If <code class="computeroutput">MetaObject</code> is either an instantiation of <code class="computeroutput"><a class="link" href="meta_type.html" title="Class template meta_type">meta_type</a></code>
+ or <code class="computeroutput"><a class="link" href="meta_class.html" title="Class template meta_class">meta_class</a></code>, then <code class="computeroutput"><a class="link" href="reflects_type.html" title="Class template reflects_type">reflects_type</a></code>
inherits from <code class="computeroutput">::boost::true_type</code>. Otherwise it inherits from
<code class="computeroutput">::boost::false_type</code>.
</p>
@@ -37,9 +37,9 @@
<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="id701294"></a><h2>Description</h2>
+<a name="id2640146"></a><h2>Description</h2>
<p>This template can be used to distinguish whether the opaque <code class="computeroutput">MetaObject</code> type reflects a type or a class
- and thus is an instantiation of <code class="computeroutput">meta_type</code>.
+ 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>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
Modified: sandbox/mirror/doc/html/boost/mirror/reflects_virtual_inheritance.html
==============================================================================
--- sandbox/mirror/doc/html/boost/mirror/reflects_virtual_inheritance.html (original)
+++ sandbox/mirror/doc/html/boost/mirror/reflects_virtual_inheritance.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -28,7 +28,7 @@
<h2><span class="refentrytitle">Class template reflects_virtual_inheritance</span></h2>
<p>boost::mirror::reflects_virtual_inheritance — If <code class="computeroutput">MetaInheritance</code> is a specialization of <code class="computeroutput">meta_inheritance</code>
reflecting virtual inheritance,
- then <code class="computeroutput">reflects_virtual_inheritance</code>
+ then <code class="computeroutput"><a class="link" href="reflects_virtual_inheritance.html" title="Class template reflects_virtual_inheritance">reflects_virtual_inheritance</a></code>
inherits from <code class="computeroutput">::boost::true_type</code>. Otherwise it inherits from
<code class="computeroutput">::boost::false_type</code>.
</p>
Modified: sandbox/mirror/doc/html/char_type_switch.html
==============================================================================
--- sandbox/mirror/doc/html/char_type_switch.html (original)
+++ sandbox/mirror/doc/html/char_type_switch.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -34,7 +34,7 @@
</div></div>
<div><p class="copyright">Copyright © 2008 Matúš Chochlík</p></div>
<div><div class="legalnotice">
-<a name="id701778"></a><p>Use, modification and distribution is subject to the Boost
+<a name="id2640821"></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">
@@ -70,16 +70,16 @@
</p>
<p>
The library introduces a new character type called
- <code class="computeroutput">::boost::cts::bchar</code> that can be
+ <code class="computeroutput">::boost::cts::<a class="link" href="boost/cts/bchar.html" title="Type definition bchar">bchar</a></code> that can be
defined as <code class="computeroutput">wchar_t</code> or as <code class="computeroutput">char</code> based on whether
the <code class="computeroutput">BOOST_CTS_USE_WIDE_CHARS</code> preprocessor symobol is or is not defined.
Based on the real type of <code class="computeroutput">bchar</code> other types like
- <code class="computeroutput">::boost::cts::bstring</code>,
- <code class="computeroutput">::boost::cts::bistream</code>,
- <code class="computeroutput">::boost::cts::bostream</code>, etc.,
+ <code class="computeroutput">::boost::cts::<a class="link" href="boost/cts/bstring.html" title="Type definition bstring">bstring</a></code>,
+ <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_id590450">bstrlen</a></code>,
- <code class="computeroutput">::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcpy_id602322">bstrcpy</a></code>, etc.
+ <code class="computeroutput">::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrlen_id2390665">bstrlen</a></code>,
+ <code class="computeroutput">::boost::cts::<a class="link" href="char_type_switch/reference.html#boost.cts.bstrcpy_id2292363">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-07-25 12:12:30 EDT (Fri, 25 Jul 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="id702007"></a>Header files</h3></div></div></div>
+<a name="id2641188"></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>
@@ -64,8 +64,8 @@
<a name="header.boost.char_type_switch.string.hpp"></a>Header <boost/char_type_switch/string.hpp></h4></div></div></div>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
<span class="bold"><strong>namespace</strong></span> cts {
- <span class="bold"><strong>typedef</strong></span> ::std::char_traits<bchar> <a class="link" href="../boost/cts/bchar_traits.html" title="Type definition bchar_traits">bchar_traits</a>;
- <span class="bold"><strong>typedef</strong></span> ::std::basic_string<bchar> <a class="link" href="../boost/cts/bstring.html" title="Type definition bstring">bstring</a>;
+ <span class="bold"><strong>typedef</strong></span> ::std::char_traits<<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>;
+ <span class="bold"><strong>typedef</strong></span> ::std::basic_string<<a class="link" href="../boost/cts/bchar.html" title="Type definition bchar">bchar</a>> <a class="link" href="../boost/cts/bstring.html" title="Type definition bstring">bstring</a>;
}
}</pre>
</div>
@@ -74,35 +74,35 @@
<a name="header.boost.char_type_switch.iostream.hpp"></a>Header <boost/char_type_switch/iostream.hpp></h4></div></div></div>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
<span class="bold"><strong>namespace</strong></span> cts {
- <span class="bold"><strong>typedef</strong></span> ::std::basic_istream<bchar, bchar_traits> <a class="link" href="../boost/cts/bistream.html" title="Type definition bistream">bistream</a>;
- <span class="bold"><strong>typedef</strong></span> ::std::basic_ostream<bchar, bchar_traits> <a class="link" href="../boost/cts/bostream.html" title="Type definition bostream">bostream</a>;
- <span class="bold"><strong>typedef</strong></span> ::std::basic_iostream<bchar, bchar_traits> <a class="link" href="../boost/cts/biostream.html" title="Type definition biostream">biostream</a>;
-
- <span class="emphasis"><em>// <a class="link" href="reference.html#id589404-bb">free-functions</a></em></span>
- <span class="type">bistream&</span> <a class="link" href="reference.html#boost.cts.bcin_id589646">bcin</a>();
- <span class="type">bostream&</span> <a class="link" href="reference.html#boost.cts.bcout_id589807">bcout</a>();
+ <span class="bold"><strong>typedef</strong></span> ::std::basic_istream<<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/bistream.html" title="Type definition bistream">bistream</a>;
+ <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#id2523969-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_id2495157">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_id2525641">bcout</a>();
}
}</pre>
<div class="refsect2" lang="en">
-<a name="id703884"></a><h3>
-<a name="id589404-bb"></a><code class="computeroutput"></code> free-functions</h3>
+<a name="id2642690"></a><h3>
+<a name="id2523969-bb"></a><code class="computeroutput"></code> free-functions</h3>
<div class="orderedlist"><ol type="1">
<li>
-<pre class="literallayout"><span class="type">bistream&</span> <a name="boost.cts.bcin_id589646"></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_id2495157"></a>bcin();</pre>
<p>Returns a reference to the standard input stream.
</p>
-<p>If <code class="computeroutput">bchar</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">bchar</code> is defined as <code class="computeroutput">wchar_t</code>,
- then <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bcin_id589646">bcin</a></code> returns a reference to <code class="computeroutput">::std::wcin</code>.
+<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_id2495157">bcin</a></code> returns a reference to <code class="computeroutput">::std::wcin</code>.
</p>
</li>
<li>
-<pre class="literallayout"><span class="type">bostream&</span> <a name="boost.cts.bcout_id589807"></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_id2525641"></a>bcout();</pre>
<p>Returns a reference to the standard output stream.
</p>
-<p>If <code class="computeroutput">bchar</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">bchar</code> is defined as <code class="computeroutput">wchar_t</code>,
- then <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bcout_id589807">bcout</a></code> returns a reference to <code class="computeroutput">::std::wcout</code>.
+<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_id2525641">bcout</a></code> returns a reference to <code class="computeroutput">::std::wcout</code>.
</p>
</li>
</ol></div>
@@ -114,24 +114,24 @@
<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#id589484-bb">free-functions</a></em></span>
- <span class="type">size_t</span> <a class="link" href="reference.html#boost.cts.bstrlen_id590450">bstrlen</a>(<span class="bold"><strong>const</strong></span> bchar*);
- <span class="type"><span class="bold"><strong>int</strong></span></span> <a class="link" href="reference.html#boost.cts.bstrcmp_id601645">bstrcmp</a>(<span class="bold"><strong>const</strong></span> bchar*, <span class="bold"><strong>const</strong></span> bchar*);
- <span class="type">bchar*</span> <a class="link" href="reference.html#boost.cts.bstrcpy_id602322">bstrcpy</a>(bchar*, <span class="bold"><strong>const</strong></span> bchar*);
- <span class="type">bchar*</span> <a class="link" href="reference.html#boost.cts.bstrncpy_id602464">bstrncpy</a>(bchar*, <span class="bold"><strong>const</strong></span> bchar*, size_t);
+ <span class="emphasis"><em>// <a class="link" href="reference.html#id2390600-bb">free-functions</a></em></span>
+ <span class="type">size_t</span> <a class="link" href="reference.html#boost.cts.bstrlen_id2390665">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_id2464731">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_id2292363">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_id2564938">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="id704421"></a><h3>
-<a name="id589484-bb"></a><code class="computeroutput"></code> free-functions</h3>
+<a name="id2643685"></a><h3>
+<a name="id2390600-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_id590450"></a>bstrlen(<span class="bold"><strong>const</strong></span> bchar* str);</pre>
+<pre class="literallayout"><span class="type">size_t</span> <a name="boost.cts.bstrlen_id2390665"></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
- <code class="computeroutput">bchar</code> is defined as <code class="computeroutput">char</code> or to calling <code class="computeroutput">wcslen</code> if
- <code class="computeroutput">bchar</code> is defined as <code class="computeroutput">wchar_t</code>.
+ <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> or to calling <code class="computeroutput">wcslen</code> 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>.
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
@@ -143,23 +143,23 @@
int main(void)
{
using namespace ::boost::cts;
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrlen_id590450">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_id590450">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_id2390665">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_id2390665">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">bchar</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_id590450">bstrlen</a></code>(bar) == 3);
+ 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_id2390665">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_id601645"></a>bstrcmp(<span class="bold"><strong>const</strong></span> bchar* str1, <span class="bold"><strong>const</strong></span> bchar* str2);</pre>
+<pre class="literallayout"><span class="type"><span class="bold"><strong>int</strong></span></span> <a name="boost.cts.bstrcmp_id2464731"></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
- <code class="computeroutput">bchar</code> is defined as <code class="computeroutput">char</code> or to calling <code class="computeroutput">wcscmp</code> if
- <code class="computeroutput">bchar</code> is defined as <code class="computeroutput">wchar_t</code>.
+ <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> or to calling <code class="computeroutput">wcscmp</code> 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>.
If the first string is lexicographically less than the second the return value is negative,
if the first string is lexicographically greater than the second the return value is positive,
if the strings are equal then the return value is zero.
@@ -174,28 +174,28 @@
int main(void)
{
using namespace ::boost::cts;
- const <code class="computeroutput">bchar</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">bchar</code> bar[] = <code class="computeroutput"><a class="link" href="../BOOST_CTS_LIT.html" title="Macro BOOST_CTS_LIT">BOOST_CTS_LIT</a></code>("bar");
+ 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_id601645">bstrcmp</a></code>(foo, bar) > 0);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id601645">bstrcmp</a></code>(foo, foo) == 0);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id601645">bstrcmp</a></code>(bar, foo) < 0);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2464731">bstrcmp</a></code>(foo, bar) > 0);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2464731">bstrcmp</a></code>(foo, foo) == 0);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2464731">bstrcmp</a></code>(bar, foo) < 0);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id601645">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_id601645">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_id2464731">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_id2464731">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">bchar*</span> <a name="boost.cts.bstrcpy_id602322"></a>bstrcpy(bchar* dst, <span class="bold"><strong>const</strong></span> bchar* 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_id2292363"></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>
<p>Calling this function is equivalent to calling <code class="computeroutput">strcpy</code> if
- <code class="computeroutput">bchar</code> is defined as <code class="computeroutput">char</code> or to calling <code class="computeroutput">wcscpy</code> if
- <code class="computeroutput">bchar</code> is defined as <code class="computeroutput">wchar_t</code>.
+ <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> or to calling <code class="computeroutput">wcscpy</code> 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>.
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
@@ -207,30 +207,30 @@
int main(void)
{
using namespace ::boost::cts;
- <code class="computeroutput">bchar</code> aaa[4];
- <code class="computeroutput">bchar</code> bbb[4];
+ <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_id602322">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_id602322">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_id601645">bstrcmp</a></code>(aaa, bbb) != 0);
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcpy_id2292363">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_id2292363">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_id2464731">bstrcmp</a></code>(aaa, bbb) != 0);
- <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcpy_id602322">bstrcpy</a></code>(bbb, aaa);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id601645">bstrcmp</a></code>(aaa, bbb) == 0);
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcpy_id2292363">bstrcpy</a></code>(bbb, aaa);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2464731">bstrcmp</a></code>(aaa, bbb) == 0);
return 0;
}
</pre>
</div>
</li>
<li>
-<pre class="literallayout"><span class="type">bchar*</span> <a name="boost.cts.bstrncpy_id602464"></a>bstrncpy(bchar* dst, <span class="bold"><strong>const</strong></span> bchar* 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_id2564938"></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>,
then the null character is not implicitly appended to <code class="computeroutput">dst</code>.
</p>
<p>Calling this function is equivalent to calling <code class="computeroutput">strncpy</code> if
- <code class="computeroutput">bchar</code> is defined as <code class="computeroutput">char</code> or to calling <code class="computeroutput">wcsncpy</code> if
- <code class="computeroutput">bchar</code> is defined as <code class="computeroutput">wchar_t</code>.
+ <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> or to calling <code class="computeroutput">wcsncpy</code> 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>.
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
@@ -243,19 +243,19 @@
{
using namespace ::boost::cts;
const size_t size = 4;
- <code class="computeroutput">bchar</code> aaa[size];
- <code class="computeroutput">bchar</code> bbb[size];
+ <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_id602464">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_id602464">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_id601645">bstrcmp</a></code>(aaa, bbb) != 0);
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id2564938">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_id2564938">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_id2464731">bstrcmp</a></code>(aaa, bbb) != 0);
- <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id602464">bstrncpy</a></code>(bbb, aaa, size);
- assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id601645">bstrcmp</a></code>(aaa, bbb) == 0);
+ <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id2564938">bstrncpy</a></code>(bbb, aaa, size);
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2464731">bstrcmp</a></code>(aaa, bbb) == 0);
- <code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrncpy_id602464">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_id2564938">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_id601645">bstrcmp</a></code>(aaa, bbb) == 0); return 0;
+ assert(<code class="computeroutput"><a class="link" href="reference.html#boost.cts.bstrcmp_id2464731">bstrcmp</a></code>(aaa, bbb) == 0); return 0;
}
</pre>
</div>
Modified: sandbox/mirror/doc/html/index.html
==============================================================================
--- sandbox/mirror/doc/html/index.html (original)
+++ sandbox/mirror/doc/html/index.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -21,7 +21,7 @@
<div class="book" lang="en">
<div class="titlepage">
<div><div><h1 class="title">
-<a name="id591647"></a>The Mirror library documentation</h1></div></div>
+<a name="id2448166"></a>The Mirror library documentation</h1></div></div>
<hr>
</div>
<div class="toc">
Modified: sandbox/mirror/doc/html/mirror.html
==============================================================================
--- sandbox/mirror/doc/html/mirror.html (original)
+++ sandbox/mirror/doc/html/mirror.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -34,7 +34,7 @@
</div></div>
<div><p class="copyright">Copyright © 2008 Matúš Chochlík</p></div>
<div><div class="legalnotice">
-<a name="id693130"></a><p>Use, modification and distribution is subject to the Boost
+<a name="id2622985"></a><p>Use, modification and distribution is subject to the Boost
Software License, Version 1.0. (See accompanying file
<code class="filename">LICENSE_1_0.txt</code> or copy at http://www.boost.org/LICENSE_1_0.txt)
</p>
@@ -51,9 +51,9 @@
<dt><span class="section">Tutorial</span></dt>
<dt><span class="section">Mirror Reference</span></dt>
<dd><dl>
-<dt><span class="section">Meta Objects</span></dt>
-<dt><span class="section">Traits</span></dt>
-<dt><span class="section">Header files</span></dt>
+<dt><span class="section">Meta Objects</span></dt>
+<dt><span class="section">Traits</span></dt>
+<dt><span class="section">Header files</span></dt>
</dl></dd>
</dl>
</div>
@@ -292,7 +292,7 @@
</p>
<p>
This is when <a class="link" href="mirror.html" title="Chapter 1. Mirror">Mirror</a> comes in handy. One of the basic
- facilities is the <code class="computeroutput">boost::mirror::meta_type</code> class template.
+ facilities is the <code class="computeroutput">boost::mirror::<a class="link" href="boost/mirror/meta_type.html" title="Class template meta_type">meta_type</a></code> class template.
Among other things this template has two member functions - <code class="computeroutput">base_name</code>
and <code class="computeroutput">full_name</code> that return the base type name without the nested
name specifier and the full type name with the nested name specifier respectively.
@@ -301,7 +301,7 @@
and portable.
</p>
<p>
- Using <code class="computeroutput">meta_type</code> the <code class="computeroutput">get_typename<T>()</code>
+ Using <code class="computeroutput"><a class="link" href="boost/mirror/meta_type.html" title="Class template meta_type">meta_type</a></code> the <code class="computeroutput">get_typename<T>()</code>
function could look like this:
</p>
<pre class="programlisting">
@@ -319,7 +319,7 @@
</pre>
<p>
With native C++ types and some common types from the STL
- and from Boost the <code class="computeroutput">meta_type</code>
+ and from Boost the <code class="computeroutput"><a class="link" href="boost/mirror/meta_type.html" title="Class template meta_type">meta_type</a></code>
works out of the box.
</p>
</div>
Modified: sandbox/mirror/doc/html/mirror/reference.html
==============================================================================
--- sandbox/mirror/doc/html/mirror/reference.html (original)
+++ sandbox/mirror/doc/html/mirror/reference.html 2008-07-25 12:12:30 EDT (Fri, 25 Jul 2008)
@@ -26,19 +26,19 @@
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="mirror.reference"></a>Mirror Reference</h2></div></div></div>
<div class="toc"><dl>
-<dt><span class="section">Meta Objects</span></dt>
-<dt><span class="section">Traits</span></dt>
-<dt><span class="section">Header files</span></dt>
+<dt><span class="section">Meta Objects</span></dt>
+<dt><span class="section">Traits</span></dt>
+<dt><span class="section">Header files</span></dt>
</dl></div>
<p>
</p>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title">
-<a name="id693518"></a>Meta Objects</h3></div></div></div></div>
+<a name="id2585480"></a>Meta Objects</h3></div></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title">
-<a name="id693525"></a>Traits</h3></div></div></div></div>
+<a name="id2585487"></a>Traits</h3></div></div></div></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="id693532"></a>Header files</h3></div></div></div>
+<a name="id2585494"></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>
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