
#include <gzTemplates.h>
Inheritance diagram for gzDict< T1, T2 >:

Public Member Functions | |
| gzDict (gzULong size=10, gzBool useAutoResize=FALSE) | |
| gzDict (const gzDict< T1, T2 > ©) | |
| const gzDict< T1, T2 > & | operator= (const gzDict< T1, T2 > ©) |
| virtual | ~gzDict () |
| gzVoid | clear () |
| gzVoid | clearAndDestroy () |
| gzVoid | enter (const T1 &, T2 *) |
| T2 * | find (const T1 &, T2 *parent=NULL) const |
| gzBool | exist (const T1 &, T2 *data=NULL) const |
| T2 * | remove (const T1 &, T2 *data=NULL) |
| virtual gzVoid | onInsert (const T1 &, T2 *) const |
| virtual gzVoid | onRemove (const T1 &, T2 *) const |
| virtual gzDictEntry< T1, T2 > * | cloneEntry (gzDictEntry< T1, T2 > *item) const |
| gzULong | entries () const |
| gzVoid | setSize (gzULong size) |
| gzULong | getSize () const |
| gzVoid | resize (gzULong size) |
| gzVoid | cleanLinks () |
| Provide the ability to do a garbage collect of used item links. | |
| gzVoid | reuseLinks (gzBool on=FALSE) |
| gzVoid | useAutoResize (gzBool on=FALSE) |
Protected Member Functions | |
| gzDictEntry< T1, T2 > * | allocEntry (const T1 &key, T2 *pek, gzULong hash) const |
| gzVoid | disposeEntry (gzDictEntry< T1, T2 > *entry) const |
| gzVoid | cleanEntries () |
Friends | |
| class | gzDictConstIterator< T1, T2 > |
| class | gzDictIterator< T1, T2 > |
| class | gzDictList< T1, T2 > |
| class | gzDictArray< T1, T2 > |
Definition at line 2769 of file gzTemplates.h.
|
||||||||||||||||
|
Definition at line 2958 of file gzTemplates.h. |
|
||||||||||
|
Definition at line 2914 of file gzTemplates.h. References FALSE. |
|
|||||||||
|
Definition at line 3213 of file gzTemplates.h. References gzDict< T1, T2 >::cleanEntries(), and gzDict< T1, T2 >::clear(). |
|
||||||||||||||||||||
|
Definition at line 2871 of file gzTemplates.h. References gzList< T >::entries(), and gzList< T >::removeFirst(). Referenced by gzDict< T1, T2 >::cloneEntry(), gzRefDict< gzString, gzFuncInfo >::cloneEntry(), and gzDict< T1, T2 >::enter(). |
|
|||||||||
|
Definition at line 2888 of file gzTemplates.h. References gzList< T >::clearAndDestroy(), and gzList< T >::entries(). Referenced by gzDict< T1, T2 >::~gzDict(). |
|
|||||||||
|
Provide the ability to do a garbage collect of used item links.
Definition at line 3122 of file gzTemplates.h. References gzList< gzDictEntry< T1, T2 > >::cleanLinks(). |
|
|||||||||
|
|||||||||
|
Definition at line 3346 of file gzTemplates.h. References gzDictIterator< T1, T2 >::remove(). |
|
||||||||||
|
Reimplemented in gzRefDict< T1, T2 >. Definition at line 2896 of file gzTemplates.h. References gzDict< T1, T2 >::allocEntry(), gzDictEntry< T1, T2 >::getData(), gzDictEntry< T1, T2 >::getHash(), and gzDictEntry< T1, T2 >::getKey(). |
|
||||||||||
|
Definition at line 2880 of file gzTemplates.h. References gzList< T >::pre_insert(). |
|
||||||||||||||||
|
|||||||||
|
Definition at line 2799 of file gzTemplates.h. |
|
||||||||||||||||
|
Definition at line 2993 of file gzTemplates.h. References FALSE, gzDictEntry< T1, T2 >::m_hash, gzDictEntry< T1, T2 >::m_key, gzDictEntry< T1, T2 >::m_pek, NULL, and TRUE. |
|
||||||||||||||||
|
|||||||||
|
Definition at line 2970 of file gzTemplates.h. |
|
||||||||||||||||
|
Reimplemented in gzRefDict< T1, T2 >. Definition at line 2793 of file gzTemplates.h. |
|
||||||||||||||||
|
Reimplemented in gzRefDict< T1, T2 >. Definition at line 2795 of file gzTemplates.h. |
|
||||||||||
|
Definition at line 2901 of file gzTemplates.h. References gzDict< T1, T2 >::m_array, gzDict< T1, T2 >::m_entries, gzDict< T1, T2 >::m_size, and NULL. Referenced by gzRefDict< gzString, gzFuncInfo >::gzRefDict(). |
|
||||||||||||||||
|
||||||||||
|
Definition at line 2984 of file gzTemplates.h. References NULL. |
|
||||||||||
|
Definition at line 2846 of file gzTemplates.h. References gzList< T >::reuseLinks(), and gzList< gzDictEntry< T1, T2 > >::reuseLinks(). |
|
||||||||||
|
Definition at line 2975 of file gzTemplates.h. References gzDict< T1, T2 >::clear(), and NULL. |
|
||||||||||
|
Definition at line 2866 of file gzTemplates.h. |
|
|||||
|
Definition at line 2825 of file gzTemplates.h. |
|
|||||
|
Definition at line 2822 of file gzTemplates.h. |
|
|||||
|
Definition at line 2823 of file gzTemplates.h. |
|
|||||
|
Definition at line 2824 of file gzTemplates.h. |