Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > os > by-pkgid > 9c481c872fb0ae0cbadccdc2f4a18ab6 > files > 219

libasync-devel-0.17.0-5.fc14.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Async: Async::IpAddress Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceAsync.html">Async</a>::<a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a>
  </div>
</div>
<div class="contents">
<h1>Async::IpAddress Class Reference</h1><!-- doxytag: class="Async::IpAddress" -->
<p>A class for representing an IP address in an OS independent way.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a>&gt;</code></p>

<p><a href="classAsync_1_1IpAddress-members.html">List of all members.</a></p>
<h2>Public Types</h2>
<ul>
<li>typedef struct in_addr <a class="el" href="classAsync_1_1IpAddress.html#a9c701cc0b9078bbbc64fda83972e20a5">Ip4Addr</a>
<dl class="el"><dd class="mdescRight">The type for the OS specific representation of an IP address.  <a href="#a9c701cc0b9078bbbc64fda83972e20a5"></a><br/></dl></ul>
<h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="classAsync_1_1IpAddress.html#acde029755696b74ea640e6ffa5a9ad5c">IpAddress</a> (void)
<dl class="el"><dd class="mdescRight">Default constructor for the <a class="el" href="classAsync_1_1IpAddress.html" title="A class for representing an IP address in an OS independent way.">IpAddress</a> class.  <a href="#acde029755696b74ea640e6ffa5a9ad5c"></a><br/></dl><li><a class="el" href="classAsync_1_1IpAddress.html#ad7ddba2cb0599e575c5f4447aa9126fa">IpAddress</a> (const std::string &amp;addr)
<dl class="el"><dd class="mdescRight">Constructor for the <a class="el" href="classAsync_1_1IpAddress.html" title="A class for representing an IP address in an OS independent way.">IpAddress</a> class.  <a href="#ad7ddba2cb0599e575c5f4447aa9126fa"></a><br/></dl><li><a class="el" href="classAsync_1_1IpAddress.html#abd2a3f3e93be0e8ec0a9ce5b18509c41">IpAddress</a> (const <a class="el" href="classAsync_1_1IpAddress.html#a9c701cc0b9078bbbc64fda83972e20a5">Ip4Addr</a> &amp;addr)
<dl class="el"><dd class="mdescRight">Constructor for the <a class="el" href="classAsync_1_1IpAddress.html" title="A class for representing an IP address in an OS independent way.">IpAddress</a> class.  <a href="#abd2a3f3e93be0e8ec0a9ce5b18509c41"></a><br/></dl><li><a class="el" href="classAsync_1_1IpAddress.html#a3d80d2c697237e7f7c477265c7517e67">IpAddress</a> (const <a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp;addr)
<dl class="el"><dd class="mdescRight">Copy contructor.  <a href="#a3d80d2c697237e7f7c477265c7517e67"></a><br/></dl><li><a class="el" href="classAsync_1_1IpAddress.html#a64e2020cb5a8c71da629f183ce5da5ae">~IpAddress</a> (void)
<dl class="el"><dd class="mdescRight">Destructor.  <a href="#a64e2020cb5a8c71da629f183ce5da5ae"></a><br/></dl><li><a class="el" href="classAsync_1_1IpAddress.html#a9c701cc0b9078bbbc64fda83972e20a5">Ip4Addr</a> <a class="el" href="classAsync_1_1IpAddress.html#a3e41ab638cbee0af22d1759da4a9a526">ip4Addr</a> (void) const 
<dl class="el"><dd class="mdescRight">Return the IP address in OS specific representation.  <a href="#a3e41ab638cbee0af22d1759da4a9a526"></a><br/></dl><li>bool <a class="el" href="classAsync_1_1IpAddress.html#ab91d2597524546b2c98e4ab617b5b74f">isUnicast</a> (void) const 
<dl class="el"><dd class="mdescRight">Check if this is a unicast IP address.  <a href="#ab91d2597524546b2c98e4ab617b5b74f"></a><br/></dl><li>bool <a class="el" href="classAsync_1_1IpAddress.html#a7d0ffea22d1b550c17374c1b067f2e54">isWithinSubet</a> (const std::string &amp;subnet) const 
<dl class="el"><dd class="mdescRight">Check if the IP address is within the given netmask.  <a href="#a7d0ffea22d1b550c17374c1b067f2e54"></a><br/></dl><li>std::string <a class="el" href="classAsync_1_1IpAddress.html#a7f9be3568547648ef7d2d73cd561dc45">toString</a> (void) const 
<dl class="el"><dd class="mdescRight">Return the string representation of the IP address.  <a href="#a7f9be3568547648ef7d2d73cd561dc45"></a><br/></dl><li><a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp; <a class="el" href="classAsync_1_1IpAddress.html#a2a37f003ab745369ccbd18f5fc12d5f0">operator=</a> (const <a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp;rhs)
<dl class="el"><dd class="mdescRight">Assignment operator.  <a href="#a2a37f003ab745369ccbd18f5fc12d5f0"></a><br/></dl><li>bool <a class="el" href="classAsync_1_1IpAddress.html#a701bfe7d6bc49356f9d73c1132b3e9f3">operator==</a> (const <a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp;rhs) const 
<dl class="el"><dd class="mdescRight">Equality operator.  <a href="#a701bfe7d6bc49356f9d73c1132b3e9f3"></a><br/></dl><li>bool <a class="el" href="classAsync_1_1IpAddress.html#a81baf3d7c6c361a27d379cbb114fd024">operator!=</a> (const <a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp;rhs) const 
<dl class="el"><dd class="mdescRight">Unequality operator.  <a href="#a81baf3d7c6c361a27d379cbb114fd024"></a><br/></dl><li>bool <a class="el" href="classAsync_1_1IpAddress.html#a090f6b39375e24e95c75704d291b43da">operator&lt;</a> (const <a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp;rhs) const 
<dl class="el"><dd class="mdescRight">Less than operator.  <a href="#a090f6b39375e24e95c75704d291b43da"></a><br/></dl></ul>
<h2>Friends</h2>
<ul>
<li>std::ostream &amp; <a class="el" href="classAsync_1_1IpAddress.html#af9471296795a2d75c2891de8cf2f78eb">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classAsync_1_1IpAddress.html">Async::IpAddress</a> &amp;ip)
<dl class="el"><dd class="mdescRight">Output stream operator.  <a href="#af9471296795a2d75c2891de8cf2f78eb"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A class for representing an IP address in an OS independent way. </p>
<dl><dt><b>Examples: </b></dt><dd>
<p><a class="el" href="AsyncUdpSocket__demo_8cpp-example.html#_a1">AsyncUdpSocket_demo.cpp</a>.</p>
</dd>
</dl>
<p>Definition at line <a class="el" href="AsyncIpAddress_8h_source.html#l00104">104</a> of file <a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a9c701cc0b9078bbbc64fda83972e20a5"></a><!-- doxytag: member="Async::IpAddress::Ip4Addr" ref="a9c701cc0b9078bbbc64fda83972e20a5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct in_addr <a class="el" href="classAsync_1_1IpAddress.html#a9c701cc0b9078bbbc64fda83972e20a5">Async::IpAddress::Ip4Addr</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The type for the OS specific representation of an IP address. </p>

<p>Definition at line <a class="el" href="AsyncIpAddress_8h_source.html#l00110">110</a> of file <a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acde029755696b74ea640e6ffa5a9ad5c"></a><!-- doxytag: member="Async::IpAddress::IpAddress" ref="acde029755696b74ea640e6ffa5a9ad5c" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Async::IpAddress::IpAddress </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor for the <a class="el" href="classAsync_1_1IpAddress.html" title="A class for representing an IP address in an OS independent way.">IpAddress</a> class. </p>

</div>
</div>
<a class="anchor" id="ad7ddba2cb0599e575c5f4447aa9126fa"></a><!-- doxytag: member="Async::IpAddress::IpAddress" ref="ad7ddba2cb0599e575c5f4447aa9126fa" args="(const std::string &amp;addr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Async::IpAddress::IpAddress </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>addr</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor for the <a class="el" href="classAsync_1_1IpAddress.html" title="A class for representing an IP address in an OS independent way.">IpAddress</a> class. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>addr</em>&nbsp;</td><td>The string representation of an IP address </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abd2a3f3e93be0e8ec0a9ce5b18509c41"></a><!-- doxytag: member="Async::IpAddress::IpAddress" ref="abd2a3f3e93be0e8ec0a9ce5b18509c41" args="(const Ip4Addr &amp;addr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Async::IpAddress::IpAddress </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAsync_1_1IpAddress.html#a9c701cc0b9078bbbc64fda83972e20a5">Ip4Addr</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>addr</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor for the <a class="el" href="classAsync_1_1IpAddress.html" title="A class for representing an IP address in an OS independent way.">IpAddress</a> class. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>addr</em>&nbsp;</td><td>The IP address in OS specific representation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3d80d2c697237e7f7c477265c7517e67"></a><!-- doxytag: member="Async::IpAddress::IpAddress" ref="a3d80d2c697237e7f7c477265c7517e67" args="(const IpAddress &amp;addr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Async::IpAddress::IpAddress </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>addr</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy contructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>addr</em>&nbsp;</td><td>An <a class="el" href="classAsync_1_1IpAddress.html" title="A class for representing an IP address in an OS independent way.">IpAddress</a> object to construct the new object from </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="AsyncIpAddress_8h_source.html#l00133">133</a> of file <a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a>.</p>

</div>
</div>
<a class="anchor" id="a64e2020cb5a8c71da629f183ce5da5ae"></a><!-- doxytag: member="Async::IpAddress::~IpAddress" ref="a64e2020cb5a8c71da629f183ce5da5ae" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Async::IpAddress::~IpAddress </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

<p>Definition at line <a class="el" href="AsyncIpAddress_8h_source.html#l00138">138</a> of file <a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a3e41ab638cbee0af22d1759da4a9a526"></a><!-- doxytag: member="Async::IpAddress::ip4Addr" ref="a3e41ab638cbee0af22d1759da4a9a526" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAsync_1_1IpAddress.html#a9c701cc0b9078bbbc64fda83972e20a5">Ip4Addr</a> Async::IpAddress::ip4Addr </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the IP address in OS specific representation. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The IP address </dd></dl>

<p>Definition at line <a class="el" href="AsyncIpAddress_8h_source.html#l00144">144</a> of file <a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab91d2597524546b2c98e4ab617b5b74f"></a><!-- doxytag: member="Async::IpAddress::isUnicast" ref="ab91d2597524546b2c98e4ab617b5b74f" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Async::IpAddress::isUnicast </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check if this is a unicast IP address. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Return <em>true</em> if this is a unicast address or <em>false</em> if it is some other type. </dd></dl>

</div>
</div>
<a class="anchor" id="a7d0ffea22d1b550c17374c1b067f2e54"></a><!-- doxytag: member="Async::IpAddress::isWithinSubet" ref="a7d0ffea22d1b550c17374c1b067f2e54" args="(const std::string &amp;subnet) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Async::IpAddress::isWithinSubet </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>subnet</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check if the IP address is within the given netmask. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>subnet</em>&nbsp;</td><td>The subnet to use in the check. The subnet should be given on the form a.b.c.d/m (e.g. 192.168.1.0/24). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Return <em>true</em> if within the given subnet or <em>false</em> if it is not. </dd></dl>

</div>
</div>
<a class="anchor" id="a81baf3d7c6c361a27d379cbb114fd024"></a><!-- doxytag: member="Async::IpAddress::operator!=" ref="a81baf3d7c6c361a27d379cbb114fd024" args="(const IpAddress &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Async::IpAddress::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unequality operator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</td><td>Right hand side expression </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns <em>true</em> if the right hand side object is unequal to this object, or else returns <em>false</em>. </dd></dl>

<p>Definition at line <a class="el" href="AsyncIpAddress_8h_source.html#l00196">196</a> of file <a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a>.</p>

</div>
</div>
<a class="anchor" id="a090f6b39375e24e95c75704d291b43da"></a><!-- doxytag: member="Async::IpAddress::operator&lt;" ref="a090f6b39375e24e95c75704d291b43da" args="(const IpAddress &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Async::IpAddress::operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Less than operator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</td><td>Right hand side expression </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns <em>true</em> if the right hand side object is less than this object, or else returns <em>false</em>. </dd></dl>

<p>Definition at line <a class="el" href="AsyncIpAddress_8h_source.html#l00207">207</a> of file <a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2a37f003ab745369ccbd18f5fc12d5f0"></a><!-- doxytag: member="Async::IpAddress::operator=" ref="a2a37f003ab745369ccbd18f5fc12d5f0" args="(const IpAddress &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a>&amp; Async::IpAddress::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assignment operator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</td><td>The address object to assign to this object </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the new IP address </dd></dl>

<p>Definition at line <a class="el" href="AsyncIpAddress_8h_source.html#l00173">173</a> of file <a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a>.</p>

</div>
</div>
<a class="anchor" id="a701bfe7d6bc49356f9d73c1132b3e9f3"></a><!-- doxytag: member="Async::IpAddress::operator==" ref="a701bfe7d6bc49356f9d73c1132b3e9f3" args="(const IpAddress &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Async::IpAddress::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAsync_1_1IpAddress.html">IpAddress</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Equality operator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</td><td>Right hand side expression </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns <em>true</em> if the right hand side object is equal to this object, or else returns <em>false</em>. </dd></dl>

<p>Definition at line <a class="el" href="AsyncIpAddress_8h_source.html#l00185">185</a> of file <a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7f9be3568547648ef7d2d73cd561dc45"></a><!-- doxytag: member="Async::IpAddress::toString" ref="a7f9be3568547648ef7d2d73cd561dc45" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Async::IpAddress::toString </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the string representation of the IP address. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The IP address string </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="AsyncTcpServer__demo_8cpp-example.html#a6">AsyncTcpServer_demo.cpp</a>.</dd>
</dl>
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="af9471296795a2d75c2891de8cf2f78eb"></a><!-- doxytag: member="Async::IpAddress::operator&lt;&lt;" ref="af9471296795a2d75c2891de8cf2f78eb" args="(std::ostream &amp;os, const Async::IpAddress &amp;ip)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classAsync_1_1IpAddress.html">Async::IpAddress</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ip</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Output stream operator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>os</em>&nbsp;</td><td>The stream to output data to </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ip</em>&nbsp;</td><td>The IP address to output to the stream </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="AsyncIpAddress_8h_source.html">AsyncIpAddress.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address>
</body>
</html>