reference.html 8.31 KB
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_resolver_results::reference</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_resolver_results.html" title="ip::basic_resolver_results">
<link rel="prev" href="protocol_type.html" title="ip::basic_resolver_results::protocol_type">
<link rel="next" href="size.html" title="ip::basic_resolver_results::size">
</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="protocol_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver_results.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="size.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_resolver_results.reference"></a><a class="link" href="reference.html" title="ip::basic_resolver_results::reference">ip::basic_resolver_results::reference</a>
</h4></div></div></div>
<p>
          <a class="indexterm" name="asio.indexterm.ip__basic_resolver_results.reference"></a> 
The
          type of a non-const reference to a value in the range.
        </p>
<pre class="programlisting">typedef value_type &amp; reference;
</pre>
<h6>
<a name="asio.reference.ip__basic_resolver_results.reference.h0"></a>
          <span><a name="asio.reference.ip__basic_resolver_results.reference.types"></a></span><a class="link" href="reference.html#asio.reference.ip__basic_resolver_results.reference.types">Types</a>
        </h6>
<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="../ip__basic_resolver_entry/endpoint_type.html" title="ip::basic_resolver_entry::endpoint_type"><span class="bold"><strong>endpoint_type</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    The endpoint type associated with the endpoint entry.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_resolver_entry/protocol_type.html" title="ip::basic_resolver_entry::protocol_type"><span class="bold"><strong>protocol_type</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    The protocol type associated with the endpoint entry.
                  </p>
                </td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_resolver_results.reference.h1"></a>
          <span><a name="asio.reference.ip__basic_resolver_results.reference.member_functions"></a></span><a class="link" href="reference.html#asio.reference.ip__basic_resolver_results.reference.member_functions">Member
          Functions</a>
        </h6>
<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="../ip__basic_resolver_entry/basic_resolver_entry.html" title="ip::basic_resolver_entry::basic_resolver_entry"><span class="bold"><strong>basic_resolver_entry</strong></span></a> <span class="silver">[constructor]</span>
                  </p>
                </td>
<td>
                  <p>
                    Default constructor. <br> <span class="silver"></span><br> Construct with specified endpoint,
                    host name and service name.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_resolver_entry/endpoint.html" title="ip::basic_resolver_entry::endpoint"><span class="bold"><strong>endpoint</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Get the endpoint associated with the entry.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_resolver_entry/host_name.html" title="ip::basic_resolver_entry::host_name"><span class="bold"><strong>host_name</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Get the host name associated with the entry.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_resolver_entry/operator_endpoint_type.html" title="ip::basic_resolver_entry::operator endpoint_type"><span class="bold"><strong>operator endpoint_type</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Convert to the endpoint associated with the entry.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_resolver_entry/service_name.html" title="ip::basic_resolver_entry::service_name"><span class="bold"><strong>service_name</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Get the service name associated with the entry.
                  </p>
                </td>
</tr>
</tbody>
</table></div>
<p>
          The <a class="link" href="../ip__basic_resolver_entry.html" title="ip::basic_resolver_entry"><code class="computeroutput">ip::basic_resolver_entry</code></a>
          class template describes an entry as returned by a resolver.
        </p>
<h6>
<a name="asio.reference.ip__basic_resolver_results.reference.h2"></a>
          <span><a name="asio.reference.ip__basic_resolver_results.reference.thread_safety"></a></span><a class="link" href="reference.html#asio.reference.ip__basic_resolver_results.reference.thread_safety">Thread
          Safety</a>
        </h6>
<p>
          <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
        </p>
<p>
          <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
        </p>
<h6>
<a name="asio.reference.ip__basic_resolver_results.reference.h3"></a>
          <span><a name="asio.reference.ip__basic_resolver_results.reference.requirements"></a></span><a class="link" href="reference.html#asio.reference.ip__basic_resolver_results.reference.requirements">Requirements</a>
        </h6>
<p>
          <span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/basic_resolver_results.hpp</code>
        </p>
<p>
          <span class="emphasis"><em>Convenience header: </em></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 © 2003-2020 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="protocol_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_resolver_results.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="size.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>