📄 group__g__hash.html
字号:
<td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return a pointer associated with the given key. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>table</em> </td><td>- Table handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>- String key</td></tr> </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Stored pointer associated with the key otherwise NULL </dd></dl><p>Definition at line <a class="el" href="hash_8c-source.html#l00273">273</a> of file <a class="el" href="hash_8c-source.html">hash.c</a>.</p><p>References <a class="el" href="group__g__hash.html#g459349a19b3780933d87a9a1257d4f7b">OCI_HashGetValue()</a>, <a class="el" href="ocilib_8h-source.html#l00980">OCI_Variant::p_void</a>, <a class="el" href="ocilib__types_8h-source.html#l00573">OCI_HashTable::type</a>, and <a class="el" href="ocilib_8h-source.html#l01012">OCI_HashValue::value</a>.</p><p>Referenced by <a class="el" href="group__g__threads.html#g6d02f4af58c0615e649d47d775e5fc3e">OCI_ThreadKeyGetValue()</a>, and <a class="el" href="group__g__threads.html#g0b4232385d2b82a5a35d8ff2afa046c6">OCI_ThreadKeySetValue()</a>.</p></div></div><p><a class="anchor" name="g0c09d091560a0ef02c96558a254b32db"></a><!-- doxytag: member="ocilib.h::OCI_HashGetSize" ref="g0c09d091560a0ef02c96558a254b32db" args="(OCI_HashTable *table)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_HashGetSize </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___hash_table.html">OCI_HashTable</a> * </td> <td class="paramname"> <em>table</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the size of the hash table. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>table</em> </td><td>- Table handle </td></tr> </table></dl><p>Definition at line <a class="el" href="hash_8c-source.html#l00164">164</a> of file <a class="el" href="hash_8c-source.html">hash.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00571">OCI_HashTable::size</a>.</p></div></div><p><a class="anchor" name="gbf7b27da6793f98c0f635fd3b40957e5"></a><!-- doxytag: member="ocilib.h::OCI_HashGetString" ref="gbf7b27da6793f98c0f635fd3b40957e5" args="(OCI_HashTable *table, const mtext *key)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT const mtext* OCI_API OCI_HashGetString </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___hash_table.html">OCI_HashTable</a> * </td> <td class="paramname"> <em>table</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const mtext * </td> <td class="paramname"> <em>key</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the string value associated to the given key. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>table</em> </td><td>- Table handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>- String key</td></tr> </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Stored string associated with the key otherwise NULL </dd></dl><p>Definition at line <a class="el" href="hash_8c-source.html#l00225">225</a> of file <a class="el" href="hash_8c-source.html">hash.c</a>.</p><p>References <a class="el" href="group__g__hash.html#g459349a19b3780933d87a9a1257d4f7b">OCI_HashGetValue()</a>, <a class="el" href="ocilib_8h-source.html#l00984">OCI_Variant::p_mtext</a>, <a class="el" href="ocilib__types_8h-source.html#l00573">OCI_HashTable::type</a>, and <a class="el" href="ocilib_8h-source.html#l01012">OCI_HashValue::value</a>.</p></div></div><p><a class="anchor" name="g3fee7204caa79b6a907888afad3e54ec"></a><!-- doxytag: member="ocilib.h::OCI_HashGetType" ref="g3fee7204caa79b6a907888afad3e54ec" args="(OCI_HashTable *table)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_HashGetType </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___hash_table.html">OCI_HashTable</a> * </td> <td class="paramname"> <em>table</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the type of the hash table. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>table</em> </td><td>- Table handle</td></tr> </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>the return value can be one of the following values :</dd></dl><ul><li>OCI_HASH_STRING : string values</li><li>OCI_HASH_INTEGER : integer values</li><li>OCI_HASH_POINTER : pointer values</li></ul><p><dl class="return" compact><dt><b>Returns:</b></dt><dd>Hashtable datatype or OCI_UNKNOWN the input handle is NULL </dd></dl><p>Definition at line <a class="el" href="hash_8c-source.html#l00177">177</a> of file <a class="el" href="hash_8c-source.html">hash.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00573">OCI_HashTable::type</a>.</p></div></div><p><a class="anchor" name="g459349a19b3780933d87a9a1257d4f7b"></a><!-- doxytag: member="ocilib.h::OCI_HashGetValue" ref="g459349a19b3780933d87a9a1257d4f7b" args="(OCI_HashTable *table, const mtext *key)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___hash_value.html">OCI_HashValue</a>* OCI_API OCI_HashGetValue </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___hash_table.html">OCI_HashTable</a> * </td> <td class="paramname"> <em>table</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const mtext * </td> <td class="paramname"> <em>key</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the first hash slot that matches the key. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>table</em> </td><td>- Table handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>- String key</td></tr> </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Slot handle if key found otherwise NULL </dd></dl><p>Definition at line <a class="el" href="hash_8c-source.html#l00190">190</a> of file <a class="el" href="hash_8c-source.html">hash.c</a>.</p><p>References <a class="el" href="group__g__hash.html#g28b2bb02f22478e93a7f65e399f5b704">OCI_HashLookup()</a>, and <a class="el" href="ocilib_8h-source.html#l01026">OCI_HashEntry::values</a>.</p><p>Referenced by <a class="el" href="group__g__hash.html#g66c44e17f92225a26b274df4c5794fc2">OCI_HashGetInt()</a>, <a class="el" href="group__g__hash.html#g4b5fe71fbbb41265efa5645e4dd5838a">OCI_HashGetPointer()</a>, and <a class="el" href="group__g__hash.html#gbf7b27da6793f98c0f635fd3b40957e5">OCI_HashGetString()</a>.</p></div></div><p><a class="anchor" name="g28b2bb02f22478e93a7f65e399f5b704"></a><!-- doxytag: member="ocilib.h::OCI_HashLookup" ref="g28b2bb02f22478e93a7f65e399f5b704" args="(OCI_HashTable *table, const mtext *key, boolean create)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___hash_entry.html">OCI_HashEntry</a>* OCI_API OCI_HashLookup </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___hash_table.html">OCI_HashTable</a> * </td> <td class="paramname"> <em>table</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const mtext * </td> <td class="paramname"> <em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">boolean </td> <td class="paramname"> <em>create</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Lookup for an entry matching the key in the table. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>table</em> </td><td>- Table handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>- String key </td></tr> <tr><td valign="top"></td><td valign="top"><em>create</em> </td><td>- Do create the entry if not exists</td></tr> </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Entry handle if key found/added otherwise NULL </dd></dl><p>Definition at line <a class="el" href="hash_8c-source.html#l00411">411</a> of file <a class="el" href="hash_8c-source.html">hash.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00570">OCI_HashTable::items</a>, <a class="el" href="ocilib_8h-source.html#l01025">OCI_HashEntry::key</a>, and <a class="el" href="ocilib_8h-source.html#l01027">OCI_HashEntry::next</a>.</p><p>Referenced by <a class="el" href="group__g__hash.html#g459349a19b3780933d87a9a1257d4f7b">OCI_HashGetValue()</a>.</p></div></div><p><hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 10:07:48 2008 for OCILIB (C Driver for Oracle) by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -