Boost logo

Boost-Commit :

From: chochlik_at_[hidden]
Date: 2008-05-05 12:24:20


Author: matus.chochlik
Date: 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
New Revision: 45146
URL: http://svn.boost.org/trac/boost/changeset/45146

Log:
- renamed the BOOST_MIRROR_REG_META_NAMESPACE macro to BOOST_MIRROR_REG_NAMESPACE and
the BOOST_MIRROR_REG_META_TYPE macro to BOOST_MIRROR_REG_TYPE.
- updated the documentation
Added:
   sandbox/mirror/libs/mirror/doc/xml/mirror/pages/full_reference.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/mirror/reference/
   sandbox/mirror/libs/mirror/doc/xml/mirror/reference/REFLECT_NAMESPACE.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/mirror/reference/REG_NAMESPACE.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/mirror/reference/REG_NAMESPACE_TOP_LEVEL.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_boost.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_boost_mirror.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_std.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/mirror/sections/reference/ns_reg_by_default.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/mirror/sections/reference/refl_namespaces.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/mirror/sections/reference/reg_namespaces.xml (contents, props changed)
   sandbox/mirror/libs/mirror/doc/xml/xslt/html/feature_ref.xsl (contents, props changed)
Text files modified:
   sandbox/mirror/boost/mirror/meta_namespace.hpp | 16 ++++++++--------
   sandbox/mirror/boost/mirror/meta_namespaces/boost_tuples.hpp | 2 +-
   sandbox/mirror/boost/mirror/meta_type.hpp | 18 +++++++++---------
   sandbox/mirror/libs/mirror/doc/xml/css/mirror.css | 32 ++++++++++++++++++++++++++++----
   sandbox/mirror/libs/mirror/doc/xml/mirror/_library.xml | 1 +
   sandbox/mirror/libs/mirror/doc/xml/mirror/sections/toc_brief.xml | 1 +
   sandbox/mirror/libs/mirror/doc/xml/xslt/html.xsl | 1 +
   sandbox/mirror/libs/mirror/doc/xml/xslt/html/cpp_expr.xsl | 40 ++++++++++++++++++++++++++++++++++++++++
   sandbox/mirror/libs/mirror/doc/xml/xslt/html/include.xsl | 16 ++++++++++++++--
   sandbox/mirror/libs/mirror/doc/xml/xslt/html/lib_refs.xsl | 6 ++++++
   sandbox/mirror/libs/mirror/example/registering/classes.cpp | 24 ++++++++++++------------
   sandbox/mirror/libs/mirror/example/registering/namespaces.cpp | 10 +++++-----
   sandbox/mirror/libs/mirror/example/registering/types.cpp | 12 ++++++------
   sandbox/mirror/libs/mirror/example/registering/virtual_bases.cpp | 18 +++++++++---------
   sandbox/mirror/libs/mirror/example/serialization/cube.cpp | 8 ++++----
   sandbox/mirror/libs/mirror/example/traversal/sample_visitor.cpp | 18 +++++++++---------
   sandbox/mirror/libs/mirror/test/namespaces.hpp | 10 +++++-----
   17 files changed, 159 insertions(+), 74 deletions(-)

Modified: sandbox/mirror/boost/mirror/meta_namespace.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/meta_namespace.hpp (original)
+++ sandbox/mirror/boost/mirror/meta_namespace.hpp 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -49,7 +49,7 @@
 
 /** Helper macro for registering new general namespaces (top level or nested)
  */
-#define BOOST_MIRROR_REG_META_NAMESPACE_HELPER(PARENT_NS_ALIAS, NAMESPACE_NAME) \
+#define BOOST_MIRROR_REG_NAMESPACE_HELPER(PARENT_NS_ALIAS, NAMESPACE_NAME) \
 { \
         typedef meta_namespace< namespaces :: PARENT_NS_ALIAS > parent; \
         typedef mpl::push_back<parent::scope, parent>::type scope; \
@@ -85,24 +85,24 @@
 
 /** Macro for registering new general namespaces (top level or nested)
  */
-#define BOOST_MIRROR_REG_META_NAMESPACE(PARENT_NS_ALIAS, NAMESPACE_NAME) \
+#define BOOST_MIRROR_REG_NAMESPACE(PARENT_NS_ALIAS, NAMESPACE_NAME) \
         namespace namespaces {struct PARENT_NS_ALIAS##_##NAMESPACE_NAME { }; }\
         template<> struct meta_namespace< namespaces :: PARENT_NS_ALIAS##_##NAMESPACE_NAME > \
- BOOST_MIRROR_REG_META_NAMESPACE_HELPER(PARENT_NS_ALIAS, NAMESPACE_NAME)
+ BOOST_MIRROR_REG_NAMESPACE_HELPER(PARENT_NS_ALIAS, NAMESPACE_NAME)
 
 /** Macro for registering of top-level namespaces
  */
-#define BOOST_MIRROR_REG_META_NAMESPACE_TOP_LEVEL(NAMESPACE_NAME) \
+#define BOOST_MIRROR_REG_NAMESPACE_TOP_LEVEL(NAMESPACE_NAME) \
         namespace namespaces {struct _##NAMESPACE_NAME { }; }\
         template<> struct meta_namespace< namespaces :: _##NAMESPACE_NAME > \
- BOOST_MIRROR_REG_META_NAMESPACE_HELPER(_, NAMESPACE_NAME)
+ BOOST_MIRROR_REG_NAMESPACE_HELPER(_, NAMESPACE_NAME)
 
 // Registration of the ::std namespace
-BOOST_MIRROR_REG_META_NAMESPACE_TOP_LEVEL(std)
+BOOST_MIRROR_REG_NAMESPACE_TOP_LEVEL(std)
 // Registration of the ::boost namespace
-BOOST_MIRROR_REG_META_NAMESPACE_TOP_LEVEL(boost)
+BOOST_MIRROR_REG_NAMESPACE_TOP_LEVEL(boost)
 // Registration of the ::boost::mirror namespace
-BOOST_MIRROR_REG_META_NAMESPACE(_boost, mirror)
+BOOST_MIRROR_REG_NAMESPACE(_boost, mirror)
 
 
 } // namespace mirror

Modified: sandbox/mirror/boost/mirror/meta_namespaces/boost_tuples.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/meta_namespaces/boost_tuples.hpp (original)
+++ sandbox/mirror/boost/mirror/meta_namespaces/boost_tuples.hpp 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -15,7 +15,7 @@
 namespace boost {
 namespace mirror {
 
-BOOST_MIRROR_REG_META_NAMESPACE(_boost, tuples)
+BOOST_MIRROR_REG_NAMESPACE(_boost, tuples)
 
 } // namespace mirror
 } // namespace boost

Modified: sandbox/mirror/boost/mirror/meta_type.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/meta_type.hpp (original)
+++ sandbox/mirror/boost/mirror/meta_type.hpp 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -77,7 +77,7 @@
 
 /** Macro for declaration of meta-types
  */
-#define BOOST_MIRROR_REG_META_TYPE(NAMESPACE_ALIAS, NAMESPACE, BASE_NAME) \
+#define BOOST_MIRROR_REG_TYPE(NAMESPACE_ALIAS, NAMESPACE, BASE_NAME) \
         template <> struct meta_type< NAMESPACE::BASE_NAME > \
         { \
                 typedef BOOST_MIRROR_REFLECT_NAMESPACE(NAMESPACE_ALIAS) scope; \
@@ -93,7 +93,7 @@
 
 /** Macro for declaration of meta-types for typedefined types
  */
-#define BOOST_MIRROR_REG_META_TYPEDEFD(NAMESPACE_ALIAS, NAMESPACE, TYPEDEFD_NAME) \
+#define BOOST_MIRROR_REG_TYPEDEFD(NAMESPACE_ALIAS, NAMESPACE, TYPEDEFD_NAME) \
         namespace typedefs { struct NAMESPACE_ALIAS##_##TYPEDEFD_NAME { }; }\
         template <> struct meta_type< BOOST_MIRROR_TYPEDEFD_SELECTOR(\
                 NAMESPACE_ALIAS##_##TYPEDEFD_NAME, \
@@ -113,7 +113,7 @@
 
 /** Declaration of meta types for types in the global scope
  */
-#define BOOST_MIRROR_REG_META_TYPE_GLOBAL_SCOPE(BASE_NAME) \
+#define BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE(BASE_NAME) \
         template <> struct meta_type< BASE_NAME > \
         { \
                 typedef BOOST_MIRROR_REFLECT_NAMESPACE(_) scope; \
@@ -131,7 +131,7 @@
 /** Declaration of meta types for types in declared inside
  * of a class.
  */
-#define BOOST_MIRROR_REG_META_TYPE_EMBEDDED(WRAPPER, BASE_NAME) \
+#define BOOST_MIRROR_REG_TYPE_EMBEDDED(WRAPPER, BASE_NAME) \
         template <> struct meta_type< WRAPPER::BASE_NAME > \
         { \
                 typedef meta_class< WRAPPER > scope; \
@@ -150,7 +150,7 @@
  * the C++ native types
  */
 #define BOOST_MIRROR_REG_ITH_META_TYPE_NATIVE(I, _, BASE_NAME)\
- BOOST_MIRROR_REG_META_TYPE_GLOBAL_SCOPE(BASE_NAME)
+ BOOST_MIRROR_REG_TYPE_GLOBAL_SCOPE(BASE_NAME)
 
 #define BOOST_MIRROR_NATIVE_TYPES \
         BOOST_PP_TUPLE_TO_LIST( \
@@ -179,12 +179,12 @@
 
 /** Register std string and wstring
  */
-BOOST_MIRROR_REG_META_TYPE(_std, ::std, string)
-BOOST_MIRROR_REG_META_TYPE(_std, ::std, wstring)
+BOOST_MIRROR_REG_TYPE(_std, ::std, string)
+BOOST_MIRROR_REG_TYPE(_std, ::std, wstring)
 /** Now register the bchar and bstring too
  */
-BOOST_MIRROR_REG_META_TYPEDEFD(_boost, ::boost, bchar)
-BOOST_MIRROR_REG_META_TYPEDEFD(_boost, ::boost, bstring)
+BOOST_MIRROR_REG_TYPEDEFD(_boost, ::boost, bchar)
+BOOST_MIRROR_REG_TYPEDEFD(_boost, ::boost, bstring)
 
 
 /** Meta-types for pointers

Modified: sandbox/mirror/libs/mirror/doc/xml/css/mirror.css
==============================================================================
--- sandbox/mirror/libs/mirror/doc/xml/css/mirror.css (original)
+++ sandbox/mirror/libs/mirror/doc/xml/css/mirror.css 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -9,8 +9,7 @@
 }
 
 
-H1,H2,H3,H4,H5,H6 {
- font-family: 'Palatino Linotype';
+H1,H2,H3,H4 {
         width: 100%;
         background-color: #F0FFF0;
         color: #206020;
@@ -18,13 +17,17 @@
         padding-left: 1em;
 }
 
+H5,H6 {
+ width: 100%;
+}
+
 H1 {
         font-size: 120%;
         font-weight: bold;
 }
 
 DIV.section {
- padding-left: 2.5em;
+ padding-left: 1.5em;
         padding-right: 0.5em;
         border: 1px solid #C0F0C0;
 }
@@ -54,6 +57,18 @@
         margin-bottom: 0.5em;
 }
 
+DIV.feature-synopsis {
+ border: 1px solid #C0F0C0;
+ background-color: #E0E0E0;
+ padding: 0.5em;
+
+}
+
+DIV.cpp-indent {
+ margin-left: 1em;
+}
+
+
 P.note {
         border: 1px solid #C0A0A0;
         background-color: #FFE0E0;
@@ -87,7 +102,16 @@
 }
 
 
-
 CODE.cpp-expr {
         font-weight: bold;
 }
+
+SPAN.cpp-comment {
+ color: #406040;
+}
+
+SPAN.cpp-preproc {
+ color: #802020;
+ font-weight: bold;
+}
+

Modified: sandbox/mirror/libs/mirror/doc/xml/mirror/_library.xml
==============================================================================
--- sandbox/mirror/libs/mirror/doc/xml/mirror/_library.xml (original)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/_library.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -2,6 +2,7 @@
 <?xml-stylesheet type="text/xsl" href="../xslt/html.xsl"?>
 <library>
         <name>mirror</name>
+ <Name>Mirror</Name>
         <title>Mirror C++ Library</title>
         <date>
                 <from>2008</from>

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/pages/full_reference.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/pages/full_reference.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<?xml-stylesheet type="text/xsl" href="../../xslt/html.xsl"?>
+<doc_page title="Full reference" name="full_reference">
+ <paragraph>
+ </paragraph>
+ <include reference_section="reg_namespaces"/>
+ <include reference_section="ns_reg_by_default"/>
+ <include reference_section="refl_namespaces"/>
+</doc_page>

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/reference/REFLECT_NAMESPACE.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/reference/REFLECT_NAMESPACE.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feature_doc>
+ <overview>
+ <paragraph>
+ The <feat_ref>REFLECT_NAMESPACE</feat_ref> macro expands into a meta_namespace describing the namespace that is referred to by the given <cpp_expr>NAMESPACE_ALIAS</cpp_expr>.
+ </paragraph>
+ </overview>
+ <macro name="REFLECT_NAMESPACE">
+ <arg name="NAMESPACE_ALIAS">
+ </arg>
+ </macro>
+ <overview>
+ <paragraph>
+ </paragraph>
+ </overview>
+ <requirements>
+ <header>meta_namespace.hpp</header>
+ </requirements>
+ <example>
+ <cpp_source>
+ <cpp_line>typedef <feat_ref>REFLECT_NAMESPACE</feat_ref>(<feat_ref>_</feat_ref>) </cpp_line>
+ <cpp_indent><cpp_line>meta_global_scope;</cpp_line></cpp_indent>
+ <cpp_line/>
+ <cpp_line>typedef <feat_ref>REFLECT_NAMESPACE</feat_ref>(<feat_ref>_std</feat_ref>) </cpp_line>
+ <cpp_indent><cpp_line>meta_ns_std;</cpp_line></cpp_indent>
+ <cpp_line/>
+ <cpp_line>typedef <feat_ref>REFLECT_NAMESPACE</feat_ref>(<feat_ref>_boost</feat_ref>) </cpp_line>
+ <cpp_indent><cpp_line>meta_ns_boost;</cpp_line></cpp_indent>
+ </cpp_source>
+ </example>
+</feature_doc>
+

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/reference/REG_NAMESPACE.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/reference/REG_NAMESPACE.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feature_doc>
+ <overview>
+ <paragraph>
+ The <feat_ref>REG_NAMESPACE</feat_ref> macro registers the given nested namespace with the <lib_name_ref/> library. The 'top-level' namespaces (i.e. not nested) can be registered with the <feat_ref>REG_NAMESPACE_TOP_LEVEL</feat_ref> macro.
+ </paragraph>
+ </overview>
+ <macro name="REG_NAMESPACE">
+ <arg name="PARENT_NS_ALIAS">
+ <Lib_name_ref/> namespace alias of the parent namespace, that contains the registered namespace.
+ The parent namespace has to be registered with <lib_name_ref/> before any nested namespaces are registered.
+ </arg>
+ <arg name="NAMESPACE_NAME">
+ The name of the registered namespace. The argument must be a valid namespace identifier.
+ </arg>
+ </macro>
+ <overview>
+ <paragraph>
+ The alias for the registered namespace is defined as <cpp_expr>PARENT_NS_ALIAS##_##NAMESPACE_NAME</cpp_expr>.
+ </paragraph>
+ </overview>
+ <requirements>
+ <header>meta_namespace.hpp</header>
+ </requirements>
+ <example>
+ <cpp_source>
+ <cpp_line>namespace foo {</cpp_line><cpp_indent>
+ <cpp_line>namespace bar {</cpp_line><cpp_indent>
+ <cpp_line>namespace detail {</cpp_line><cpp_indent>
+ </cpp_indent><cpp_line>} <cpp_comment>// namespace detail</cpp_comment></cpp_line>
+ </cpp_indent><cpp_line>} <cpp_comment>// namespace bar</cpp_comment></cpp_line>
+ </cpp_indent><cpp_line>} <cpp_comment>// namespace foo</cpp_comment></cpp_line>
+ <cpp_line/>
+ <cpp_line><cpp_comment>// register the top-level namespace foo </cpp_comment></cpp_line>
+ <cpp_line><feat_ref>REG_NAMESPACE_TOP_LEVEL</feat_ref>(foo)</cpp_line>
+ <cpp_line/>
+ <cpp_line><cpp_comment>// register nested namespace bar </cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// in the scope of _foo (::foo).</cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// this creates a _foo_bar alias </cpp_comment></cpp_line>
+ <cpp_line><feat_ref>REG_NAMESPACE</feat_ref>(_foo, bar)</cpp_line>
+ <cpp_line><cpp_comment>// register nested namespace detail </cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// in the scope of _foo_bar (::foo::bar).</cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// this creates a _foo_bar_detail alias </cpp_comment></cpp_line>
+ <cpp_line><feat_ref>REG_NAMESPACE</feat_ref>(_foo_bar, detail)</cpp_line>
+ </cpp_source>
+ </example>
+</feature_doc>
+

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/reference/REG_NAMESPACE_TOP_LEVEL.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/reference/REG_NAMESPACE_TOP_LEVEL.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feature_doc>
+ <overview>
+ <paragraph>
+ The <feat_ref>REG_NAMESPACE</feat_ref> macro registers a top-level namespace with the <lib_name_ref/> library. Nested namespaces are registered with the <feat_ref>REG_NAMESPACE_TOP_LEVEL</feat_ref> macro.
+ </paragraph>
+ </overview>
+ <macro name="REG_NAMESPACE_TOP_LEVEL">
+ <arg name="NAMESPACE_NAME">
+ The name of the top-level namespace being registered. The argument must be a valid namespace identifier.
+ </arg>
+ </macro>
+ <overview>
+ <paragraph>
+ The namespace alias for the registered namespace is defined by this macro as <cpp_expr>_##NAMESPACE_NAME</cpp_expr>.
+ </paragraph>
+ </overview>
+ <requirements>
+ <header>meta_namespace.hpp</header>
+ </requirements>
+ <example>
+ <cpp_source>
+ <cpp_line>namespace foo {</cpp_line>
+ <cpp_line>} <cpp_comment>// namespace foo</cpp_comment></cpp_line>
+ <cpp_line/>
+ <cpp_line><cpp_comment>// register top-level namespace foo.</cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// this creates a _foo namespace alias </cpp_comment></cpp_line>
+ <cpp_line><feat_ref>REG_NAMESPACE_TOP_LEVEL</feat_ref>(foo)</cpp_line>
+ </cpp_source>
+ </example>
+</feature_doc>
+

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feature_doc>
+ <overview>
+ <paragraph>
+ The <feat_ref>_</feat_ref> namespace alias can be used to refer to the global scope namespace in macros or templates that are expecting a namespace alias as argument.
+ </paragraph>
+ </overview>
+ <other name="_" description="Namespace alias for the global scope"/>
+ <overview>
+ </overview>
+ <requirements>
+ <header>meta_namespace.hpp</header>
+ </requirements>
+ <example>
+ <cpp_source>
+ <cpp_line><cpp_comment>// reflects_global_scope is true_type if the meta_namespace</cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// reflects the global scope (referred to by the _ alias)</cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// or is false_type otherwise.</cpp_comment></cpp_line>
+ <cpp_line>reflects_global_scope&lt; </cpp_line><cpp_indent>
+ <cpp_line><feat_ref>REFLECT_NAMESPACE</feat_ref>(_) </cpp_line>
+ </cpp_indent><cpp_line>&gt; :: value </cpp_line>
+ </cpp_source>
+ </example>
+</feature_doc>
+

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_boost.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_boost.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feature_doc>
+ <overview>
+ <paragraph>
+ The <feat_ref>_boost</feat_ref> namespace alias can be used to refer to the <cpp_expr>::boost</cpp_expr> namespace in macros or templates that are expecting a namespace alias as argument.
+ </paragraph>
+ </overview>
+ <other name="_boost" description="Namespace alias for the ::boost namespace"/>
+ <overview>
+ </overview>
+ <requirements>
+ <header>meta_namespace.hpp</header>
+ </requirements>
+ <example>
+ <cpp_source>
+ <cpp_line><cpp_preproc>#include&lt;boost/mpl/not.hpp&gt;</cpp_preproc></cpp_line>
+ <cpp_line/>
+ <cpp_line><cpp_comment>// reflects_global_scope is true_type if the meta_namespace</cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// reflects the global scope (referred to by the _ alias)</cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// or is false_type otherwise.</cpp_comment></cpp_line>
+ <cpp_line>mpl::not&lt;reflects_global_scope&lt; </cpp_line><cpp_indent>
+ <cpp_line><feat_ref>REFLECT_NAMESPACE</feat_ref>(_boost) </cpp_line>
+ </cpp_indent><cpp_line>&gt; &gt; :: value </cpp_line>
+ </cpp_source>
+ </example>
+</feature_doc>
+

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_boost_mirror.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_boost_mirror.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feature_doc>
+ <overview>
+ <paragraph>
+ The <feat_ref>_boost_mirror</feat_ref> namespace alias can be used to refer to the <cpp_expr>::boost::mirror</cpp_expr> namespace in macros or templates that are expecting a namespace alias as argument.
+ </paragraph>
+ </overview>
+ <other name="_boost_mirror" description="Namespace alias for the ::boost::mirror namespace"/>
+ <overview>
+ </overview>
+ <requirements>
+ <header>meta_namespace.hpp</header>
+ </requirements>
+ <example>
+ <cpp_source>
+ <cpp_line/>
+ <cpp_line><cpp_preproc>// the ::boost::mirror is defined inside of ::boost</cpp_preproc></cpp_line>
+ <cpp_line>BOOST_STATIC_ASSERT(is_same&lt; </cpp_line><cpp_indent>
+ <cpp_line><feat_ref>REFLECT_NAMESPACE</feat_ref>(_boost_mirror) :: scope, </cpp_line>
+ <cpp_line><feat_ref>REFLECT_NAMESPACE</feat_ref>(_boost) </cpp_line>
+ </cpp_indent><cpp_line>&gt; :: value)</cpp_line>
+ </cpp_source>
+ </example>
+</feature_doc>
+

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_std.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/reference/_std.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feature_doc>
+ <overview>
+ <paragraph>
+ The <feat_ref>_std</feat_ref> namespace alias can be used to refer to the <cpp_expr>::std</cpp_expr> namespace in macros or templates that are expecting a namespace alias as argument.
+ </paragraph>
+ </overview>
+ <other name="_std" description="Namespace alias for the ::std namespace"/>
+ <overview>
+ </overview>
+ <requirements>
+ <header>meta_namespace.hpp</header>
+ </requirements>
+ <example>
+ <cpp_source>
+ <cpp_line><cpp_preproc>#include&lt;boost/mpl/not.hpp&gt;</cpp_preproc></cpp_line>
+ <cpp_line/>
+ <cpp_line><cpp_comment>// reflects_global_scope is true_type if the meta_namespace</cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// reflects the global scope (referred to by the _ alias)</cpp_comment></cpp_line>
+ <cpp_line><cpp_comment>// or is false_type otherwise.</cpp_comment></cpp_line>
+ <cpp_line>mpl::not&lt;reflects_global_scope&lt; </cpp_line><cpp_indent>
+ <cpp_line><feat_ref>REFLECT_NAMESPACE</feat_ref>(_std) </cpp_line>
+ </cpp_indent><cpp_line>&gt; &gt; :: value </cpp_line>
+ </cpp_source>
+ </example>
+</feature_doc>
+

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/sections/reference/ns_reg_by_default.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/sections/reference/ns_reg_by_default.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<section title="Namespaces registered by default" name="ns_reg_by_default">
+ <paragraph>
+ There are several namespaces that are registered by default by the <lib_name_ref/> library and have defined namespace aliases.
+ </paragraph>
+ <include reference="_"/>
+ <include reference="_std"/>
+ <include reference="_boost"/>
+ <include reference="_boost_mirror"/>
+</section>

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/sections/reference/refl_namespaces.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/sections/reference/refl_namespaces.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<section title="Reflecting namespaces" name="refl_namespaces">
+ <paragraph>
+ Namespaces are reflected with the <feat_ref>REFLECT_NAMESPACE</feat_ref> macro.
+ </paragraph>
+ <include reference="REFLECT_NAMESPACE"/>
+</section>

Added: sandbox/mirror/libs/mirror/doc/xml/mirror/sections/reference/reg_namespaces.xml
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/sections/reference/reg_namespaces.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<section title="Registering namespaces" name="reg_namespaces">
+ <paragraph>
+ Namespaces are registered with the <feat_ref>REG_NAMESPACE_TOP_LEVEL</feat_ref> and <feat_ref>REG_NAMESPACE</feat_ref> macros.
+ </paragraph>
+ <paragraph>
+ Registered namespaces can be reflected with <lib_name_ref/> and used for example when registering other namespaces or types. The macros create a namespace alias for the new registered namespace. This alias can be used to refer to the namespace in subsequent expressions.
+ </paragraph>
+ <paragraph>
+ The alias has generally the form of <cpp_expr>_toplevel_nested_detail</cpp_expr> for a <cpp_expr>::toplevel::nested::detail</cpp_expr> namespace.
+ The predefined alias for the global scope namespace is <feat_ref>_</feat_ref> (a single underscore).
+ Besides this, several other namespaces, like <cpp_expr>::std</cpp_expr> with the <cpp_expr>_std</cpp_expr> alias, or the <cpp_expr>::boost</cpp_expr> namespace with the <cpp_expr>_boost</cpp_expr> alias, are registered by default.
+ </paragraph>
+ <include reference="REG_NAMESPACE_TOP_LEVEL"/>
+ <include reference="REG_NAMESPACE"/>
+</section>

Modified: sandbox/mirror/libs/mirror/doc/xml/mirror/sections/toc_brief.xml
==============================================================================
--- sandbox/mirror/libs/mirror/doc/xml/mirror/sections/toc_brief.xml (original)
+++ sandbox/mirror/libs/mirror/doc/xml/mirror/sections/toc_brief.xml 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -3,5 +3,6 @@
         <link_set>
                 <link page="index"/>
                 <link page="quick_start"/>
+ <link page="full_reference"/>
         </link_set>
 </section>

Modified: sandbox/mirror/libs/mirror/doc/xml/xslt/html.xsl
==============================================================================
--- sandbox/mirror/libs/mirror/doc/xml/xslt/html.xsl (original)
+++ sandbox/mirror/libs/mirror/doc/xml/xslt/html.xsl 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -10,6 +10,7 @@
         <xsl:include href="&docroot;/note.xsl"/>
         <xsl:include href="&docroot;/items.xsl"/>
         <xsl:include href="&docroot;/links.xsl"/>
+ <xsl:include href="&docroot;/feature_ref.xsl"/>
         <!-- font style-related -->
         <xsl:include href="&docroot;/emph.xsl"/>
         <xsl:include href="&docroot;/cpp_expr.xsl"/>

Modified: sandbox/mirror/libs/mirror/doc/xml/xslt/html/cpp_expr.xsl
==============================================================================
--- sandbox/mirror/libs/mirror/doc/xml/xslt/html/cpp_expr.xsl (original)
+++ sandbox/mirror/libs/mirror/doc/xml/xslt/html/cpp_expr.xsl 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -8,4 +8,44 @@
                         <xsl:apply-templates/>
                 </CODE>
         </xsl:template>
+ <!--
+ - template for a multi-line source code
+ -->
+ <xsl:template match="cpp_source">
+ <P>
+ <CODE class="cpp-source">
+ <xsl:apply-templates/>
+ </CODE>
+ </P>
+ </xsl:template>
+ <!--
+ - template for a single line of cpp code
+ -->
+ <xsl:template match="cpp_line">
+ <xsl:apply-templates/><BR/>
+ </xsl:template>
+ <!--
+ - template for comment in cpp source
+ -->
+ <xsl:template match="cpp_comment">
+ <SPAN class="cpp-comment">
+ <EM><xsl:apply-templates/></EM>
+ </SPAN>
+ </xsl:template>
+ <!--
+ - template for a preprocessor expression
+ -->
+ <xsl:template match="cpp_preproc">
+ <SPAN class="cpp-preproc">
+ <xsl:apply-templates/>
+ </SPAN>
+ </xsl:template>
+ <!--
+ - template for a cpp_indentation
+ -->
+ <xsl:template match="cpp_indent">
+ <DIV class="cpp-indent">
+ <xsl:apply-templates/>
+ </DIV>
+ </xsl:template>
 </xsl:stylesheet>

Added: sandbox/mirror/libs/mirror/doc/xml/xslt/html/feature_ref.xsl
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/xml/xslt/html/feature_ref.xsl 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:param name="macro_prefix">
+ <xsl:text>BOOST_MIRROR_</xsl:text>
+ </xsl:param>
+ <!--
+ - template for the feature reference
+ -->
+ <xsl:template match="feature_doc">
+ <H4 class="feature-doc">
+ <xsl:choose>
+ <xsl:when test="macro">
+ <xsl:value-of select="$macro_prefix"/>
+ <xsl:value-of select="macro/@name"/>
+ <xsl:text> macro</xsl:text>
+ </xsl:when>
+ <xsl:when test="other">
+ <xsl:value-of select="other/@name"/>
+ <xsl:text> - </xsl:text>
+ <xsl:value-of select="other/@description"/>
+ </xsl:when>
+ </xsl:choose>
+ </H4>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <!--
+ - template for the macro definition/description formatting
+ -->
+ <xsl:template match="macro">
+ <H5>Synopsis</H5>
+ <DIV class="feature-synopsis">
+ <CODE>
+ <xsl:value-of select="$macro_prefix"/>
+ <xsl:value-of select="@name"/>
+ <xsl:text>(</xsl:text>
+ <xsl:for-each select="arg">
+ <xsl:value-of select="@name"/>
+ <xsl:if test="position() != last()">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:text>)</xsl:text>
+ </CODE>
+ </DIV>
+ <DL>
+ <xsl:for-each select="arg">
+ <DT><CODE><xsl:value-of select="@name"/></CODE></DT>
+ <DD><xsl:apply-templates/></DD>
+ </xsl:for-each>
+ </DL>
+ </xsl:template>
+ <!--
+ - template for the requirements
+ -->
+ <xsl:template match="requirements">
+ <H5><xsl:text>Required headers:</xsl:text></H5>
+ <xsl:for-each select="header">
+ <CODE><SPAN class="cpp-preproc">
+ <xsl:text>#include &lt;boost/mirror/</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>&gt;</xsl:text>
+ </SPAN></CODE>
+ </xsl:for-each>
+ </xsl:template>
+ <!--
+ - example
+ -->
+ <xsl:template match="example">
+ <H5><xsl:text>Example:</xsl:text></H5>
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <!--
+ - reference to a feature
+ -->
+ <xsl:template match="feat_ref">
+ <xsl:variable name="doc_url">
+ <xsl:text>../reference/</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>.xml</xsl:text>
+ </xsl:variable>
+ <SPAN class="feature-ref">
+ <xsl:choose>
+ <xsl:when test="document($doc_url)/feature_doc/macro">
+ <xsl:value-of select="$macro_prefix"/>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:value-of select="."/>
+ </SPAN>
+ </xsl:template>
+</xsl:stylesheet>

Modified: sandbox/mirror/libs/mirror/doc/xml/xslt/html/include.xsl
==============================================================================
--- sandbox/mirror/libs/mirror/doc/xml/xslt/html/include.xsl (original)
+++ sandbox/mirror/libs/mirror/doc/xml/xslt/html/include.xsl 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -12,12 +12,24 @@
                                         <xsl:value-of select="@section"/>
                                         <xsl:text>.xml</xsl:text>
                                 </xsl:when>
+ <xsl:when test="@reference_section">
+ <xsl:text>../sections/reference/</xsl:text>
+ <xsl:value-of select="@reference_section"/>
+ <xsl:text>.xml</xsl:text>
+ </xsl:when>
+ <xsl:when test="@reference">
+ <xsl:text>../reference/</xsl:text>
+ <xsl:value-of select="@reference"/>
+ <xsl:text>.xml</xsl:text>
+ </xsl:when>
                                 <xsl:when test="@url">
                                         <xsl:value-of select="@url"/>
                                 </xsl:when>
                         </xsl:choose>
                 </xsl:variable>
- <!-- now open the document and apply templates to its nodes -->
- <xsl:apply-templates select="document($doc_url)"/>
+ <xsl:if test="$doc_url">
+ <!-- now open the document and apply templates to its nodes -->
+ <xsl:apply-templates select="document($doc_url)"/>
+ </xsl:if>
         </xsl:template>
 </xsl:stylesheet>

Modified: sandbox/mirror/libs/mirror/doc/xml/xslt/html/lib_refs.xsl
==============================================================================
--- sandbox/mirror/libs/mirror/doc/xml/xslt/html/lib_refs.xsl (original)
+++ sandbox/mirror/libs/mirror/doc/xml/xslt/html/lib_refs.xsl 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -10,4 +10,10 @@
                         <xsl:value-of select="document($lib_info_url)/library/name"/>
                 </EM>
         </xsl:template>
+ <xsl:template match="Lib_name_ref">
+ <EM>
+ <xsl:variable name="lib_info_url">../_library.xml</xsl:variable>
+ <xsl:value-of select="document($lib_info_url)/library/Name"/>
+ </EM>
+ </xsl:template>
 </xsl:stylesheet>

Modified: sandbox/mirror/libs/mirror/example/registering/classes.cpp
==============================================================================
--- sandbox/mirror/libs/mirror/example/registering/classes.cpp (original)
+++ sandbox/mirror/libs/mirror/example/registering/classes.cpp 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -118,22 +118,22 @@
 
 /** Register the namespaces
  */
-BOOST_MIRROR_REG_META_NAMESPACE_TOP_LEVEL(test)
-BOOST_MIRROR_REG_META_NAMESPACE(_test, feature)
-BOOST_MIRROR_REG_META_NAMESPACE(_test_feature, detail)
-BOOST_MIRROR_REG_META_NAMESPACE(_test, stuff)
-BOOST_MIRROR_REG_META_NAMESPACE(_test_stuff, detail)
+BOOST_MIRROR_REG_NAMESPACE_TOP_LEVEL(test)
+BOOST_MIRROR_REG_NAMESPACE(_test, feature)
+BOOST_MIRROR_REG_NAMESPACE(_test_feature, detail)
+BOOST_MIRROR_REG_NAMESPACE(_test, stuff)
+BOOST_MIRROR_REG_NAMESPACE(_test_stuff, detail)
 //
 /** Register the types
  */
-BOOST_MIRROR_REG_META_TYPE(_test_feature_detail, ::test::feature::detail, foo_base)
-BOOST_MIRROR_REG_META_TYPE(_test_feature_detail, ::test::feature::detail, foo_base2)
-BOOST_MIRROR_REG_META_TYPE(_test_feature_detail, ::test::feature::detail, foo_base3)
-BOOST_MIRROR_REG_META_TYPE(_test_feature_detail, ::test::feature::detail, foo)
-BOOST_MIRROR_REG_META_TYPE(_test_stuff_detail, ::test::stuff::detail, bar_base)
-BOOST_MIRROR_REG_META_TYPE(_test_stuff_detail, ::test::stuff::detail, bar)
+BOOST_MIRROR_REG_TYPE(_test_feature_detail, ::test::feature::detail, foo_base)
+BOOST_MIRROR_REG_TYPE(_test_feature_detail, ::test::feature::detail, foo_base2)
+BOOST_MIRROR_REG_TYPE(_test_feature_detail, ::test::feature::detail, foo_base3)
+BOOST_MIRROR_REG_TYPE(_test_feature_detail, ::test::feature::detail, foo)
+BOOST_MIRROR_REG_TYPE(_test_stuff_detail, ::test::stuff::detail, bar_base)
+BOOST_MIRROR_REG_TYPE(_test_stuff_detail, ::test::stuff::detail, bar)
 // register the embedded type that is declared inside of the bar class
-BOOST_MIRROR_REG_META_TYPE_EMBEDDED(::test::stuff::detail::bar, bar_part)
+BOOST_MIRROR_REG_TYPE_EMBEDDED(::test::stuff::detail::bar, bar_part)
 
 
 /** Register the base classes of foo

Modified: sandbox/mirror/libs/mirror/example/registering/namespaces.cpp
==============================================================================
--- sandbox/mirror/libs/mirror/example/registering/namespaces.cpp (original)
+++ sandbox/mirror/libs/mirror/example/registering/namespaces.cpp 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -40,15 +40,15 @@
 // register the namespaces
 //
 // the namespace 'test' in the global scope
-BOOST_MIRROR_REG_META_NAMESPACE_TOP_LEVEL(test)
+BOOST_MIRROR_REG_NAMESPACE_TOP_LEVEL(test)
 // namespace feature in namespace ::test
 // the _test is a "namespace alias" for namespace ::test
 // _ is the namespace alias for the global scope
-BOOST_MIRROR_REG_META_NAMESPACE(_test, feature)
-BOOST_MIRROR_REG_META_NAMESPACE(_test_feature, detail)
+BOOST_MIRROR_REG_NAMESPACE(_test, feature)
+BOOST_MIRROR_REG_NAMESPACE(_test_feature, detail)
 //
-BOOST_MIRROR_REG_META_NAMESPACE(_test, stuff)
-BOOST_MIRROR_REG_META_NAMESPACE(_test_stuff, detail)
+BOOST_MIRROR_REG_NAMESPACE(_test, stuff)
+BOOST_MIRROR_REG_NAMESPACE(_test_stuff, detail)
 
 } // namespace mirror
 } // namespace boost

Modified: sandbox/mirror/libs/mirror/example/registering/types.cpp
==============================================================================
--- sandbox/mirror/libs/mirror/example/registering/types.cpp (original)
+++ sandbox/mirror/libs/mirror/example/registering/types.cpp 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -44,16 +44,16 @@
 // NOTE: if You are not familiar with namespace registration and usage
 // see the examples/registering/namespaces.cpp source file
 //
-BOOST_MIRROR_REG_META_NAMESPACE_TOP_LEVEL(test)
-BOOST_MIRROR_REG_META_NAMESPACE(_test, feature)
-BOOST_MIRROR_REG_META_NAMESPACE(_test_feature, detail)
+BOOST_MIRROR_REG_NAMESPACE_TOP_LEVEL(test)
+BOOST_MIRROR_REG_NAMESPACE(_test, feature)
+BOOST_MIRROR_REG_NAMESPACE(_test_feature, detail)
 //
 // register the types
-BOOST_MIRROR_REG_META_TYPE(_test_feature_detail, ::test::feature::detail, foo)
-BOOST_MIRROR_REG_META_TYPE(_test_feature_detail, ::test::feature::detail, bar)
+BOOST_MIRROR_REG_TYPE(_test_feature_detail, ::test::feature::detail, foo)
+BOOST_MIRROR_REG_TYPE(_test_feature_detail, ::test::feature::detail, bar)
 // register a typedef'd class this allows to distinguish it from
 // the 'source' type in some situations
-BOOST_MIRROR_REG_META_TYPEDEFD(_test_feature_detail, ::test::feature::detail, foobar)
+BOOST_MIRROR_REG_TYPEDEFD(_test_feature_detail, ::test::feature::detail, foobar)
 
 } // namespace mirror
 } // namespace boost

Modified: sandbox/mirror/libs/mirror/example/registering/virtual_bases.cpp
==============================================================================
--- sandbox/mirror/libs/mirror/example/registering/virtual_bases.cpp (original)
+++ sandbox/mirror/libs/mirror/example/registering/virtual_bases.cpp 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -87,18 +87,18 @@
 
 /** Register the Test namespace
  */
-BOOST_MIRROR_REG_META_NAMESPACE_TOP_LEVEL(Test)
+BOOST_MIRROR_REG_NAMESPACE_TOP_LEVEL(Test)
 
 /** Register the types and classes
  */
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, A)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, B)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, C)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, D)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, E)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, F)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, G)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, H)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, A)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, B)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, C)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, D)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, E)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, F)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, G)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, H)
 
 
 BOOST_MIRROR_REG_BASE_CLASSES_BEGIN(::Test::B)

Modified: sandbox/mirror/libs/mirror/example/serialization/cube.cpp
==============================================================================
--- sandbox/mirror/libs/mirror/example/serialization/cube.cpp (original)
+++ sandbox/mirror/libs/mirror/example/serialization/cube.cpp 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -163,13 +163,13 @@
 
 /** Register the Graphics namespace
  */
-BOOST_MIRROR_REG_META_NAMESPACE_TOP_LEVEL(Graphics)
+BOOST_MIRROR_REG_NAMESPACE_TOP_LEVEL(Graphics)
 
 /** Register the types and classes
  */
-BOOST_MIRROR_REG_META_TYPE(_Graphics, ::Graphics, Coords)
-BOOST_MIRROR_REG_META_TYPE(_Graphics, ::Graphics, Vector)
-BOOST_MIRROR_REG_META_TYPE(_Graphics, ::Graphics, Cube)
+BOOST_MIRROR_REG_TYPE(_Graphics, ::Graphics, Coords)
+BOOST_MIRROR_REG_TYPE(_Graphics, ::Graphics, Vector)
+BOOST_MIRROR_REG_TYPE(_Graphics, ::Graphics, Cube)
 
 
 BOOST_MIRROR_REG_SINGLE_BASE_CLASS(

Modified: sandbox/mirror/libs/mirror/example/traversal/sample_visitor.cpp
==============================================================================
--- sandbox/mirror/libs/mirror/example/traversal/sample_visitor.cpp (original)
+++ sandbox/mirror/libs/mirror/example/traversal/sample_visitor.cpp 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -79,18 +79,18 @@
 
 /** Register the Test namespace
  */
-BOOST_MIRROR_REG_META_NAMESPACE_TOP_LEVEL(Test)
+BOOST_MIRROR_REG_NAMESPACE_TOP_LEVEL(Test)
 
 /** Register the types and classes
  */
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, A)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, B)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, C)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, D)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, E)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, F)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, G)
-BOOST_MIRROR_REG_META_TYPE(_Test, ::Test, H)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, A)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, B)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, C)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, D)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, E)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, F)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, G)
+BOOST_MIRROR_REG_TYPE(_Test, ::Test, H)
 
 
 BOOST_MIRROR_REG_BASE_CLASSES_BEGIN(::Test::B)

Modified: sandbox/mirror/libs/mirror/test/namespaces.hpp
==============================================================================
--- sandbox/mirror/libs/mirror/test/namespaces.hpp (original)
+++ sandbox/mirror/libs/mirror/test/namespaces.hpp 2008-05-05 12:24:17 EDT (Mon, 05 May 2008)
@@ -35,13 +35,13 @@
 
 // register the namespaces
 //
-BOOST_MIRROR_REG_META_NAMESPACE_TOP_LEVEL(test)
+BOOST_MIRROR_REG_NAMESPACE_TOP_LEVEL(test)
 //
-BOOST_MIRROR_REG_META_NAMESPACE(_test, feature)
-BOOST_MIRROR_REG_META_NAMESPACE(_test_feature, detail)
+BOOST_MIRROR_REG_NAMESPACE(_test, feature)
+BOOST_MIRROR_REG_NAMESPACE(_test_feature, detail)
 //
-BOOST_MIRROR_REG_META_NAMESPACE(_test, stuff)
-BOOST_MIRROR_REG_META_NAMESPACE(_test_stuff, detail)
+BOOST_MIRROR_REG_NAMESPACE(_test, stuff)
+BOOST_MIRROR_REG_NAMESPACE(_test_stuff, detail)
 
 } // namespace mirror
 } // namespace boost


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