#include <sc_hash.h>

Public 型 | |
| typedef sc_phash_iter< K, C > | iterator |
Public メソッド | |
| sc_phash (C def=(C) 0, int size=PHASH_DEFAULT_INIT_TABLE_SIZE, int density=PHASH_DEFAULT_MAX_DENSITY, double grow=PHASH_DEFAULT_GROW_FACTOR, bool reorder=PHASH_DEFAULT_REORDER_FLAG, hash_fn_t hash_fn=default_ptr_hash_fn, cmpr_fn_t cmpr_fn=0) | |
| ~sc_phash () | |
| void | copy (const sc_phash< K, C > *b) |
| void | copy (const sc_phash< K, C > &b) |
| void | copy (const sc_phash< K, C > &b, void *(*kdup)(const void *), void(*kfree)(void *)) |
| int | insert (K k, C c) |
| int | insert (K k) |
| int | insert (K k, C c, void *(*kdup)(const void *)) |
| int | insert_if_not_exists (K k, C c) |
| int | insert_if_not_exists (K k) |
| int | insert_if_not_exists (K k, C c, void *(*kdup)(const void *)) |
| int | remove (K k) |
| int | remove (K k, K *pk, C *pc) |
| int | remove (K k, void(*kfree)(void *)) |
| int | remove_by_contents (C c) |
| int | remove_by_contents (bool(*predicate)(const void *, void *), void *arg) |
| int | remove_by_contents (const void *c, void(*kfree)(void *)) |
| int | remove_by_contents (bool(*predicate)(const void *, void *), void *arg, void(*kfree)(void *)) |
| int | lookup (K k, C *pc) const |
| bool | contains (K k) const |
| C | operator[] (K k) const |
フレンド | |
| class | sc_phash_iter< K, C > |
| typedef sc_phash_iter<K,C> sc_core::sc_phash< K, C >::iterator |
sc_core::sc_phash_baseを再定義しています。
| sc_core::sc_phash< K, C >::sc_phash | ( | C | def = (C) 0, |
|
| int | size = PHASH_DEFAULT_INIT_TABLE_SIZE, |
|||
| int | density = PHASH_DEFAULT_MAX_DENSITY, |
|||
| double | grow = PHASH_DEFAULT_GROW_FACTOR, |
|||
| bool | reorder = PHASH_DEFAULT_REORDER_FLAG, |
|||
| hash_fn_t | hash_fn = default_ptr_hash_fn, |
|||
| cmpr_fn_t | cmpr_fn = 0 | |||
| ) | [inline] |
| sc_core::sc_phash< K, C >::~sc_phash | ( | ) | [inline] |
| void sc_core::sc_phash< K, C >::copy | ( | const sc_phash< K, C > * | b | ) | [inline] |
| void sc_core::sc_phash< K, C >::copy | ( | const sc_phash< K, C > & | b | ) | [inline] |
| void sc_core::sc_phash< K, C >::copy | ( | const sc_phash< K, C > & | b, | |
| void *(*)(const void *) | kdup, | |||
| void(*)(void *) | kfree | |||
| ) | [inline] |
| int sc_core::sc_phash< K, C >::insert | ( | K | k, | |
| C | c | |||
| ) | [inline] |
| int sc_core::sc_phash< K, C >::insert | ( | K | k | ) | [inline] |
| int sc_core::sc_phash< K, C >::insert | ( | K | k, | |
| C | c, | |||
| void *(*)(const void *) | kdup | |||
| ) | [inline] |
| int sc_core::sc_phash< K, C >::insert_if_not_exists | ( | K | k, | |
| C | c | |||
| ) | [inline] |
| int sc_core::sc_phash< K, C >::insert_if_not_exists | ( | K | k | ) | [inline] |
| int sc_core::sc_phash< K, C >::insert_if_not_exists | ( | K | k, | |
| C | c, | |||
| void *(*)(const void *) | kdup | |||
| ) | [inline] |
| int sc_core::sc_phash< K, C >::remove | ( | K | k | ) | [inline] |
| int sc_core::sc_phash< K, C >::remove | ( | K | k, | |
| K * | pk, | |||
| C * | pc | |||
| ) | [inline] |
| int sc_core::sc_phash< K, C >::remove | ( | K | k, | |
| void(*)(void *) | kfree | |||
| ) | [inline] |
| int sc_core::sc_phash< K, C >::remove_by_contents | ( | C | c | ) | [inline] |
| int sc_core::sc_phash< K, C >::remove_by_contents | ( | bool(*)(const void *, void *) | predicate, | |
| void * | arg | |||
| ) | [inline] |
sc_core::sc_phash_baseを再定義しています。
| int sc_core::sc_phash< K, C >::remove_by_contents | ( | const void * | c, | |
| void(*)(void *) | kfree | |||
| ) | [inline] |
sc_core::sc_phash_baseを再定義しています。
| int sc_core::sc_phash< K, C >::remove_by_contents | ( | bool(*)(const void *, void *) | predicate, | |
| void * | arg, | |||
| void(*)(void *) | kfree | |||
| ) | [inline] |
sc_core::sc_phash_baseを再定義しています。
| int sc_core::sc_phash< K, C >::lookup | ( | K | k, | |
| C * | pc | |||
| ) | const [inline] |
| bool sc_core::sc_phash< K, C >::contains | ( | K | k | ) | const [inline] |
| C sc_core::sc_phash< K, C >::operator[] | ( | K | k | ) | const [inline] |
friend class sc_phash_iter< K, C > [friend] |
1.5.6