Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-release > by-pkgid > 2deed065cd3adb9905decb703c6b0100 > files > 1453

asio-1.4.5-1.mga1.i586.rpm

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>error_code</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="../../index.html" title="Asio">
<link rel="up" href="../reference.html" title="Reference">
<link rel="prev" href="error_category.html" title="error_category">
<link rel="next" href="error_code/category.html" title="error_code::category">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="error_category.html"><img src="../../prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../home.png" alt="Home"></a><a accesskey="n" href="error_code/category.html"><img src="../../next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
<a name="asio.reference.error_code"></a><a class="link" href="error_code.html" title="error_code"> error_code</a>
</h3></div></div></div>
<p>
        Class to represent an error code value.
      </p>
<pre class="programlisting"><span class="keyword">class</span> <span class="identifier">error_code</span>
</pre>
<a name="asio.reference.error_code.types"></a><h5>
<a name="id837715"></a>
        <a class="link" href="error_code.html#asio.reference.error_code.types">Types</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
              <p>
                Name
              </p>
              </th>
<th>
              <p>
                Description
              </p>
              </th>
</tr></thead>
<tbody>
<tr>
<td>
              <p>
                <a class="link" href="error_code__unspecified_bool_type_t.html" title="error_code::unspecified_bool_type_t"><span class="bold"><strong>unspecified_bool_type_t</strong></span></a>
              </p>
              </td>
<td>
              <p>
              </p>
              </td>
</tr>
<tr>
<td>
              <p>
                <a class="link" href="error_code/unspecified_bool_type.html" title="error_code::unspecified_bool_type"><span class="bold"><strong>unspecified_bool_type</strong></span></a>
              </p>
              </td>
<td>
              <p>
              </p>
              </td>
</tr>
<tr>
<td>
              <p>
                <a class="link" href="error_code/value_type.html" title="error_code::value_type"><span class="bold"><strong>value_type</strong></span></a>
              </p>
              </td>
<td>
              <p>
                The underlying representation of an error code.
              </p>
              </td>
</tr>
</tbody>
</table></div>
<a name="asio.reference.error_code.member_functions"></a><h5>
<a name="id837848"></a>
        <a class="link" href="error_code.html#asio.reference.error_code.member_functions">Member Functions</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
              <p>
                Name
              </p>
              </th>
<th>
              <p>
                Description
              </p>
              </th>
</tr></thead>
<tbody>
<tr>
<td>
              <p>
                <a class="link" href="error_code/category.html" title="error_code::category"><span class="bold"><strong>category</strong></span></a>
              </p>
              </td>
<td>
              <p>
                Get the error category.
              </p>
              </td>
</tr>
<tr>
<td>
              <p>
                <a class="link" href="error_code/error_code.html" title="error_code::error_code"><span class="bold"><strong>error_code</strong></span></a>
              </p>
              </td>
<td>
              <p>
                Default constructor.
              </p>
              <p>
                Construct with specific error code and category.
              </p>
              <p>
                Construct from an error code enum.
              </p>
              </td>
</tr>
<tr>
<td>
              <p>
                <a class="link" href="error_code/message.html" title="error_code::message"><span class="bold"><strong>message</strong></span></a>
              </p>
              </td>
<td>
              <p>
                Get the message associated with the error.
              </p>
              </td>
</tr>
<tr>
<td>
              <p>
                <a class="link" href="error_code/operator_unspecified_bool_type.html" title="error_code::operator unspecified_bool_type"><span class="bold"><strong>operator unspecified_bool_type</strong></span></a>
              </p>
              </td>
<td>
              <p>
                Operator returns non-null if there is a non-success error code.
              </p>
              </td>
</tr>
<tr>
<td>
              <p>
                <a class="link" href="error_code/operator_not_.html" title="error_code::operator!"><span class="bold"><strong>operator!</strong></span></a>
              </p>
              </td>
<td>
              <p>
                Operator to test if the error represents success.
              </p>
              </td>
</tr>
<tr>
<td>
              <p>
                <a class="link" href="error_code/unspecified_bool_true.html" title="error_code::unspecified_bool_true"><span class="bold"><strong>unspecified_bool_true</strong></span></a>
              </p>
              </td>
<td>
              <p>
              </p>
              </td>
</tr>
<tr>
<td>
              <p>
                <a class="link" href="error_code/value.html" title="error_code::value"><span class="bold"><strong>value</strong></span></a>
              </p>
              </td>
<td>
              <p>
                Get the error value.
              </p>
              </td>
</tr>
</tbody>
</table></div>
<a name="asio.reference.error_code.friends"></a><h5>
<a name="id838098"></a>
        <a class="link" href="error_code.html#asio.reference.error_code.friends">Friends</a>
      </h5>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
              <p>
                Name
              </p>
              </th>
<th>
              <p>
                Description
              </p>
              </th>
</tr></thead>
<tbody>
<tr>
<td>
              <p>
                <a class="link" href="error_code/operator_not__eq_.html" title="error_code::operator!="><span class="bold"><strong>operator!=</strong></span></a>
              </p>
              </td>
<td>
              <p>
                Inequality operator to compare two error objects.
              </p>
              </td>
</tr>
<tr>
<td>
              <p>
                <a class="link" href="error_code/operator_eq__eq_.html" title="error_code::operator=="><span class="bold"><strong>operator==</strong></span></a>
              </p>
              </td>
<td>
              <p>
                Equality operator to compare two error objects.
              </p>
              </td>
</tr>
</tbody>
</table></div>
<a name="asio.reference.error_code.requirements"></a><h5>
<a name="id838205"></a>
        <a class="link" href="error_code.html#asio.reference.error_code.requirements">Requirements</a>
      </h5>
<p>
        <span class="bold"><strong>Header: </strong></span><code class="literal">asio/error_code.hpp</code>
      </p>
<p>
        <span class="bold"><strong>Convenience header: </strong></span><code class="literal">asio.hpp</code>
      </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2003 - 2010 Christopher M. Kohlhoff<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="error_category.html"><img src="../../prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../home.png" alt="Home"></a><a accesskey="n" href="error_code/category.html"><img src="../../next.png" alt="Next"></a>
</div>
</body>
</html>