Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-05-05 07:38:08


Author: danieljames
Date: 2008-05-05 07:38:08 EDT (Mon, 05 May 2008)
New Revision: 45134
URL: http://svn.boost.org/trac/boost/changeset/45134

Log:
Support for inherited pack expansions.

Text files modified:
   branches/doc/tools/boostbook/doc/reference.dtdxml | 7 +++++++
   branches/doc/tools/boostbook/doc/reference.xml | 1 +
   branches/doc/tools/boostbook/dtd/boostbook.dtd | 4 +++-
   branches/doc/tools/boostbook/xsl/type.xsl | 3 +++
   4 files changed, 14 insertions(+), 1 deletions(-)

Modified: branches/doc/tools/boostbook/doc/reference.dtdxml
==============================================================================
--- branches/doc/tools/boostbook/doc/reference.dtdxml (original)
+++ branches/doc/tools/boostbook/doc/reference.dtdxml 2008-05-05 07:38:08 EDT (Mon, 05 May 2008)
@@ -831,6 +831,7 @@
 <attlist name="inherit">
 <attdecl>
     access CDATA #REQUIRED
+ pack CDATA #IMPLIED
     %boost.common.attrib;</attdecl>
 <attribute name="last-revision"
            type="#IMPLIED"
@@ -846,6 +847,12 @@
            type="#IMPLIED"
            value="CDATA"
            default=""/>
+<attribute name="pack"
+ type="#IMPLIED"
+ value="CDATA"
+ default="">
+ <purpose>Set to '1' if this is a pack exapansion.</purpose>
+</attribute>
 <attribute name="xml:base"
            type="#IMPLIED"
            value="CDATA"

Modified: branches/doc/tools/boostbook/doc/reference.xml
==============================================================================
--- branches/doc/tools/boostbook/doc/reference.xml (original)
+++ branches/doc/tools/boostbook/doc/reference.xml 2008-05-05 07:38:08 EDT (Mon, 05 May 2008)
@@ -551,6 +551,7 @@
 <row><entry>last-revision</entry><entry>#IMPLIED</entry><entry>CDATA</entry><entry>Set to $Date$ to keep "last revised" information in sync with CVS changes</entry></row>
 <row><entry>access</entry><entry>#REQUIRED</entry><entry>CDATA</entry><entry>The access specifier ("public", "private", or "protected") of the inheritance.</entry></row>
 <row><entry>id</entry><entry>#IMPLIED</entry><entry>CDATA</entry><entry>A global identifier for this element</entry></row>
+<row><entry>pack</entry><entry>#IMPLIED</entry><entry>CDATA</entry><entry>Set to '1' if this is a pack exapansion.</entry></row>
 <row><entry>xml:base</entry><entry>#IMPLIED</entry><entry>CDATA</entry><entry>Implementation detail used by XIncludes</entry></row>
 </tbody>
         </tgroup>

Modified: branches/doc/tools/boostbook/dtd/boostbook.dtd
==============================================================================
--- branches/doc/tools/boostbook/dtd/boostbook.dtd (original)
+++ branches/doc/tools/boostbook/dtd/boostbook.dtd 2008-05-05 07:38:08 EDT (Mon, 05 May 2008)
@@ -191,6 +191,7 @@
 <!ELEMENT inherit (type, purpose?)>
 <!ATTLIST inherit
     access CDATA #IMPLIED
+ pack CDATA #IMPLIED
     %boost.common.attrib;>
 
 <!ELEMENT purpose ANY>
@@ -399,7 +400,8 @@
 
 <!ELEMENT parameter (paramtype, default?, description?)>
 <!ATTLIST parameter
- name CDATA #IMPLIED>
+ name CDATA #IMPLIED
+ pack CDATA #IMPLIED>
 
 <!ELEMENT programlisting ANY>
 <!ATTLIST programlisting

Modified: branches/doc/tools/boostbook/xsl/type.xsl
==============================================================================
--- branches/doc/tools/boostbook/xsl/type.xsl (original)
+++ branches/doc/tools/boostbook/xsl/type.xsl 2008-05-05 07:38:08 EDT (Mon, 05 May 2008)
@@ -533,6 +533,8 @@
         </xsl:otherwise>
       </xsl:choose>
 
+ <xsl:if test="@pack=1"><xsl:text>...</xsl:text></xsl:if>
+
       <!-- Output a comma if not at the end -->
       <xsl:if test="position() &lt; $n">
         <xsl:text>,</xsl:text>
@@ -626,6 +628,7 @@
     <xsl:apply-templates mode="annotation">
       <xsl:with-param name="highlight" select="true()"/>
     </xsl:apply-templates>
+ <xsl:if test="@pack=1"><xsl:text>...</xsl:text></xsl:if>
   </xsl:template>
 
   <!-- Find the maximum length of the types in typedefs -->


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