Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52344 - in trunk/tools/boostbook/test/doxygen: . boost
From: daniel_james_at_[hidden]
Date: 2009-04-12 06:06:26


Author: danieljames
Date: 2009-04-12 06:06:24 EDT (Sun, 12 Apr 2009)
New Revision: 52344
URL: http://svn.boost.org/trac/boost/changeset/52344

Log:
Add a test document for doxygen integration.
Added:
   trunk/tools/boostbook/test/doxygen/
   trunk/tools/boostbook/test/doxygen/Jamfile.v2 (contents, props changed)
   trunk/tools/boostbook/test/doxygen/boost/
   trunk/tools/boostbook/test/doxygen/boost/example.hpp (contents, props changed)
   trunk/tools/boostbook/test/doxygen/example.xml (contents, props changed)

Added: trunk/tools/boostbook/test/doxygen/Jamfile.v2
==============================================================================
--- (empty file)
+++ trunk/tools/boostbook/test/doxygen/Jamfile.v2 2009-04-12 06:06:24 EDT (Sun, 12 Apr 2009)
@@ -0,0 +1,19 @@
+import doxygen ;
+
+doxygen autodoc
+ :
+ [ glob boost/*.hpp ]
+ :
+ <xsl:param>"boost.doxygen.reftitle=Example Reference"
+ ;
+
+boostbook standalone
+ :
+ example.xml
+ :
+ <xsl:param>boost.root=../../../../..
+ <xsl:param>boost.libraries=../../../../../libs/libraries.htm
+ <xsl:param>html.stylesheet=../../../../../doc/html/boostbook.css
+
+ <dependency>autodoc
+ ;

Added: trunk/tools/boostbook/test/doxygen/boost/example.hpp
==============================================================================
--- (empty file)
+++ trunk/tools/boostbook/test/doxygen/boost/example.hpp 2009-04-12 06:06:24 EDT (Sun, 12 Apr 2009)
@@ -0,0 +1,49 @@
+int global_integer;
+static int global_static_integer;
+const int global_const_integer;
+static const int global_static_const_integer;
+enum global_enum { enumerator };
+
+namespace example
+{
+ int namespace_integer;
+ static int namespace_static_integer;
+ const int namespace_const_integer;
+ static const int namespace_static_const_integer;
+ enum namespace_enum { enumerator };
+
+ class example
+ {
+ public:
+ int integer;
+ static int static_integer;
+ mutable int mutable_integer;
+ const int const_integer;
+ static mutable int static_mutable_integer;
+ static const int static_const_integer;
+
+ enum class_enum { enumerator };
+ protected:
+ int protected_integer;
+ static int protected_static_integer;
+ mutable int protected_mutable_integer;
+ const int protected_const_integer;
+ static mutable int protected_static_mutable_integer;
+ static const int protected_static_const_integer;
+
+ enum protected_class_enum { enumerator };
+ private:
+ int private_integer;
+ static int private_static_integer;
+ mutable int private_mutable_integer;
+ const int private_const_integer;
+ static mutable int private_static_mutable_integer;
+ static const int private_static_const_integer;
+
+ enum private_class_enum { enumerator };
+ };
+
+ template <typename TypeParameter, int NonTypeParameter,
+ typename TypeParameterWithDefault = int>
+ struct example_template {};
+}
\ No newline at end of file

Added: trunk/tools/boostbook/test/doxygen/example.xml
==============================================================================
--- (empty file)
+++ trunk/tools/boostbook/test/doxygen/example.xml 2009-04-12 06:06:24 EDT (Sun, 12 Apr 2009)
@@ -0,0 +1,6 @@
+<?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 id="example" name="Example" dirname="example" xmlns:xi="http://www.w3.org/2001/XInclude">
+<title>Example</title>
+<xi:include href="autodoc.xml" />
+</library>
\ No newline at end of file


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