|
Boost-Commit : |
From: chochlik_at_[hidden]
Date: 2008-07-11 13:11:15
Author: matus.chochlik
Date: 2008-07-11 13:11:14 EDT (Fri, 11 Jul 2008)
New Revision: 47316
URL: http://svn.boost.org/trac/boost/changeset/47316
Log:
- Cleaned up the registering/classes.cpp example
- Moved the documentation into the old subfolder
- Started boostbook documentation
Added:
sandbox/mirror/libs/mirror/doc/Jamfile.v2 (contents, props changed)
sandbox/mirror/libs/mirror/doc/mirror.xml (contents, props changed)
sandbox/mirror/libs/mirror/doc/old/
sandbox/mirror/libs/mirror/doc/old/html/
- copied from r47274, /sandbox/mirror/libs/mirror/doc/html/
sandbox/mirror/libs/mirror/doc/old/html/index.html
- copied unchanged from r47314, /sandbox/mirror/libs/mirror/doc/html/index.html
sandbox/mirror/libs/mirror/doc/old/xml/
- copied from r47274, /sandbox/mirror/libs/mirror/doc/xml/
sandbox/mirror/libs/mirror/doc/old/xml/css/
- copied from r47314, /sandbox/mirror/libs/mirror/doc/xml/css/
sandbox/mirror/libs/mirror/doc/old/xml/mirror/
- copied from r47314, /sandbox/mirror/libs/mirror/doc/xml/mirror/
sandbox/mirror/libs/mirror/doc/old/xml/xslt/
- copied from r47314, /sandbox/mirror/libs/mirror/doc/xml/xslt/
Removed:
sandbox/mirror/libs/mirror/doc/html/
sandbox/mirror/libs/mirror/doc/xml/
Text files modified:
sandbox/mirror/boost/mirror/detail/meta_attribs_base.hpp | 26 --------------------------
sandbox/mirror/libs/mirror/example/registering/classes.cpp | 2 +-
2 files changed, 1 insertions(+), 27 deletions(-)
Modified: sandbox/mirror/boost/mirror/detail/meta_attribs_base.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/detail/meta_attribs_base.hpp (original)
+++ sandbox/mirror/boost/mirror/detail/meta_attribs_base.hpp 2008-07-11 13:11:14 EDT (Fri, 11 Jul 2008)
@@ -485,32 +485,6 @@
BOOST_PP_EMPTY() \
)
-
-#ifdef NEVER_COMPILE_THIS
-
-
-
-
-/** This macro declares the meta-data for a single class' attribute outline
- */
-#define BOOST_MIRROR_REG_CLASS_ATTRIB_OUTLINE(NUMBER, TYPE, NAME) \
- BOOST_MIRROR_REG_CLASS_ATTRIB_PROLOGUE(NUMBER, TYPE, NAME) \
- BOOST_MIRROR_REG_CLASS_ATTRIB_DECL_SIMPLE_GET(NUMBER, TYPE, NAME) \
- BOOST_MIRROR_REG_CLASS_ATTRIB_DECL_SIMPLE_SET(NUMBER, TYPE, NAME) \
- BOOST_MIRROR_REG_CLASS_ATTRIB_EPILOGUE(NUMBER, TYPE, NAME, false)
-
-/** This macro declares the meta-data for a single templates attribute
- */
-#define BOOST_MIRROR_REG_TEMPLATE_ATTRIB_OUTLINE(NUMBER, TYPE, NAME) \
- BOOST_MIRROR_REG_CLASS_ATTRIB_PROLOGUE(NUMBER, TYPE, NAME) \
- BOOST_MIRROR_REG_TEMPLATE_ATTRIB_DECL_SIMPLE_GET(NUMBER, TYPE, NAME) \
- BOOST_MIRROR_REG_TEMPLATE_ATTRIB_DECL_SIMPLE_SET(NUMBER, TYPE, NAME) \
- BOOST_MIRROR_DECLARE_ATTRIB_OUTLINE(NUMBER, TYPE, NAME) \
- BOOST_MIRROR_REG_TEMPLATE_ATTRIB_EPILOGUE(NUMBER, TYPE, NAME, false)
-
-
-#endif // NEVER_COMPILE_THIS
-
} // namespace mirror
} // namespace boost
Added: sandbox/mirror/libs/mirror/doc/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/Jamfile.v2 2008-07-11 13:11:14 EDT (Fri, 11 Jul 2008)
@@ -0,0 +1,13 @@
+# Copyright (c) 2008 Matus Chochlik <chochlik -at- gmail.com>
+
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+project mirror/doc
+ ;
+
+import boostbook : boostbook ;
+
+boostbook mirror-doc: mirror.xml ;
+
Added: sandbox/mirror/libs/mirror/doc/mirror.xml
Modified: sandbox/mirror/libs/mirror/example/registering/classes.cpp
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
==============================================================================
--- (empty file)
+++ sandbox/mirror/libs/mirror/doc/mirror.xml 2008-07-11 13:11:14 EDT (Fri, 11 Jul 2008)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
+ "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<library name="Mirror" dirname="mirror" id="mirror"
+ last-revision="$Date: 2008-07-11 18:56:30 CEST $"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+<libraryinfo>
+ <author>
+ <firstname>Matúš</firstname>
+ <surname>ChochlÃk</surname>
+ <email>chochlik -at- gmail.com</email>
+ </author>
+
+ <copyright>
+ <year>2008</year>
+ <holder>Matúš ChochlÃk</holder>
+ </copyright>
+
+ <legalnotice>
+ <para>Use, modification and distribution is subject to the Boost
+ Software License, Version 1.0. (See accompanying file
+ <filename>LICENSE_1_0.txt</filename> or copy at <ulink
+ url="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt>)
+ </para>
+ </legalnotice>
+
+ <librarypurpose>Compile-time reflection library</librarypurpose>
+ <librarycategory name="category:higher-order"/>
+</libraryinfo>
+
+<title>Mirror</title>
+
+<section id="mirror.intro">
+<title>Introduction</title>
+<para>
+ Blah
+</para>
+
+</library>
==============================================================================
--- sandbox/mirror/libs/mirror/example/registering/classes.cpp (original)
+++ sandbox/mirror/libs/mirror/example/registering/classes.cpp 2008-07-11 13:11:14 EDT (Fri, 11 Jul 2008)
@@ -330,7 +330,7 @@
// if the scope is the global scope
if(reflects_global_scope<meta_scope>::value)
s << "on the global scope";
- // if it's a class
+ // if it is a class
else if(reflects_class<meta_scope>::value)
s << "inside of the '" << meta_scope::full_name() << "' class";
// otherwise