?? type_gconststringhashtable.html
字號:
<html><head><title>Generated Documentation</title></head><body> <image src="headerimage.png"> <br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GConstStringHashTable</b></big></big></big><br>extends <a href="type_GHashTableBase.html">GHashTableBase</a><br></td><td> Hash table based on keys of constant strings (or at least strings that won't change during the lifetime of the hash table). It's a good idea to use a GStringHeap in connection with this class.</td></tr></table><br><br><big><big><i>Constructors (public)</i></big></big><br><div style="margin-left: 40px;"><big><b>GConstStringHashTable</b></big>(int nInitialBucketCount, bool bCaseSensitive)<br></div><br><big><big><i>Destructors</i></big></big><br><div style="margin-left: 40px;"><big><b>~GConstStringHashTable</b></big>()<br></div><br><big><big><i>Virtual (public)</i></big></big><br><div style="margin-left: 40px;">bool <big><b>AreKeysEqual</b></big>(const char* pKey1, const char* pKey2)<br>int <big><b>Hash</b></big>(const unsigned char* pKey, int nBucketCount)<br></div><br><big><big><i>Public</i></big></big><br><div style="margin-left: 40px;">void <big><b>Add</b></big>(const char* pKey, const void* pValue)<br><div style="margin-left: 80px;"><font color=brown> Adds a key and value pair to the hash table. The key should be a constant string (or at least a string that won't change over the lifetime of the hash table). The GStringHeap class provides a good place to store such a string.</font></div><br>bool <big><b>Get</b></big>(const char* pKey, int nLen, void* ppOutValue)<br><div style="margin-left: 80px;"><font color=brown> Gets the value for the specified key</font></div><br>bool <big><b>Get</b></big>(const char* pKey, void* ppOutValue)<br><div style="margin-left: 80px;"><font color=brown> Gets the value for the specified key</font></div><br>void <big><b>Remove</b></big>(const char* pKey)<br><div style="margin-left: 80px;"><font color=brown> Removes an entry from the hash table</font></div><br></div><br></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -