X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..80d2803f703d1b238f42725504f08266ef02defe:/docs/latex/wx/hash.tex diff --git a/docs/latex/wx/hash.tex b/docs/latex/wx/hash.tex index 5cb1232974..6e45cab36e 100644 --- a/docs/latex/wx/hash.tex +++ b/docs/latex/wx/hash.tex @@ -8,6 +8,10 @@ key. \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Example} Below is an example of using a hash table. @@ -79,11 +83,19 @@ Clears the hash table of all nodes (but as usual, doesn't delete user data). Deletes entry in hash table and returns the user's data (if found). +\membersection{wxHashTable::DeleteContents} + +\func{void}{DeleteContents}{\param{bool}{ flag}} + +If set to TRUE data stored in hash table will be deleted when hash table object +is destroyed. + + \membersection{wxHashTable::Get} \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). @@ -109,10 +121,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{wxList::GetCount} + +\constfunc{size\_t}{GetCount}{\void} + +Returns the number of elements in the hash table.