Boost logo

Boost-Commit :

From: srajko_at_[hidden]
Date: 2007-05-21 17:14:17


Author: srajko
Date: 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
New Revision: 4158
URL: http://svn.boost.org/trac/boost/changeset/4158

Log:
add sandbox_template

Added:
   sandbox/template_under_construction/
   sandbox/template_under_construction/_library_/
   sandbox/template_under_construction/_library_/Jamfile.v2
   sandbox/template_under_construction/_library_/LICENSE_1_0.txt
   sandbox/template_under_construction/_library_/boost/
   sandbox/template_under_construction/_library_/boost-build.jam
   sandbox/template_under_construction/_library_/boost/_library_/
   sandbox/template_under_construction/_library_/boost/_library_.hpp
   sandbox/template_under_construction/_library_/boost/_library_/_library_.hpp
   sandbox/template_under_construction/_library_/libs/
   sandbox/template_under_construction/_library_/libs/_library_/
   sandbox/template_under_construction/_library_/libs/_library_/build/
   sandbox/template_under_construction/_library_/libs/_library_/doc/
   sandbox/template_under_construction/_library_/libs/_library_/doc/Jamfile.v2
   sandbox/template_under_construction/_library_/libs/_library_/doc/_library_.qbk
   sandbox/template_under_construction/_library_/libs/_library_/doc/dox/
   sandbox/template_under_construction/_library_/libs/_library_/doc/dox/_library_.hpp
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/boostbook.css
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/boostbook_doxygen.css
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/Thumbs.db (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/blank.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/caution.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/draft.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/home.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/important.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/next.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/note.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/prev.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/tip.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/toc-blank.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/toc-minus.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/toc-plus.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/up.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/warning.png (contents, props changed)
   sandbox/template_under_construction/_library_/libs/_library_/doc/html/reference.css
   sandbox/template_under_construction/_library_/libs/_library_/example/
   sandbox/template_under_construction/_library_/libs/_library_/example/Jamfile.v2
   sandbox/template_under_construction/_library_/libs/_library_/example/example.cpp
   sandbox/template_under_construction/_library_/libs/_library_/src/
   sandbox/template_under_construction/_library_/libs/_library_/test/
   sandbox/template_under_construction/_library_/libs/_library_/test/Jamfile.v2
   sandbox/template_under_construction/_library_/libs/_library_/test/test.cpp
   sandbox/template_under_construction/_library_/libs/_library_/vc8ide/
   sandbox/template_under_construction/_library_/libs/_library_/vc8ide/_library_.sln
   sandbox/template_under_construction/_library_/libs/_library_/vc8ide/build.vcproj
   sandbox/template_under_construction/_library_/libs/_library_/vc8ide/doc.vcproj
   sandbox/template_under_construction/_library_/libs/_library_/vc8ide/example.vcproj
   sandbox/template_under_construction/_library_/libs/_library_/vc8ide/test.vcproj
   sandbox/template_under_construction/_library_/libs/_library_/xcodeide/
   sandbox/template_under_construction/_library_/project-root.jam
   sandbox/template_under_construction/make_template.py

Added: sandbox/template_under_construction/_library_/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/Jamfile.v2 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,12 @@
+# Copyright 2007 Stjepan Rajko.
+# 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)
+
+use-project boost
+ : $(BOOST_ROOT)
+ ;
+
+project rpc
+ : build-dir bin.v2
+ ;

Added: sandbox/template_under_construction/_library_/LICENSE_1_0.txt
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/LICENSE_1_0.txt 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,23 @@
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.

Added: sandbox/template_under_construction/_library_/boost-build.jam
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/boost-build.jam 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,7 @@
+_python_copyright_
+
+# Set the BOOST_ROOT environment variable on your command-line or in the
+# environment to point at the root of your regular Boost installation.
+
+JAMFILE = [Jj]amfile.v2 ;
+boost-build $(BOOST_ROOT)/tools/build/v2 ;

Added: sandbox/template_under_construction/_library_/boost/_library_.hpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/boost/_library_.hpp 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,9 @@
+_cpp_copyright_
+
+#ifndef BOOST__LIBRARY__HPP
+#define BOOST__LIBRARY__HPP
+
+#include <boost/_library_/_library_.hpp>
+
+#endif // BOOST__LIBRARY___HPP
+

Added: sandbox/template_under_construction/_library_/boost/_library_/_library_.hpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/boost/_library_/_library_.hpp 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,78 @@
+_cpp_copyright_
+
+#ifndef BOOST__LIBRARY___LIBRARY__HPP
+#define BOOST__LIBRARY___LIBRARY__HPP
+
+namespace boost {
+namespace _library_ {
+
+/// The _library_ class does nothing.
+/** \ingroup group_nothing
+ \param T The type on which _library_ does nothing.
+ \warning This class does nothing.
+ \todo Make this class do something.
+ \bug This class does do something.
+
+ Since _library_ does nothing, it is not very useful.
+*/
+template<typename T
+#ifndef DOXYGEN_DOCS_ONLY
+ , typename Enable=void // maybe documentation doesn't need to know about this.
+#endif
+>
+class _library_
+{
+public:
+ /// Default constructor.
+ /** This constructor actually does something. It sets the internal
+ counters to 0.
+ */
+ _library_() : nothing_count(0), call_count(0) {}
+
+ /// This function does nothing with the passed parameter.
+ void nothing(T t)
+ {
+ nothing_count++;
+ call_count++;
+ }
+
+ /// This function does nothing with the passed parameter a specified number of times.
+ /** \param n Number of times nothing is done.
+
+ This function is equivalent to calling nothing n times.
+ */
+ void nothing(T t, unsigned n)
+ {
+ call_count++;
+ for (unsigned i=0; i<n; i++)
+ nothing(t);
+ call_count-=n;
+ }
+
+ /// This function can be used to determine how many times nothing has been done.
+ /** \returns count of how many times nothing has been done.
+ */
+ int get_nothing_count()
+ {
+ return nothing_count;
+ }
+ /// This function can be used to determine how many calls have been made to the object.
+ /** \returns count of how many times a method of this object has been called by the user.
+ */
+ int get_call_count()
+ {
+ return call_count;
+ }
+protected:
+ /// The number of times this object did nothing.
+ int nothing_count;
+private:
+ // Number of times the member function was called.
+ int call_count;
+};
+
+} // namespace _library_
+} // namespace boost
+
+#endif // BOOST__LIBRARY___LIBRARY__HPP
+

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/doc/Jamfile.v2 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,38 @@
+_python_copyright_
+
+project boost/_library_/doc ;
+
+import boostbook : boostbook ;
+using quickbook ;
+
+local loc = [ path.native [ path.pwd ] ] ;
+local root = [ path.native [ path.join [ path.pwd ] ../../.. ] ] ;
+
+doxygen _library__doxygen
+ :
+ [ glob ../../../boost/_library_/*.hpp dox/*.hpp ]
+ :
+ <doxygen:param>EXAMPLE_PATH=../example
+ <doxygen:param>STRIP_FROM_PATH=$(root)
+ <doxygen:param>STRIP_FROM_INC_PATH=$(root)
+ <doxygen:param>EXTRACT_ALL=NO
+ <doxygen:param>HIDE_UNDOC_MEMBERS=NO
+ <doxygen:param>EXTRACT_PRIVATE=NO
+ <doxygen:param>DETAILS_AT_TOP=YES
+ <doxygen:param>GENERATE_HTML=YES
+ <doxygen:param>HTML_OUTPUT=$(loc)/html/doxygen
+ <doxygen:param>HTML_STYLESHEET=$(loc)/html/boostbook_doxygen.css
+ <doxygen:param>ENABLE_PREPROCESSING=YES
+ <doxygen:param>MACRO_EXPANSION=YES
+ <doxygen:param>SEARCH_INCLUDES=YES
+ <doxygen:param>INCLUDE_PATH=../../..
+ <doxygen:param>PREDEFINED=DOXYGEN_DOCS_ONLY
+ ;
+
+xml _library__xml : _library_.qbk ;
+
+boostbook standalone
+ :
+ _library__xml
+ _library__doxygen
+ ;

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/_library_.qbk
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/doc/_library_.qbk 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,156 @@
+[library _library_
+ [quickbook 1.4]
+ [version 0.1]
+ [authors _author_reversed_]
+ [copyright _year_ _author_]
+ [purpose Boost Sandbox Template]
+ [license
+ 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])
+ ]
+]
+
+[section:overview Overview]
+
+[warning _Library_ is in very early stages of development. At this point, it is likely
+NOT a good starting point for a boost sandbox project. The templates it generates have
+not been verified for adherence to Boost guidelines, and do some things that are
+inconsistent with current practices.]
+
+[section:introduction Introduction]
+
+_Library_ is template for Boost sandbox projects. Given some information about the project
+(e.g., library name and author), it will generate the following:
+* a directory tree for the library
+* commonly used source, documentation and build files
+* projects for several IDEs (currently MSVC, with Xcode in the works)
+
+The content in the generated project contains this documentation, which describes how
+to use the template, and an implementation of a [classref boost::_library_::_library_
+class which does nothing].
+
+[endsect]
+
+[section:start Getting Started]
+To use the project created by _library_ fully, you will need a few things.
+
+[important Some parts of _library_ will not work with versions of Boost other than CVS HEAD]
+First of all, you should familiarize yourself with Boost. A good starting point for this
+is [@http://www.boost.org/more/getting_started/index.html the getting started page].
+In particular, make sure you have installed a recent version of Boost, and have a working
+bjam executable.
+
+Second, you will need to download some additional tools to build the documentation.
+Instructions for this part can be found in the [@http://www.boost.org/doc/html/boostbook.html
+Boostbook documentation]. The projects generated by _library_ rely on xsltproc,
+DocBook XSL and DTD distributions, and Doxygen. _library_ does not currently use
+Apache FOP.
+
+Finally, you will need access to the sandbox in the
+[@http://svn.boost.org/trac/boost/wiki/BoostSubversion Boost subversion]. Follow
+the directions in the [@http://svn.boost.org/trac/boost/wiki/BoostSubversion Boost subversion wiki].
+
+Once you have all this in place, go to the template-under-construction folder of the sandbox.
+Run the make_template.py script, and follow the instructions. For example,
+the project used to build this documentation was created as follows:
+
+[python]
+
+ >>> import make_template
+ library name: (e.g., something_new): sandbox_template
+ library author[s]: (e.g., Yours Truly[,Yours D. NotTruly]): Stjepan Rajko
+
+Some other information that might come in handy as you start working on your project:
+
+* [@http://www.boost.org/more/lib_guide.htm#Directory_structure Boost library directory structure]
+* [@http://www.stack.nl/~dimitri/doxygen/commands.html Doxygen command reference]
+* [@http://www.boost-consulting.com/boost/tools/quickbook/doc/html/index.html Quickbook reference]
+
+[endsect]
+
+
+[section:bugs Known Bugs]
+Reversing of author names does not work for authors with specified middle initials.
+
+[endsect]
+
+[section:license License]
+
+_qbk_copyright_
+
+[endsect]
+
+[endsect]
+
+[section:doxygen Doxygen Documentation]
+When Doxygen documentation is used with Boostbook, as far as I can tell
+only certain elements of the Doxygen documentation (such as class and function reference) can
+be included into the main documentation. Other documentation generated by Doxygen (main and
+related pages, todo and bug lists, modules...) does not seem to be available. The rationale
+for this, AFAICR from a list discussion e-mail I can't find any more, is to make the generated
+documentation close to a C++ standard proposal (but I might be way off here).
+
+However, it is possible to have Doxygen create its own HTML output and [@../doxygen/index.html link]
+to it from the main documentation. While this will include everything Doxygen is configured
+to generate, please note that this is inconsistent with the documentation layouts of
+most recent Boost libraries.
+
+In any case, it is probaby unwise to include both the
+[@../doxygen/index.html verbatim generated Doxygen documentation] and the
+[link _library_.reference reference], which is what happens how. _Library_
+should provide some options / alternatives.
+
+[endsect]
+
+[section:editing Editing the Templates]
+
+The template script is currently a very simple file relocator / processor. It copies
+a template directory tree into a new location, renaming files where applicable
+and substituting the contents where specified.
+
+The following substitutions are defined on files of extensions '.hpp', '.cpp', '.v2', '.jam', '.qbk', '.vcproj', '.sln':
+[table Substitutions used by _library_
+ [[substitution template][substituted text]]
+ [[\_boost\_library\_][The full Boost.Library name of the library]]
+ [[\_library\_][The library name specified by the user]]
+ [[\_Library\_][Capitalized library name]]
+ [[\_LIBRARY\_][Uppercase library name]]
+ [[\_python\_copyright\_][Python-style commented copyright block]]
+ [[\_cpp\_copyright\_][C++-style commented copyright block]]
+ [[\_qbk\_copyright\_][Copyright block with quickbook-style link]]
+ [[\_author\_reversed\_][Bracketed list of authors, last name first]]
+ [[\_author\_][list of authors, as specified by the user]]
+ [[\_year\_][Current year]]
+ [[\_msvc\_build\_uuid\_][Randomly generated UUID for MSVC build project]]
+ [[\_msvc\_doc\_uuid\_][Randomly generated UUID for MSVC doc project]]
+ [[\_msvc\_example\_uuid\_][Randomly generated UUID for MSVC example project]]
+ [[\_msvc\_test\_uuid\_][Randomly generated UUID for MSVC test project]]
+ [[\_msvc\_build\_command\_][bjam build commands used in MSVC projects]]
+]
+
+[important The substitutions are applied exactly in the order specified, so
+substituted text can include substitution templates occuring later in the table
+(e.g., \_cpp\_copyright\_ expands into text which includes \_author\_). Also,
+it is likely a [*bad idea] to introduce a substitution template which is substring of a [*later]
+substitution template.]
+
+[endsect]
+
+[section:examples Documentation Examples]
+This section has some examples of what you can do with documentation. Refer to the source.
+
+[section:examples_inserting_code Inserting Code]
+
+Here is some code directly from an example:
+
+[c++]
+
+[import ../example/example.cpp]
+[_library__example]
+
+[endsect]
+
+[endsect]
+
+[xinclude _library__doxygen.xml]
\ No newline at end of file

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/dox/_library_.hpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/doc/dox/_library_.hpp 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,19 @@
+namespace boost {
+
+/** \mainpage
+
+This is generated by doxygen directly.
+
+It includes things such as a \ref page_related, modules/groups, automatically
+generated \ref todo and \ref bug.
+*/
+
+/** \page page_related Related Page
+This is a doxygen related page.
+*/
+
+/** \defgroup group_nothing Classes that do nothing.
+This group contains classes that do nothing.
+*/
+
+}
\ No newline at end of file

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/boostbook.css
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/doc/html/boostbook.css 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,538 @@
+/*=============================================================================
+ Copyright (c) 2004 Joel de Guzman
+ http://spirit.sourceforge.net/
+
+ Use, modification and distribution is subject to 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)
+=============================================================================*/
+
+/*=============================================================================
+ Body defaults
+=============================================================================*/
+
+ body
+ {
+ margin: 1em;
+ font-family: sans-serif;
+ }
+
+/*=============================================================================
+ Paragraphs
+=============================================================================*/
+
+ p
+ {
+ text-align: left;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+/*=============================================================================
+ Program listings
+=============================================================================*/
+
+ /* Code on paragraphs */
+ p tt.computeroutput
+ {
+ font-size: 10pt;
+ }
+
+ pre.synopsis
+ {
+ font-size: 10pt;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ .programlisting,
+ .screen
+ {
+ font-size: 10pt;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+/*=============================================================================
+ Headings
+=============================================================================*/
+
+ h1, h2, h3, h4, h5, h6
+ {
+ text-align: left;
+ margin: 1em 0em 0.5em 0em;
+ font-weight: bold;
+ }
+
+ h1 { font: 140% }
+ h2 { font: bold 140% }
+ h3 { font: bold 130% }
+ h4 { font: bold 120% }
+ h5 { font: italic 110% }
+ h6 { font: italic 100% }
+
+ /* Top page titles */
+ title,
+ h1.title,
+ h2.title
+ h3.title,
+ h4.title,
+ h5.title,
+ h6.title,
+ .refentrytitle
+ {
+ font-weight: bold;
+ margin-bottom: 1pc;
+ }
+
+ h1.title { font-size: 140% }
+ h2.title { font-size: 140% }
+ h3.title { font-size: 130% }
+ h4.title { font-size: 120% }
+ h5.title { font-size: 110% }
+ h6.title { font-size: 100% }
+
+ .section h1
+ {
+ margin: 0em 0em 0.5em 0em;
+ font-size: 140%;
+ }
+
+ .section h2 { font-size: 140% }
+ .section h3 { font-size: 130% }
+ .section h4 { font-size: 120% }
+ .section h5 { font-size: 110% }
+ .section h6 { font-size: 100% }
+
+ /* Code on titles */
+ h1 tt.computeroutput { font-size: 140% }
+ h2 tt.computeroutput { font-size: 140% }
+ h3 tt.computeroutput { font-size: 130% }
+ h4 tt.computeroutput { font-size: 120% }
+ h5 tt.computeroutput { font-size: 110% }
+ h6 tt.computeroutput { font-size: 100% }
+
+/*=============================================================================
+ Author
+=============================================================================*/
+
+ h3.author
+ {
+ font-size: 100%
+ }
+
+/*=============================================================================
+ Lists
+=============================================================================*/
+
+ li
+ {
+ font-size: 10pt;
+ line-height: 1.3;
+ }
+
+ /* Unordered lists */
+ ul
+ {
+ text-align: left;
+ }
+
+ /* Ordered lists */
+ ol
+ {
+ text-align: left;
+ }
+
+/*=============================================================================
+ Links
+=============================================================================*/
+
+ a
+ {
+ text-decoration: none; /* no underline */
+ }
+
+ a:hover
+ {
+ text-decoration: underline;
+ }
+
+/*=============================================================================
+ Spirit style navigation
+=============================================================================*/
+
+ .spirit-nav
+ {
+ text-align: right;
+ }
+
+ .spirit-nav a
+ {
+ color: white;
+ padding-left: 0.5em;
+ }
+
+ .spirit-nav img
+ {
+ border-width: 0px;
+ }
+
+/*=============================================================================
+ Table of contents
+=============================================================================*/
+
+ .toc
+ {
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.1pc 1pc 0.1pc 1pc;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+ .toc-main
+ {
+ width: 600;
+ text-align: center;
+ margin: 1pc 1pc 1pc 10%;
+ padding: 2pc 1pc 3pc 1pc;
+ line-height: 0.1;
+ }
+
+ .boost-toc
+ {
+ float: right;
+ padding: 0.5pc;
+ }
+
+/*=============================================================================
+ Tables
+=============================================================================*/
+
+ .table-title,
+ div.table p.title
+ {
+ margin-left: 4%;
+ padding-right: 0.5em;
+ padding-left: 0.5em;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ width: 92%;
+ margin-left: 4%;
+ margin-right: 4%;
+ }
+
+ div.informaltable table,
+ div.table table
+ {
+ padding: 4px;
+ }
+
+ /* Table Cells */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ padding: 0.5em;
+ text-align: left;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ padding: 0.5em 0.5em 0.5em 0.5em;
+ border: 1pt solid white;
+ font-size: 120%;
+ }
+
+/*=============================================================================
+ Blurbs
+=============================================================================*/
+
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ font-size: 10pt;
+ line-height: 1.2;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ p.blurb img
+ {
+ padding: 1pt;
+ }
+
+/*=============================================================================
+ Variable Lists
+=============================================================================*/
+
+ span.term
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td
+ {
+ text-align: left;
+ vertical-align: top;
+ padding: 0em 2em 0em 0em;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td p
+ {
+ margin: 0em 0em 0.5em 0em;
+ }
+
+ /* Make the terms in definition lists bold */
+ div.variablelist dl dt
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist dl dd
+ {
+ margin: 1em 0em 1em 2em;
+ font-size: 10pt;
+ }
+
+/*=============================================================================
+ Misc
+=============================================================================*/
+
+ /* Title of books and articles in bibliographies */
+ span.title
+ {
+ font-style: italic;
+ }
+
+ span.underline
+ {
+ text-decoration: underline;
+ }
+
+ span.strikethrough
+ {
+ text-decoration: line-through;
+ }
+
+ /* Copyright, Legal Notice */
+ div div.legalnotice p
+ {
+ font-size: 8pt;
+ text-align: left
+ }
+
+/*=============================================================================
+ Colors
+=============================================================================*/
+
+ @media screen
+ {
+ /* Links */
+ a
+ {
+ color: #0C7445;
+ }
+
+ a:visited
+ {
+ color: #663974;
+ }
+
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
+ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
+ h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
+ {
+ text-decoration: none; /* no underline */
+ color: #000000;
+ }
+
+ /* Syntax Highlighting */
+ .keyword { color: #0000AA; }
+ .identifier { color: #000000; }
+ .special { color: #707070; }
+ .preprocessor { color: #402080; }
+ .char { color: teal; }
+ .comment { color: #800000; }
+ .string { color: teal; }
+ .number { color: teal; }
+ .white_bkd { background-color: #E8FBE9; }
+ .dk_grey_bkd { background-color: #A0DAAC; }
+
+ /* Copyright, Legal Notice */
+ .copyright
+ {
+ color: #666666;
+ font-size: small;
+ }
+
+ div div.legalnotice p
+ {
+ color: #666666;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Blurbs */
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ background-color: #E3F9E4;
+ border: 1px solid #DCDCDC;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ color: #00A000;
+ }
+ }
+
+ @media print
+ {
+ /* Links */
+ a
+ {
+ color: black;
+ }
+
+ a:visited
+ {
+ color: black;
+ }
+
+ .spirit-nav
+ {
+ display: none;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ border-collapse: collapse;
+ background-color: #FAFFFB;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ font-weight: bold;
+ }
+ }

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/boostbook_doxygen.css
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/doc/html/boostbook_doxygen.css 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,864 @@
+/*=============================================================================
+ Copyright (c) 2004 Joel de Guzman
+ http://spirit.sourceforge.net/
+
+ Use, modification and distribution is subject to 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)
+=============================================================================*/
+
+/*=============================================================================
+ Body defaults
+=============================================================================*/
+
+ body
+ {
+ margin: 1em;
+ font-family: sans-serif;
+ }
+
+/*=============================================================================
+ Paragraphs
+=============================================================================*/
+
+ p
+ {
+ text-align: left;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+/*=============================================================================
+ Program listings
+=============================================================================*/
+
+ /* Code on paragraphs */
+ p tt.computeroutput
+ {
+ font-size: 10pt;
+ }
+
+ pre.synopsis
+ {
+ font-size: 10pt;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ .programlisting,
+ .screen
+ {
+ font-size: 10pt;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+/*=============================================================================
+ Headings
+=============================================================================*/
+
+ h1, h2, h3, h4, h5, h6
+ {
+ text-align: left;
+ margin: 1em 0em 0.5em 0em;
+ font-weight: bold;
+ }
+
+ h1 { font: 140% }
+ h2 { font: bold 140% }
+ h3 { font: bold 130% }
+ h4 { font: bold 120% }
+ h5 { font: italic 110% }
+ h6 { font: italic 100% }
+
+ /* Top page titles */
+ title,
+ h1.title,
+ h2.title
+ h3.title,
+ h4.title,
+ h5.title,
+ h6.title,
+ .refentrytitle
+ {
+ font-weight: bold;
+ margin-bottom: 1pc;
+ }
+
+ h1.title { font-size: 140% }
+ h2.title { font-size: 140% }
+ h3.title { font-size: 130% }
+ h4.title { font-size: 120% }
+ h5.title { font-size: 110% }
+ h6.title { font-size: 100% }
+
+ .section h1
+ {
+ margin: 0em 0em 0.5em 0em;
+ font-size: 140%;
+ }
+
+ .section h2 { font-size: 140% }
+ .section h3 { font-size: 130% }
+ .section h4 { font-size: 120% }
+ .section h5 { font-size: 110% }
+ .section h6 { font-size: 100% }
+
+ /* Code on titles */
+ h1 tt.computeroutput { font-size: 140% }
+ h2 tt.computeroutput { font-size: 140% }
+ h3 tt.computeroutput { font-size: 130% }
+ h4 tt.computeroutput { font-size: 120% }
+ h5 tt.computeroutput { font-size: 110% }
+ h6 tt.computeroutput { font-size: 100% }
+
+/*=============================================================================
+ Author
+=============================================================================*/
+
+ h3.author
+ {
+ font-size: 100%
+ }
+
+/*=============================================================================
+ Lists
+=============================================================================*/
+
+ li
+ {
+ font-size: 10pt;
+ line-height: 1.3;
+ }
+
+ /* Unordered lists */
+ ul
+ {
+ text-align: left;
+ }
+
+ /* Ordered lists */
+ ol
+ {
+ text-align: left;
+ }
+
+/*=============================================================================
+ Links
+=============================================================================*/
+
+ a
+ {
+ text-decoration: none; /* no underline */
+ }
+
+ a:hover
+ {
+ text-decoration: underline;
+ }
+
+/*=============================================================================
+ Spirit style navigation
+=============================================================================*/
+
+ .spirit-nav
+ {
+ text-align: right;
+ }
+
+ .spirit-nav a
+ {
+ color: white;
+ padding-left: 0.5em;
+ }
+
+ .spirit-nav img
+ {
+ border-width: 0px;
+ }
+
+/*=============================================================================
+ Table of contents
+=============================================================================*/
+
+ .toc
+ {
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.1pc 1pc 0.1pc 1pc;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+ .toc-main
+ {
+ width: 600;
+ text-align: center;
+ margin: 1pc 1pc 1pc 10%;
+ padding: 2pc 1pc 3pc 1pc;
+ line-height: 0.1;
+ }
+
+ .boost-toc
+ {
+ float: right;
+ padding: 0.5pc;
+ }
+
+/*=============================================================================
+ Tables
+=============================================================================*/
+
+ .table-title,
+ div.table p.title
+ {
+ margin-left: 4%;
+ padding-right: 0.5em;
+ padding-left: 0.5em;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ width: 92%;
+ margin-left: 4%;
+ margin-right: 4%;
+ }
+
+ div.informaltable table,
+ div.table table
+ {
+ padding: 4px;
+ }
+
+ /* Table Cells */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ padding: 0.5em;
+ text-align: left;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ padding: 0.5em 0.5em 0.5em 0.5em;
+ border: 1pt solid white;
+ font-size: 120%;
+ }
+
+/*=============================================================================
+ Blurbs
+=============================================================================*/
+
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ font-size: 10pt;
+ line-height: 1.2;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ p.blurb img
+ {
+ padding: 1pt;
+ }
+
+/*=============================================================================
+ Variable Lists
+=============================================================================*/
+
+ span.term
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td
+ {
+ text-align: left;
+ vertical-align: top;
+ padding: 0em 2em 0em 0em;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td p
+ {
+ margin: 0em 0em 0.5em 0em;
+ }
+
+ /* Make the terms in definition lists bold */
+ div.variablelist dl dt
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist dl dd
+ {
+ margin: 1em 0em 1em 2em;
+ font-size: 10pt;
+ }
+
+/*=============================================================================
+ Misc
+=============================================================================*/
+
+ /* Title of books and articles in bibliographies */
+ span.title
+ {
+ font-style: italic;
+ }
+
+ span.underline
+ {
+ text-decoration: underline;
+ }
+
+ span.strikethrough
+ {
+ text-decoration: line-through;
+ }
+
+ /* Copyright, Legal Notice */
+ div div.legalnotice p
+ {
+ font-size: 8pt;
+ text-align: left
+ }
+
+/*=============================================================================
+ Colors
+=============================================================================*/
+
+ @media screen
+ {
+ /* Links */
+ a
+ {
+ color: #0C7445;
+ }
+
+ a:visited
+ {
+ color: #663974;
+ }
+
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
+ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
+ h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
+ {
+ text-decoration: none; /* no underline */
+ color: #000000;
+ }
+
+ /* Syntax Highlighting */
+ .keyword { color: #0000AA; }
+ .identifier { color: #000000; }
+ .special { color: #707070; }
+ .preprocessor { color: #402080; }
+ .char { color: teal; }
+ .comment { color: #800000; }
+ .string { color: teal; }
+ .number { color: teal; }
+ .white_bkd { background-color: #E8FBE9; }
+ .dk_grey_bkd { background-color: #A0DAAC; }
+
+ /* Copyright, Legal Notice */
+ .copyright
+ {
+ color: #666666;
+ font-size: small;
+ }
+
+ div div.legalnotice p
+ {
+ color: #666666;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Blurbs */
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ background-color: #E3F9E4;
+ border: 1px solid #DCDCDC;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ color: #00A000;
+ }
+ }
+
+ @media print
+ {
+ /* Links */
+ a
+ {
+ color: black;
+ }
+
+ a:visited
+ {
+ color: black;
+ }
+
+ .spirit-nav
+ {
+ display: none;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ border-collapse: collapse;
+ background-color: #FAFFFB;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ font-weight: bold;
+ }
+ }
+
+DIV.qindex {
+ width: 100%;
+ background-color: #e8eef2;
+ border: 1px solid #84b0c7;
+ text-align: center;
+ margin: 2px;
+ padding: 2px;
+ line-height: 140%;
+}
+DIV.nav {
+ width: 100%;
+ background-color: #e8eef2;
+ border: 1px solid #84b0c7;
+ text-align: center;
+ margin: 2px;
+ padding: 2px;
+ line-height: 140%;
+}
+DIV.navtab {
+ background-color: #e8eef2;
+ border: 1px solid #84b0c7;
+ text-align: center;
+ margin: 2px;
+ margin-right: 15px;
+ padding: 2px;
+}
+TD.navtab {
+ font-size: 70%;
+}
+A.qindex {
+ text-decoration: none;
+ font-weight: bold;
+ color: #1A419D;
+}
+A.qindex:visited {
+ text-decoration: none;
+ font-weight: bold;
+ color: #1A419D
+}
+A.qindex:hover {
+ text-decoration: none;
+ background-color: #ddddff;
+}
+A.qindexHL {
+ text-decoration: none;
+ font-weight: bold;
+ background-color: #6666cc;
+ color: #ffffff;
+ border: 1px double #9295C2;
+}
+A.qindexHL:hover {
+ text-decoration: none;
+ background-color: #6666cc;
+ color: #ffffff;
+}
+A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff }
+A.el { text-decoration: none; font-weight: bold }
+A.elRef { font-weight: bold }
+A.code:link { text-decoration: none; font-weight: normal; color: #0000FF}
+A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF}
+A.codeRef:link { font-weight: normal; color: #0000FF}
+A.codeRef:visited { font-weight: normal; color: #0000FF}
+A:hover { text-decoration: none; background-color: #f2f2ff }
+DL.el { margin-left: -1cm }
+.fragment {
+ font-family: monospace, fixed;
+ font-size: 95%;
+}
+PRE.fragment {
+ border: 1px solid #CCCCCC;
+ background-color: #f5f5f5;
+ margin-top: 4px;
+ margin-bottom: 4px;
+ margin-left: 2px;
+ margin-right: 8px;
+ padding-left: 6px;
+ padding-right: 6px;
+ padding-top: 4px;
+ padding-bottom: 4px;
+}
+DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px }
+
+DIV.groupHeader {
+ margin-left: 16px;
+ margin-top: 12px;
+ margin-bottom: 6px;
+ font-weight: bold;
+}
+DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% }
+
+TD.indexkey {
+ background-color: #e8eef2;
+ font-weight: bold;
+ padding-right : 10px;
+ padding-top : 2px;
+ padding-left : 10px;
+ padding-bottom : 2px;
+ margin-left : 0px;
+ margin-right : 0px;
+ margin-top : 2px;
+ margin-bottom : 2px;
+ border: 1px solid #CCCCCC;
+}
+TD.indexvalue {
+ background-color: #e8eef2;
+ font-style: italic;
+ padding-right : 10px;
+ padding-top : 2px;
+ padding-left : 10px;
+ padding-bottom : 2px;
+ margin-left : 0px;
+ margin-right : 0px;
+ margin-top : 2px;
+ margin-bottom : 2px;
+ border: 1px solid #CCCCCC;
+}
+TR.memlist {
+ background-color: #f0f0f0;
+}
+P.formulaDsp { text-align: center; }
+IMG.formulaDsp { }
+IMG.formulaInl { vertical-align: middle; }
+SPAN.keyword { color: #008000 }
+SPAN.keywordtype { color: #604020 }
+SPAN.keywordflow { color: #e08000 }
+SPAN.comment { color: #800000 }
+SPAN.preprocessor { color: #806020 }
+SPAN.stringliteral { color: #002080 }
+SPAN.charliteral { color: #008080 }
+.mdescLeft {
+ padding: 0px 8px 4px 8px;
+ font-size: 80%;
+ font-style: italic;
+ background-color: #FAFAFA;
+ border-top: 1px none #E0E0E0;
+ border-right: 1px none #E0E0E0;
+ border-bottom: 1px none #E0E0E0;
+ border-left: 1px none #E0E0E0;
+ margin: 0px;
+}
+.mdescRight {
+ padding: 0px 8px 4px 8px;
+ font-size: 80%;
+ font-style: italic;
+ background-color: #FAFAFA;
+ border-top: 1px none #E0E0E0;
+ border-right: 1px none #E0E0E0;
+ border-bottom: 1px none #E0E0E0;
+ border-left: 1px none #E0E0E0;
+ margin: 0px;
+}
+.memItemLeft {
+ padding: 1px 0px 0px 8px;
+ margin: 4px;
+ border-top-width: 1px;
+ border-right-width: 1px;
+ border-bottom-width: 1px;
+ border-left-width: 1px;
+ border-top-color: #E0E0E0;
+ border-right-color: #E0E0E0;
+ border-bottom-color: #E0E0E0;
+ border-left-color: #E0E0E0;
+ border-top-style: solid;
+ border-right-style: none;
+ border-bottom-style: none;
+ border-left-style: none;
+ background-color: #FAFAFA;
+ font-size: 80%;
+}
+.memItemRight {
+ padding: 1px 8px 0px 8px;
+ margin: 4px;
+ border-top-width: 1px;
+ border-right-width: 1px;
+ border-bottom-width: 1px;
+ border-left-width: 1px;
+ border-top-color: #E0E0E0;
+ border-right-color: #E0E0E0;
+ border-bottom-color: #E0E0E0;
+ border-left-color: #E0E0E0;
+ border-top-style: solid;
+ border-right-style: none;
+ border-bottom-style: none;
+ border-left-style: none;
+ background-color: #FAFAFA;
+ font-size: 80%;
+}
+.memTemplItemLeft {
+ padding: 1px 0px 0px 8px;
+ margin: 4px;
+ border-top-width: 1px;
+ border-right-width: 1px;
+ border-bottom-width: 1px;
+ border-left-width: 1px;
+ border-top-color: #E0E0E0;
+ border-right-color: #E0E0E0;
+ border-bottom-color: #E0E0E0;
+ border-left-color: #E0E0E0;
+ border-top-style: none;
+ border-right-style: none;
+ border-bottom-style: none;
+ border-left-style: none;
+ background-color: #FAFAFA;
+ font-size: 80%;
+}
+.memTemplItemRight {
+ padding: 1px 8px 0px 8px;
+ margin: 4px;
+ border-top-width: 1px;
+ border-right-width: 1px;
+ border-bottom-width: 1px;
+ border-left-width: 1px;
+ border-top-color: #E0E0E0;
+ border-right-color: #E0E0E0;
+ border-bottom-color: #E0E0E0;
+ border-left-color: #E0E0E0;
+ border-top-style: none;
+ border-right-style: none;
+ border-bottom-style: none;
+ border-left-style: none;
+ background-color: #FAFAFA;
+ font-size: 80%;
+}
+.memTemplParams {
+ padding: 1px 0px 0px 8px;
+ margin: 4px;
+ border-top-width: 1px;
+ border-right-width: 1px;
+ border-bottom-width: 1px;
+ border-left-width: 1px;
+ border-top-color: #E0E0E0;
+ border-right-color: #E0E0E0;
+ border-bottom-color: #E0E0E0;
+ border-left-color: #E0E0E0;
+ border-top-style: solid;
+ border-right-style: none;
+ border-bottom-style: none;
+ border-left-style: none;
+ color: #606060;
+ background-color: #FAFAFA;
+ font-size: 80%;
+}
+.search { color: #003399;
+ font-weight: bold;
+}
+FORM.search {
+ margin-bottom: 0px;
+ margin-top: 0px;
+}
+INPUT.search { font-size: 75%;
+ color: #000080;
+ font-weight: normal;
+ background-color: #e8eef2;
+}
+TD.tiny { font-size: 75%;
+}
+.dirtab { padding: 4px;
+ border-collapse: collapse;
+ border: 1px solid #84b0c7;
+}
+TH.dirtab { background: #e8eef2;
+ font-weight: bold;
+}
+/* Style for detailed member documentation */
+.memtemplate {
+ font-size: 80%;
+ color: #606060;
+ font-weight: normal;
+}
+.memnav {
+ background-color: #e8eef2;
+ border: 1px solid #84b0c7;
+ text-align: center;
+ margin: 2px;
+ margin-right: 15px;
+ padding: 2px;
+}
+.memitem {
+ padding: 4px;
+ background-color: #eef3f5;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #dedeee;
+ -moz-border-radius: 8px 8px 8px 8px;
+}
+.memname {
+ white-space: nowrap;
+ font-weight: bold;
+}
+.memdoc{
+ padding-left: 10px;
+}
+.memproto {
+ background-color: #d5e1e8;
+ width: 100%;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #84b0c7;
+ font-weight: bold;
+ -moz-border-radius: 8px 8px 8px 8px;
+}
+.paramkey {
+ text-align: right;
+}
+.paramtype {
+ white-space: nowrap;
+}
+.paramname {
+ color: #602020;
+ font-style: italic;
+ white-space: nowrap;
+}
+/* End Styling for detailed member documentation */
+
+/* for the tree view */
+.ftvtree {
+ font-family: sans-serif;
+ margin:0.5em;
+}
+.directory { font-size: 9pt; font-weight: bold; }
+.directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; }
+.directory > h3 { margin-top: 0; }
+.directory p { margin: 0px; white-space: nowrap; }
+.directory div { display: none; margin: 0px; }
+.directory img { vertical-align: -30%; }

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/Thumbs.db
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/blank.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/caution.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/draft.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/home.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/important.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/next.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/note.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/prev.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/tip.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/toc-blank.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/toc-minus.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/toc-plus.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/up.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/images/warning.png
==============================================================================
Binary file. No diff available.

Added: sandbox/template_under_construction/_library_/libs/_library_/doc/html/reference.css
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/doc/html/reference.css 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,5 @@
+PRE.synopsis {
+ background-color: #e0ffff;
+ border: thin solid blue;
+ padding: 1em
+}

Added: sandbox/template_under_construction/_library_/libs/_library_/example/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/example/Jamfile.v2 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,13 @@
+_python_copyright_
+
+project
+ : requirements
+ <include>../../..
+ <library>/boost/test//boost_unit_test_framework/<link>static
+ <define>BOOST_ALL_NO_LIB=1
+ ;
+
+# ../example/example.cpp is used instead of just example.cpp because it helps
+# the MSVC IDE find the source file. It would be nice to find a way around this.
+
+exe example : ../example/example.cpp ;
\ No newline at end of file

Added: sandbox/template_under_construction/_library_/libs/_library_/example/example.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/example/example.cpp 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,32 @@
+_cpp_copyright_
+
+//[ _library__example
+#include <boost/test/unit_test.hpp>
+using boost::unit_test::test_suite;
+
+#include <boost/_library_.hpp>
+
+void _library__example()
+{
+ boost::_library_::_library_<int> object;
+ int x = 0;
+
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),0);
+ object.nothing(x);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),1);
+
+ BOOST_CHECK_EQUAL(object.get_call_count(),1);
+ object.nothing(x,4);
+ BOOST_CHECK_EQUAL(object.get_call_count(),2);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),5);
+
+} // end void _library__example
+
+test_suite* init_unit_test_suite(int argc, char* argv[])
+{
+ test_suite* test = BOOST_TEST_SUITE( "RPC test suite" );
+ test->add(BOOST_TEST_CASE(&_library__example));
+ return test;
+}
+
+//]
\ No newline at end of file

Added: sandbox/template_under_construction/_library_/libs/_library_/test/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/test/Jamfile.v2 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,14 @@
+_python_copyright_
+
+import testing ;
+
+project
+ : requirements
+ <include>../../..
+ <library>/boost/test//boost_unit_test_framework/<link>static
+ <define>BOOST_ALL_NO_LIB=1
+ ;
+
+test-suite rpc
+ : [ run ../test/test.cpp ]
+ ;

Added: sandbox/template_under_construction/_library_/libs/_library_/test/test.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/test/test.cpp 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,46 @@
+_cpp_copyright_
+
+#include <boost/test/unit_test.hpp>
+using boost::unit_test::test_suite;
+
+#include <boost/_library_.hpp>
+
+class test_class
+{
+public:
+ void test_nothing()
+ {
+ boost::_library_::_library_<int> object;
+ int x = 0;
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),0);
+ object.nothing(x);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),1);
+ }
+ void test_nothing_n()
+ {
+ boost::_library_::_library_<int> object;
+ int x = 0;
+ BOOST_CHECK_EQUAL(object.get_call_count(),0);
+ object.nothing(x,4);
+ BOOST_CHECK_EQUAL(object.get_call_count(),1);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),4);
+ }
+};
+
+test_suite *_library__test()
+{
+ test_suite *suite = BOOST_TEST_SUITE("_Boost_library_ suite");
+
+ boost::shared_ptr<test_class> instance( new test_class() );
+ suite->add (BOOST_CLASS_TEST_CASE( &test_class::test_nothing, instance));
+ suite->add (BOOST_CLASS_TEST_CASE( &test_class::test_nothing_n, instance));
+ return suite;
+}
+
+#define BOOST_TEST_MAIN
+boost::unit_test::test_suite* init_unit_test_suite(int, char* [] )
+{
+ test_suite * test = BOOST_TEST_SUITE("_Boost_Library_ test");
+ test->add(_library__test());
+ return test;
+}
\ No newline at end of file

Added: sandbox/template_under_construction/_library_/libs/_library_/vc8ide/_library_.sln
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/vc8ide/_library_.sln 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,37 @@
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "build", "build.vcproj", "{_msvc_build_uuid_}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "doc", "doc.vcproj", "{_msvc_doc_uuid_}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example", "example.vcproj", "{_msvc_example_uuid_}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test.vcproj", "{_msvc_test_uuid_}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ debug|Win32 = debug|Win32
+ release|Win32 = release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {_msvc_build_uuid_}.debug|Win32.ActiveCfg = debug|Win32
+ {_msvc_build_uuid_}.debug|Win32.Build.0 = debug|Win32
+ {_msvc_build_uuid_}.release|Win32.ActiveCfg = release|Win32
+ {_msvc_build_uuid_}.release|Win32.Build.0 = release|Win32
+ {_msvc_doc_uuid_}.debug|Win32.ActiveCfg = release|Win32
+ {_msvc_doc_uuid_}.debug|Win32.Build.0 = release|Win32
+ {_msvc_doc_uuid_}.release|Win32.ActiveCfg = release|Win32
+ {_msvc_doc_uuid_}.release|Win32.Build.0 = release|Win32
+ {_msvc_example_uuid_}.debug|Win32.ActiveCfg = debug|Win32
+ {_msvc_example_uuid_}.debug|Win32.Build.0 = debug|Win32
+ {_msvc_example_uuid_}.release|Win32.ActiveCfg = release|Win32
+ {_msvc_example_uuid_}.release|Win32.Build.0 = release|Win32
+ {_msvc_test_uuid_}.debug|Win32.ActiveCfg = debug|Win32
+ {_msvc_test_uuid_}.debug|Win32.Build.0 = debug|Win32
+ {_msvc_test_uuid_}.release|Win32.ActiveCfg = release|Win32
+ {_msvc_test_uuid_}.release|Win32.Build.0 = release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal

Added: sandbox/template_under_construction/_library_/libs/_library_/vc8ide/build.vcproj
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/vc8ide/build.vcproj 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="build"
+ ProjectGUID="{_msvc_build_uuid_}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="debug|Win32"
+ OutputDirectory="..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+_msvc_build_command_
+ Output=""
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ <Configuration
+ Name="release|Win32"
+ OutputDirectory="..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+_msvc_build_command_
+ Output=""
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="boost"
+ >
+ <Filter
+ Name="_library_"
+ >
+ <File
+ RelativePath="..\..\..\boost\_library_\_library_.hpp"
+ >
+ </File>
+ </Filter>
+ <File
+ RelativePath="..\..\..\boost\_library_.hpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="solution build"
+ >
+ <File
+ RelativePath="..\..\..\boost-build.jam"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\project-root.jam"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\Jamfile.v2"
+ >
+ </File>
+ </Filter>
+ <File
+ RelativePath="..\build\Jamfile.v2"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>

Added: sandbox/template_under_construction/_library_/libs/_library_/vc8ide/doc.vcproj
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/vc8ide/doc.vcproj 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="doc"
+ ProjectGUID="{_msvc_doc_uuid_}"
+ RootNamespace="doc"
+ Keyword="MakeFileProj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="release|Win32"
+ OutputDirectory="..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+_msvc_build_command_
+ Output=""
+ PreprocessorDefinitions="WIN32;NDEBUG"
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ >
+ <File
+ RelativePath="..\doc\dox\_library_.hpp"
+ >
+ </File>
+ <File
+ RelativePath="..\doc\_library_.qbk"
+ >
+ </File>
+ </Filter>
+ <File
+ RelativePath="..\doc\Jamfile.v2"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>

Added: sandbox/template_under_construction/_library_/libs/_library_/vc8ide/example.vcproj
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/vc8ide/example.vcproj 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="example"
+ ProjectGUID="{_msvc_example_uuid_}"
+ RootNamespace="example"
+ Keyword="MakeFileProj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="debug|Win32"
+ OutputDirectory="..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+_msvc_build_command_
+ Output="$(OutDir)\example.exe"
+ PreprocessorDefinitions=""
+ IncludeSearchPath="../example"
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ <Configuration
+ Name="release|Win32"
+ OutputDirectory="..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+_msvc_build_command_
+ Output="$(OutDir)\example.exe"
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ >
+ <File
+ RelativePath="..\example\example.cpp"
+ >
+ </File>
+ </Filter>
+ <File
+ RelativePath="..\example\Jamfile.v2"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>

Added: sandbox/template_under_construction/_library_/libs/_library_/vc8ide/test.vcproj
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/libs/_library_/vc8ide/test.vcproj 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="test"
+ ProjectGUID="{_msvc_test_uuid_}"
+ RootNamespace="test"
+ Keyword="MakeFileProj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="debug|Win32"
+ OutputDirectory="..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+_msvc_build_command_
+ Output=""
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ <Configuration
+ Name="release|Win32"
+ OutputDirectory="..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+_msvc_build_command_
+ Output=""
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ >
+ <File
+ RelativePath="..\test\test.cpp"
+ >
+ </File>
+ </Filter>
+ <File
+ RelativePath="..\test\Jamfile.v2"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>

Added: sandbox/template_under_construction/_library_/project-root.jam
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/_library_/project-root.jam 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,8 @@
+# Copyright 2007 Stjepan Rajko.
+# 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)
+
+import os ;
+
+path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;

Added: sandbox/template_under_construction/make_template.py
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/make_template.py 2007-05-21 17:14:15 EDT (Mon, 21 May 2007)
@@ -0,0 +1,87 @@
+import os
+import time
+import uuid
+import shutil
+
+class Replacement(object):
+ def __init__(self, template, value):
+ self.template = template
+ self.value = value
+ def replace(self, string):
+ return string.replace(self.template, self.value)
+
+class FileReplacements(list):
+ def __init__(self, extensions):
+ self.process_extensions = extensions
+
+ def replace(self, string):
+ for item in self:
+ string = item.replace(string)
+ return string
+
+ def process(self, string):
+ for item in self.process_extensions:
+ if string.endswith(item):
+ return True
+ return False
+
+
+library = Replacement('_library_', raw_input('library name: (e.g., something_new): '))
+Library = Replacement('_Library_', library.value.capitalize())
+LIBRARY = Replacement('_LIBRARY_', library.value.upper())
+boost_library = Replacement('_Boost_Library_', 'Boost.' + Library.value)
+
+_copyright = """_COMMENT_Copyright _year_ _author_.
+_COMMENT_Distributed under the Boost Software License, Version 1.0. (See
+_COMMENT_accompanying file LICENSE_1_0.txt or copy at
+_COMMENT_http://www.boost.org/LICENSE_1_0.txt)
+"""
+
+_msvc_build_command = """\t\t\t\tBuildCommandLine="cd ../$(ProjectName)&#x0D;&#x0A;bjam --v2 $(ConfigurationName)"
+\t\t\t\tReBuildCommandLine="cd ../$(ProjectName)&#x0D;&#x0A;bjam --v2 -a $(ConfigurationName)"
+\t\t\t\tCleanCommandLine="cd ../$(ProjectName)&#x0D;&#x0A;bjam --v2 --clean $(ConfigurationName)"
+"""
+
+author_list = raw_input('library author[s]: (e.g., Yours Truly[,Yours D. NotTruly]): ')
+author_reversed = ''
+for name in author_list.rsplit(','):
+ first_last = name.rsplit(" ",2)
+ author_reversed += '[' + first_last[1] + ', ' + first_last[0] + ']'
+
+file_replacements = FileReplacements(['.hpp', '.cpp', '.v2', '.jam', '.qbk', '.vcproj', '.sln'])
+file_replacements.extend([boost_library, Library, LIBRARY, library])
+file_replacements.append(Replacement ('_python_copyright_', _copyright.replace('_COMMENT_','# ')))
+file_replacements.append(Replacement ('_cpp_copyright_', _copyright.replace('_COMMENT_','// ')))
+file_replacements.append(Replacement ('_qbk_copyright_', (_copyright.replace('_COMMENT_','')).replace('http://www.boost.org/LICENSE_1_0.txt','[@http://www.boost.org/LICENSE_1_0.txt]')))
+file_replacements.append(Replacement('_author_reversed_', author_reversed))
+file_replacements.append(Replacement('_author_', author_list))
+file_replacements.append(Replacement('_year_', str(time.localtime().tm_year)))
+file_replacements.append(Replacement('_msvc_build_uuid_', str(uuid.uuid4())))
+file_replacements.append(Replacement('_msvc_doc_uuid_', str(uuid.uuid4())))
+file_replacements.append(Replacement('_msvc_example_uuid_', str(uuid.uuid4())))
+file_replacements.append(Replacement('_msvc_test_uuid_', str(uuid.uuid4())))
+file_replacements.append(Replacement('_msvc_build_command_', _msvc_build_command))
+
+os.mkdir(library.value)
+
+for root, dirs, files in os.walk(library.template):
+ new_root = library.replace(root)
+ print (new_root)
+ for name in dirs:
+ new_name = library.replace(name)
+ os.mkdir(os.path.join(new_root,new_name))
+
+ for name in files:
+ new_name = library.replace(name)
+ if (file_replacements.process(name)):
+ fin = open(os.path.join(root, name), "r")
+ contents = fin.read()
+ fin.close()
+
+ contents = file_replacements.replace(contents)
+
+ fout = open(os.path.join(new_root, new_name), "w")
+ fout.write(contents)
+ fout.close()
+ else:
+ shutil.copy(os.path.join(root, name), os.path.join(new_root, new_name))


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