|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51758 - in sandbox/mirror/doc/html/mirror/non_boost_book/concepts: . overview
From: chochlik_at_[hidden]
Date: 2009-03-13 14:49:01
Author: matus.chochlik
Date: 2009-03-13 14:49:01 EDT (Fri, 13 Mar 2009)
New Revision: 51758
URL: http://svn.boost.org/trac/boost/changeset/51758
Log:
[mirror 0.3.x]
- minor documentation update
Text files modified:
sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml | 19 ++++++++++++-------
sandbox/mirror/doc/html/mirror/non_boost_book/concepts/overview/transform.xsl | 33 ++++++++++++++++++++++++++++++---
2 files changed, 42 insertions(+), 10 deletions(-)
Modified: sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml
==============================================================================
--- sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml (original)
+++ sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml 2009-03-13 14:49:01 EDT (Fri, 13 Mar 2009)
@@ -289,10 +289,10 @@
</concept>
<concept name="MetaNamedObject">
- <member_function concept="String" name="base_name">
+ <member_function static="true" concept="String" name="base_name">
<desc>Returns the base name of the reflected entity, <em>without</em> the nested name specifier.</desc>
</member_function>
- <member_function concept="String" name="get_name">
+ <member_function static="true" concept="String" name="get_name">
<desc>Generic name getter. Returns the base name of the type and allows to select the character type of the returned string, via the type of the char_traits parameter.</desc>
<fn_param concept="FalseType" name="full_name"/>
<fn_param concept="CharTraits" name="char_traits"/>
@@ -306,11 +306,11 @@
</concept>
<concept name="MetaNamedScopedObject">
- <member_function name="full_name" concept="String" >
+ <member_function static="true" name="full_name" concept="String" >
<desc>Returns the full name of the reflected entity, <em>with</em> the nested name specifier.</desc>
</member_function>
- <member_function concept="String" name="get_name" >
+ <member_function static="true" concept="String" name="get_name" >
<desc>Generic name getter. Returns the base or the full name of the type based on the type of the full_name parameter and allows to select the character type of the returned string, (from the supported options) via the type of the char_traits parameter.</desc>
<fn_param concept="TrueOrFalseType" name="full_name"/>
<fn_param concept="CharTraits" name="char_traits"/>
@@ -384,6 +384,11 @@
<member_typedef concept="MplSequence" name="ancestors">
<desc>An mpl::Sequence containing the MetaNamespaces for all the namespaces in which the reflected namespace is directly or indirectly nested.</desc>
</member_typedef>
+ <member_metafunction concept="MetaObjectSequence" name="members">
+ <metafn_param name="UnaryPredicate">
+ </metafn_param>
+ <desc>Returns a MetaObjectSequence containing the MetaObjects reflecting the members of the namespace which satisfy the UnaryPredicate.</desc>
+ </member_metafunction>
</concept>
<!-- MetaNamespace is MetaNamedScopedObject -->
@@ -587,16 +592,16 @@
<desc>Additional properties of the attribute.</desc>
</member_typedef>
- <member_function concept="Type" name="get">
+ <member_function static="true" concept="Type" name="get">
<desc>Generic attribute value getter. Returns the value of the reflected class attribute when given an instance of the class that the attribute belongs to.</desc>
<fn_param concept="Class" name="instance"/>
</member_function>
- <member_function concept="TypeReference" name="query">
+ <member_function static="true" concept="TypeReference" name="query">
<desc>Generic attribute value query. Stores the value of the reflected class attribute into the instance referred to by dest_ref, when given an instance of the class that the attribute belongs to.</desc>
<fn_param concept="Class" name="instance"/>
<fn_param concept="TypeReference" name="dest_ref"/>
</member_function>
- <member_function concept="TypeReference" name="set">
+ <member_function static="true" concept="TypeReference" name="set">
<desc>Generic attribute value setter. Assigns the new_value to the reflected class attribute, when given an instance of the class that the attribute belongs to.</desc>
<fn_param concept="Class" name="instance"/>
<fn_param concept="Type" name="new_value"/>
Modified: sandbox/mirror/doc/html/mirror/non_boost_book/concepts/overview/transform.xsl
==============================================================================
--- sandbox/mirror/doc/html/mirror/non_boost_book/concepts/overview/transform.xsl (original)
+++ sandbox/mirror/doc/html/mirror/non_boost_book/concepts/overview/transform.xsl 2009-03-13 14:49:01 EDT (Fri, 13 Mar 2009)
@@ -103,9 +103,18 @@
<strong>T</strong><xsl:text>::</xsl:text>
</xsl:if>
<xsl:if test="$member_kind = 'member_function'">
- <strong>x</strong><xsl:text>.</xsl:text>
+ <xsl:choose>
+ <xsl:when test="@static='true'">
+ <strong>T</strong><xsl:text>::</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <strong>x</strong><xsl:text>.</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+ <xsl:if test="$member_kind = 'member_metafunction'">
+ <strong>T</strong><xsl:text>::</xsl:text>
</xsl:if>
-
<xsl:if test="$member_kind = 'free_function' or $member_kind='metafunction'">
<xsl:if test="@namespace or @subnamespace">
@@ -114,7 +123,7 @@
</xsl:if>
</xsl:if>
<xsl:value-of select="@name"/>
- <xsl:if test="$member_kind = 'metafunction' or template_param">
+ <xsl:if test="$member_kind = 'metafunction' or $member_kind = 'member_metafunction' or template_param">
<xsl:text>< </xsl:text>
<xsl:for-each select="metafn_param | template_param">
<xsl:variable name="templ_param_concept" select="@name"/>
@@ -272,6 +281,10 @@
</xsl:call-template>
<xsl:call-template name="has-member-items">
<xsl:with-param name="concept" select="$concept"/>
+ <xsl:with-param name="member_kind" select="'member_metafunction'"/>
+ </xsl:call-template>
+ <xsl:call-template name="has-member-items">
+ <xsl:with-param name="concept" select="$concept"/>
<xsl:with-param name="member_kind" select="'metafunction'"/>
</xsl:call-template>
</xsl:template>
@@ -320,6 +333,17 @@
</xsl:call-template>
</xsl:template>
+ <!-- makes the member metafunction table -->
+ <xsl:template name="make-mem-meta-fn-table">
+ <xsl:param name="concept"/>
+ <xsl:call-template name="make-member-item-table">
+ <xsl:with-param name="concept" select="$concept"/>
+ <xsl:with-param name="member_kind" select="'member_metafunction'"/>
+ <xsl:with-param name="caption" select="'Member metafunctions'"/>
+ <xsl:with-param name="concept_column_heading" select="'Result concept'"/>
+ </xsl:call-template>
+ </xsl:template>
+
<!-- makes the metafunction function table -->
<xsl:template name="make-meta-fn-table">
<xsl:param name="concept"/>
@@ -386,6 +410,9 @@
<xsl:call-template name="make-free-fn-table">
<xsl:with-param name="concept" select="$concept"/>
</xsl:call-template>
+ <xsl:call-template name="make-mem-meta-fn-table">
+ <xsl:with-param name="concept" select="$concept"/>
+ </xsl:call-template>
<xsl:call-template name="make-meta-fn-table">
<xsl:with-param name="concept" select="$concept"/>
</xsl:call-template>
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