summaryrefslogtreecommitdiff
path: root/docs/module-doc/structInAddr__HashComp.html
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 17:05:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 17:05:15 +0000
commit4d5a17380bc71cabe544b41c7c8a26a292384f3d (patch)
tree9a882bc421d4c250817a17980265b76e06e4cf8c /docs/module-doc/structInAddr__HashComp.html
parenta48ee868ed80b689b773fdd9bbd8f1e761dc3b8a (diff)
Added docs for hashcomp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1396 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc/structInAddr__HashComp.html')
-rw-r--r--docs/module-doc/structInAddr__HashComp.html40
1 files changed, 21 insertions, 19 deletions
diff --git a/docs/module-doc/structInAddr__HashComp.html b/docs/module-doc/structInAddr__HashComp.html
index 8e0f35bb7..4aebb1d97 100644
--- a/docs/module-doc/structInAddr__HashComp.html
+++ b/docs/module-doc/structInAddr__HashComp.html
@@ -4,14 +4,27 @@
<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.3 -->
-<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
-<h1>InAddr_HashComp Struct Reference</h1><a href="structInAddr__HashComp-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
+<h1>InAddr_HashComp Struct Reference</h1>This class returns true if two in_addr structs match.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>&gt;</code>
+<p>
+<a href="structInAddr__HashComp-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structInAddr__HashComp.html#a0">operator()</a> (const in_addr &amp;s1, const in_addr &amp;s2) const</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The operator () does the actual comparison in hash_map. </em> <a href="#a0"></a><em><br><br></td></tr>
</table>
-<hr><h2>Member Function Documentation</h2>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+This class returns true if two in_addr structs match.
+<p>
+Checking is done by copying both into a size_t then doing a numeric comparison of the two.
+<p>
+
+<p>
+Definition at line <a class="el" href="hashcomp_8h-source.html#l00071">71</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>.<hr><h2>Member Function Documentation</h2>
<a name="a0" doxytag="InAddr_HashComp::operator()"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -32,7 +45,7 @@
<tr>
<td></td>
<td class="md">)&nbsp;</td>
- <td class="md" colspan="2"> const<code> [inline]</code></td>
+ <td class="md" colspan="2"> const</td>
</tr>
</table>
@@ -47,25 +60,14 @@
<td>
<p>
-
-<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00171">171</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+The operator () does the actual comparison in hash_map.
<p>
-<div class="fragment"><pre>00172 {
-00173 size_t q;
-00174 size_t p;
-00175
-00176 memcpy(&amp;q,&amp;s1,<span class="keyword">sizeof</span>(size_t));
-00177 memcpy(&amp;p,&amp;s2,<span class="keyword">sizeof</span>(size_t));
-00178
-00179 <span class="keywordflow">return</span> (q == p);
-00180 }
-</pre></div> </td>
+ </td>
</tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
-<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:40 2005 for InspIRCd by
+<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>