<!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< T, K, S > 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 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 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 List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class 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< T, K, S > 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 <<a class="el" href="objmap_8h-source.html">objmap.h</a>></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 * </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 </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 </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"> </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 * </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 </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 * </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<class T, class K, unsigned S><br> class ost::objMap< T, K, S ></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 <<a href="mailto:dyfet@gnutelephony.org">dyfet@gnutelephony.org</a>> </dd></dl> <p> <hr><h2>Constructor & 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<class T, class K, unsigned S> </td> </tr> <tr> <td class="md" nowrap valign="top"><a class="el" href="classost_1_1obj_map.html">ost::objMap</a>< T, K, S >::<a class="el" href="classost_1_1obj_map.html">objMap</a> </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const K </td> <td class="mdname1" valign="top" nowrap> <em>key</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </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<class T, class K, unsigned S> </td> </tr> <tr> <td class="md" nowrap valign="top">T * <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>< T, K, S >::getObject </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">keystring </td> <td class="mdname1" valign="top" nowrap> <em>key</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </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<class T, class K, unsigned S> </td> </tr> <tr> <td class="md" nowrap valign="top">unsigned <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>< T, K, S >::getSize </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </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<class T, class K, unsigned S> </td> </tr> <tr> <td class="md" nowrap valign="top">virtual unsigned <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>< T, K, S >::keyIndex </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">K </td> <td class="mdname1" valign="top" nowrap> <em>k</em> </td> <td class="md" valign="top"> ) </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> </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<class T, class K, unsigned S> </td> </tr> <tr> <td class="md" nowrap valign="top">T * <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>< T, K, S >::<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> </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<class T, class K, unsigned S> </td> </tr> <tr> <td class="md" nowrap valign="top">const K <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>< T, K, S >::<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> </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<class T, class K, unsigned S> </td> </tr> <tr> <td class="md" nowrap valign="top">T* <a class="el" href="classost_1_1obj_map.html">ost::objMap</a>< T, K, S >::<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> </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 <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>