#include <List.h>
Public Member Functions | |
| HTable (Type data) | |
| DO_INLINE_F void | add (Type data, void *key) |
| DO_INLINE_F | HTable () |
| bool | addUnique (Type data, void *key) |
| DO_INLINE_F Type | find (void *key) |
| DO_INLINE_F bool | remove (void *key) |
| DO_INLINE_F HTable< Type > | operator= (HTable< Type > arg) |
| Type | operator* () |
| Type | operator++ (int) |
| Type | operator++ () |
| int | count () |
Private Attributes | |
| List< Type > ** | table |
| List< Type > | currList |
| int | currHid |
| int | tableSize |
Friends | |
| std::ostream & | operator<< (std::ostream &os, HTable< Type > &data) |
Definition at line 303 of file List.h.
Definition at line 320 of file List.h.
References HTable< Type >::add(), and HTable< Type >::HTable().
Referenced by HTable< Type >::HTable().
Definition at line 416 of file List.h.
References HTable< Type >::currHid, HTable< Type >::table, and HTable< Type >::tableSize.
| DO_INLINE_F void HTable< Type >::add | ( | Type | data, | |
| void * | key | |||
| ) | [inline] |
Definition at line 437 of file List.h.
References ListHash, HTable< Type >::table, and HTable< Type >::tableSize.
Referenced by HTable< Type >::addUnique(), and HTable< Type >::HTable().
| bool HTable< Type >::addUnique | ( | Type | data, | |
| void * | key | |||
| ) | [inline] |
Definition at line 323 of file List.h.
References HTable< Type >::add(), and HTable< Type >::find().
| int HTable< Type >::count | ( | ) | [inline] |
Definition at line 372 of file List.h.
References ListBase< DataType, KeyType >::count(), HTable< Type >::table, and HTable< Type >::tableSize.
| DO_INLINE_F Type HTable< Type >::find | ( | void * | key | ) | [inline] |
Definition at line 423 of file List.h.
References ListHash, HTable< Type >::table, and HTable< Type >::tableSize.
Referenced by HTable< Type >::addUnique().
| Type HTable< Type >::operator* | ( | ) | [inline] |
Definition at line 337 of file List.h.
References HTable< Type >::currList.
| Type HTable< Type >::operator++ | ( | ) | [inline] |
Definition at line 357 of file List.h.
References HTable< Type >::currHid, HTable< Type >::currList, HTable< Type >::table, and HTable< Type >::tableSize.
| Type HTable< Type >::operator++ | ( | int | ) | [inline] |
Definition at line 341 of file List.h.
References HTable< Type >::currHid, HTable< Type >::currList, HTable< Type >::table, and HTable< Type >::tableSize.
| DO_INLINE_F HTable< Type > HTable< Type >::operator= | ( | HTable< Type > | arg | ) | [inline] |
Definition at line 406 of file List.h.
References HTable< Type >::currHid, HTable< Type >::table, and HTable< Type >::tableSize.
| DO_INLINE_F bool HTable< Type >::remove | ( | void * | key | ) | [inline] |
Definition at line 454 of file List.h.
References ListHash, HTable< Type >::table, and HTable< Type >::tableSize.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| HTable< Type > & | data | |||
| ) | [friend] |
Definition at line 387 of file List.h.
Referenced by HTable< Type >::HTable(), HTable< Type >::operator++(), and HTable< Type >::operator=().
Definition at line 386 of file List.h.
Referenced by HTable< Type >::operator*(), and HTable< Type >::operator++().
Definition at line 385 of file List.h.
Referenced by HTable< Type >::add(), HTable< Type >::count(), HTable< Type >::find(), HTable< Type >::HTable(), HTable< Type >::operator++(), operator<<(), HTable< Type >::operator=(), and HTable< Type >::remove().
Definition at line 388 of file List.h.
Referenced by HTable< Type >::add(), HTable< Type >::count(), HTable< Type >::find(), HTable< Type >::HTable(), HTable< Type >::operator++(), operator<<(), HTable< Type >::operator=(), and HTable< Type >::remove().
1.6.1