Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 400

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>GNU CommonC++: ost::objMap&lt; T, K, S &gt; Class Template Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<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 id="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <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="nav">
<a class="el" href="namespaceost.html">ost</a>::<a class="el" href="classost_1_1obj_map.html">objMap</a></div>
<h1>ost::objMap&lt; T, K, S &gt; Class Template Reference</h1><!-- doxytag: class="ost::objMap" -->Used to create and manage a hash index of objects through a common type.hash indexed searchable template chain.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="objmap_8h-source.html">objmap.h</a>&gt;</code>
<p>
<a href="classost_1_1obj_map-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static T *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1obj_map.html#6a4a422b97bf84670c05c934d93371ea">getObject</a> (keystring key)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1obj_map.html#569d900c4fd6288742df69b5f9892e64">keyIndex</a> (K k)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1obj_map.html#fc0f9891beba8ddfd2285566c74f1a62">getSize</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1obj_map.html#8a7026786efd9c660fbdfa05205ea313">objMap</a> (const K key)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">T *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1obj_map.html#1fc9048257b5dd2cf98fe1d86ee8d75b">objNext</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const K&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1obj_map.html#96897e628e96ca4590efb4c84db7edf0">objKey</a></td></tr>

<tr><td colspan="2"><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static T *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1obj_map.html#ef8176a8acd51c60d305df1dc33c667d">objIndex</a> [S]</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class T, class K, unsigned S&gt;<br>
 class ost::objMap&lt; T, K, S &gt;</h3>

Used to create and manage a hash index of objects through a common type.hash indexed searchable template chain. 
<p>
The objects can be examined and a specific instance located by a hash key.<p>
<dl compact><dt><b>Author:</b></dt><dd>David Sugar &lt;<a href="mailto:dyfet@gnutelephony.org">dyfet@gnutelephony.org</a>&gt; </dd></dl>

<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="8a7026786efd9c660fbdfa05205ea313"></a><!-- doxytag: member="ost::objMap::objMap" ref="8a7026786efd9c660fbdfa05205ea313" args="(const K key)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="mdPrefix" colspan="4">
template&lt;class T, class K, unsigned S&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classost_1_1obj_map.html">ost::objMap</a>&lt; T, K, S &gt;::<a class="el" href="classost_1_1obj_map.html">objMap</a>           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const K&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>key</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline, protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="6a4a422b97bf84670c05c934d93371ea"></a><!-- doxytag: member="ost::objMap::getObject" ref="6a4a422b97bf84670c05c934d93371ea" args="(keystring key)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="mdPrefix" colspan="4">
template&lt;class T, class K, unsigned S&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top">T * <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>&lt; T, K, S &gt;::getObject           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">keystring&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>key</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="fc0f9891beba8ddfd2285566c74f1a62"></a><!-- doxytag: member="ost::objMap::getSize" ref="fc0f9891beba8ddfd2285566c74f1a62" args="(void)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="mdPrefix" colspan="4">
template&lt;class T, class K, unsigned S&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top">unsigned <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>&lt; T, K, S &gt;::getSize           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline, protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="569d900c4fd6288742df69b5f9892e64"></a><!-- doxytag: member="ost::objMap::keyIndex" ref="569d900c4fd6288742df69b5f9892e64" args="(K k)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="mdPrefix" colspan="4">
template&lt;class T, class K, unsigned S&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top">virtual unsigned <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>&lt; T, K, S &gt;::keyIndex           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">K&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>k</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="ef8176a8acd51c60d305df1dc33c667d"></a><!-- doxytag: member="ost::objMap::objIndex" ref="ef8176a8acd51c60d305df1dc33c667d" args="[S]" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="mdPrefix" colspan="4">
template&lt;class T, class K, unsigned S&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top">T * <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>&lt; T, K, S &gt;::<a class="el" href="classost_1_1obj_map.html#ef8176a8acd51c60d305df1dc33c667d">objIndex</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="96897e628e96ca4590efb4c84db7edf0"></a><!-- doxytag: member="ost::objMap::objKey" ref="96897e628e96ca4590efb4c84db7edf0" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="mdPrefix" colspan="4">
template&lt;class T, class K, unsigned S&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top">const K <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>&lt; T, K, S &gt;::<a class="el" href="classost_1_1obj_map.html#96897e628e96ca4590efb4c84db7edf0">objKey</a><code> [protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="1fc9048257b5dd2cf98fe1d86ee8d75b"></a><!-- doxytag: member="ost::objMap::objNext" ref="1fc9048257b5dd2cf98fe1d86ee8d75b" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="mdPrefix" colspan="4">
template&lt;class T, class K, unsigned S&gt; </td>
        </tr>
        <tr>
          <td class="md" nowrap valign="top">T* <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>&lt; T, K, S &gt;::<a class="el" href="classost_1_1obj_map.html#1fc9048257b5dd2cf98fe1d86ee8d75b">objNext</a><code> [protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="objmap_8h-source.html">objmap.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 19 10:50:56 2006 for GNU CommonC++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>