X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84b63045ca83a6e17a6cf36561198386937bfd82..a84ece11fffdde5d1bbd254ba58ac3cee79c2e77:/docs/latex/wx/hash.tex?ds=inline diff --git a/docs/latex/wx/hash.tex b/docs/latex/wx/hash.tex index 216c4a588c..3609e1c5f5 100644 --- a/docs/latex/wx/hash.tex +++ b/docs/latex/wx/hash.tex @@ -1,5 +1,8 @@ \section{\class{wxHashTable}}\label{wxhashtable} +{\bf Please note} that this class is retained for backward compatibility +reasons; you should use \helpref{wxHashMap}{wxhashmap}. + This class provides hash table functionality for wxWindows, and for an application if it wishes. Data can be hashed on an integer or string key. @@ -95,7 +98,7 @@ is destroyed. \func{wxObject *}{Get}{\param{long}{ key}} -\func{wxObject *}{Get}{\param{const wxString\& }{ key}} +\func{wxObject *}{Get}{\param{const char*}{ key}} Gets data from the hash table, using an integer or string key (depending on which has table constructor was used). @@ -121,10 +124,15 @@ description for \helpref{wxNode}{wxnode}. The user will probably only wish to us \func{void}{Put}{\param{long}{ key}, \param{wxObject *}{object}} -\func{void}{Put}{\param{const wxString\& }{ key}, \param{wxObject *}{object}} +\func{void}{Put}{\param{const char*}{ key}, \param{wxObject *}{object}} Inserts data into the hash table, using an integer or string key (depending on which has table constructor was used). The key string is copied and stored by the hash table implementation. +\membersection{wxHashTable::GetCount} + +\constfunc{size\_t}{GetCount}{\void} + +Returns the number of elements in the hash table.