|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54498 - trunk/libs/asio/doc
From: chris_at_[hidden]
Date: 2009-06-29 05:32:43
Author: chris_kohlhoff
Date: 2009-06-29 05:32:41 EDT (Mon, 29 Jun 2009)
New Revision: 54498
URL: http://svn.boost.org/trac/boost/changeset/54498
Log:
Add enum values to doc index. Refs #2620.
Text files modified:
trunk/libs/asio/doc/reference.qbk | 131 ++++++++++++++++++++++++++++++++++++++++
trunk/libs/asio/doc/reference.xsl | 18 ++++
2 files changed, 147 insertions(+), 2 deletions(-)
Modified: trunk/libs/asio/doc/reference.qbk
==============================================================================
--- trunk/libs/asio/doc/reference.qbk (original)
+++ trunk/libs/asio/doc/reference.qbk 2009-06-29 05:32:41 EDT (Mon, 29 Jun 2009)
@@ -6626,6 +6626,10 @@
enum shutdown_type
+[indexterm2 shutdown_receive..basic_datagram_socket]
+[indexterm2 shutdown_send..basic_datagram_socket]
+[indexterm2 shutdown_both..basic_datagram_socket]
+
[heading Values]
[variablelist
@@ -12337,6 +12341,10 @@
enum shutdown_type
+[indexterm2 shutdown_receive..basic_raw_socket]
+[indexterm2 shutdown_send..basic_raw_socket]
+[indexterm2 shutdown_both..basic_raw_socket]
+
[heading Values]
[variablelist
@@ -17180,6 +17188,10 @@
enum shutdown_type
+[indexterm2 shutdown_receive..basic_socket]
+[indexterm2 shutdown_send..basic_socket]
+[indexterm2 shutdown_both..basic_socket]
+
[heading Values]
[variablelist
@@ -19843,6 +19855,10 @@
enum shutdown_type
+[indexterm2 shutdown_receive..basic_socket_acceptor]
+[indexterm2 shutdown_send..basic_socket_acceptor]
+[indexterm2 shutdown_both..basic_socket_acceptor]
+
[heading Values]
[variablelist
@@ -23229,6 +23245,10 @@
enum shutdown_type
+[indexterm2 shutdown_receive..basic_socket_streambuf]
+[indexterm2 shutdown_send..basic_socket_streambuf]
+[indexterm2 shutdown_both..basic_socket_streambuf]
+
[heading Values]
[variablelist
@@ -27536,6 +27556,10 @@
enum shutdown_type
+[indexterm2 shutdown_receive..basic_stream_socket]
+[indexterm2 shutdown_send..basic_stream_socket]
+[indexterm2 shutdown_both..basic_stream_socket]
+
[heading Values]
[variablelist
@@ -33070,6 +33094,9 @@
enum addrinfo_errors
+[indexterm2 service_not_found..error::addrinfo_errors]
+[indexterm2 socket_type_not_supported..error::addrinfo_errors]
+
[heading Values]
[variablelist
@@ -33103,6 +33130,40 @@
enum basic_errors
+[indexterm2 access_denied..error::basic_errors]
+[indexterm2 address_family_not_supported..error::basic_errors]
+[indexterm2 address_in_use..error::basic_errors]
+[indexterm2 already_connected..error::basic_errors]
+[indexterm2 already_started..error::basic_errors]
+[indexterm2 broken_pipe..error::basic_errors]
+[indexterm2 connection_aborted..error::basic_errors]
+[indexterm2 connection_refused..error::basic_errors]
+[indexterm2 connection_reset..error::basic_errors]
+[indexterm2 bad_descriptor..error::basic_errors]
+[indexterm2 fault..error::basic_errors]
+[indexterm2 host_unreachable..error::basic_errors]
+[indexterm2 in_progress..error::basic_errors]
+[indexterm2 interrupted..error::basic_errors]
+[indexterm2 invalid_argument..error::basic_errors]
+[indexterm2 message_size..error::basic_errors]
+[indexterm2 name_too_long..error::basic_errors]
+[indexterm2 network_down..error::basic_errors]
+[indexterm2 network_reset..error::basic_errors]
+[indexterm2 network_unreachable..error::basic_errors]
+[indexterm2 no_descriptors..error::basic_errors]
+[indexterm2 no_buffer_space..error::basic_errors]
+[indexterm2 no_memory..error::basic_errors]
+[indexterm2 no_permission..error::basic_errors]
+[indexterm2 no_protocol_option..error::basic_errors]
+[indexterm2 not_connected..error::basic_errors]
+[indexterm2 not_socket..error::basic_errors]
+[indexterm2 operation_aborted..error::basic_errors]
+[indexterm2 operation_not_supported..error::basic_errors]
+[indexterm2 shut_down..error::basic_errors]
+[indexterm2 timed_out..error::basic_errors]
+[indexterm2 try_again..error::basic_errors]
+[indexterm2 would_block..error::basic_errors]
+
[heading Values]
[variablelist
@@ -33496,6 +33557,11 @@
enum misc_errors
+[indexterm2 already_open..error::misc_errors]
+[indexterm2 eof..error::misc_errors]
+[indexterm2 not_found..error::misc_errors]
+[indexterm2 fd_set_failure..error::misc_errors]
+
[heading Values]
[variablelist
@@ -33557,6 +33623,11 @@
enum netdb_errors
+[indexterm2 host_not_found..error::netdb_errors]
+[indexterm2 host_not_found_try_again..error::netdb_errors]
+[indexterm2 no_data..error::netdb_errors]
+[indexterm2 no_recovery..error::netdb_errors]
+
[heading Values]
[variablelist
@@ -52697,6 +52768,10 @@
enum type
+[indexterm2 none..serial_port_base::flow_control]
+[indexterm2 software..serial_port_base::flow_control]
+[indexterm2 hardware..serial_port_base::flow_control]
+
[heading Values]
[variablelist
@@ -52839,6 +52914,10 @@
enum type
+[indexterm2 none..serial_port_base::parity]
+[indexterm2 odd..serial_port_base::parity]
+[indexterm2 even..serial_port_base::parity]
+
[heading Values]
[variablelist
@@ -52981,6 +53060,10 @@
enum type
+[indexterm2 one..serial_port_base::stop_bits]
+[indexterm2 onepointfive..serial_port_base::stop_bits]
+[indexterm2 two..serial_port_base::stop_bits]
+
[heading Values]
[variablelist
@@ -54911,6 +54994,10 @@
enum shutdown_type
+[indexterm2 shutdown_receive..socket_base]
+[indexterm2 shutdown_send..socket_base]
+[indexterm2 shutdown_both..socket_base]
+
[heading Values]
[variablelist
@@ -55262,6 +55349,9 @@
enum file_format
+[indexterm2 asn1..ssl::basic_context]
+[indexterm2 pem..ssl::basic_context]
+
[heading Values]
[variablelist
@@ -55404,6 +55494,19 @@
enum method
+[indexterm2 sslv2..ssl::basic_context]
+[indexterm2 sslv2_client..ssl::basic_context]
+[indexterm2 sslv2_server..ssl::basic_context]
+[indexterm2 sslv3..ssl::basic_context]
+[indexterm2 sslv3_client..ssl::basic_context]
+[indexterm2 sslv3_server..ssl::basic_context]
+[indexterm2 tlsv1..ssl::basic_context]
+[indexterm2 tlsv1_client..ssl::basic_context]
+[indexterm2 tlsv1_server..ssl::basic_context]
+[indexterm2 sslv23..ssl::basic_context]
+[indexterm2 sslv23_client..ssl::basic_context]
+[indexterm2 sslv23_server..ssl::basic_context]
+
[heading Values]
[variablelist
@@ -55551,6 +55654,9 @@
enum password_purpose
+[indexterm2 for_reading..ssl::basic_context]
+[indexterm2 for_writing..ssl::basic_context]
+
[heading Values]
[variablelist
@@ -56711,6 +56817,9 @@
enum file_format
+[indexterm2 asn1..ssl::context_base]
+[indexterm2 pem..ssl::context_base]
+
[heading Values]
[variablelist
@@ -56738,6 +56847,19 @@
enum method
+[indexterm2 sslv2..ssl::context_base]
+[indexterm2 sslv2_client..ssl::context_base]
+[indexterm2 sslv2_server..ssl::context_base]
+[indexterm2 sslv3..ssl::context_base]
+[indexterm2 sslv3_client..ssl::context_base]
+[indexterm2 sslv3_server..ssl::context_base]
+[indexterm2 tlsv1..ssl::context_base]
+[indexterm2 tlsv1_client..ssl::context_base]
+[indexterm2 tlsv1_server..ssl::context_base]
+[indexterm2 sslv23..ssl::context_base]
+[indexterm2 sslv23_client..ssl::context_base]
+[indexterm2 sslv23_server..ssl::context_base]
+
[heading Values]
[variablelist
@@ -56870,6 +56992,9 @@
enum password_purpose
+[indexterm2 for_reading..ssl::context_base]
+[indexterm2 for_writing..ssl::context_base]
+
[heading Values]
[variablelist
@@ -57833,6 +57958,9 @@
enum handshake_type
+[indexterm2 client..ssl::stream]
+[indexterm2 server..ssl::stream]
+
[heading Values]
[variablelist
@@ -58569,6 +58697,9 @@
enum handshake_type
+[indexterm2 client..ssl::stream_base]
+[indexterm2 server..ssl::stream_base]
+
[heading Values]
[variablelist
Modified: trunk/libs/asio/doc/reference.xsl
==============================================================================
--- trunk/libs/asio/doc/reference.xsl (original)
+++ trunk/libs/asio/doc/reference.xsl 2009-06-29 05:32:41 EDT (Mon, 29 Jun 2009)
@@ -983,7 +983,9 @@
<xsl:call-template name="variable" mode="class-detail"/>
</xsl:when>
<xsl:when test="@kind='enum'">
- <xsl:call-template name="enum" mode="class-detail"/>
+ <xsl:call-template name="enum" mode="class-detail">
+ <xsl:with-param name="enum-name" select="$class-name"/>
+ </xsl:call-template>
</xsl:when>
<xsl:when test="@kind='function'">
<xsl:call-template name="function" mode="class-detail"/>
@@ -1054,8 +1056,18 @@
<xsl:template name="enum">
+<xsl:param name="enum-name"/>
enum <xsl:value-of select="name"/><xsl:text>
</xsl:text><xsl:if test="count(enumvalue) > 0">
+<xsl:value-of select="$newline"/>
+<xsl:for-each select="enumvalue">
+ <xsl:text>[indexterm2 </xsl:text>
+ <xsl:value-of select="name"/>
+ <xsl:text>..</xsl:text>
+ <xsl:value-of select="$enum-name"/>
+ <xsl:text>]</xsl:text>
+ <xsl:value-of select="$newline"/>
+</xsl:for-each>
[heading Values]
[variablelist
<xsl:for-each select="enumvalue">
@@ -1297,7 +1309,9 @@
<xsl:call-template name="variable"/>
</xsl:when>
<xsl:when test="@kind='enum'">
- <xsl:call-template name="enum"/>
+ <xsl:call-template name="enum">
+ <xsl:with-param name="enum-name" select="$name"/>
+ </xsl:call-template>
</xsl:when>
<xsl:when test="@kind='function'">
<xsl:call-template name="function"/>
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