Qucs-core
0.0.18
|
#include <hash.h>
Public Member Functions | |
hash (int size=HASH_MIN_SIZE) | |
~hash () | |
int | count (void) |
void | clear (void) |
void | rehash (int) |
type_t * | put (char *, type_t *) |
type_t * | get (char *) |
type_t * | del (char *) |
Private Attributes | |
int | buckets |
int | fill |
int | keys |
int(* | equals )(char *, char *) |
int(* | code )(char *) |
unsigned(* | keylen )(char *) |
hashbucket< type_t > ** | table |
Friends | |
class | hashiterator< type_t > |
qucs::hash< type_t >::hash | ( | int | size = HASH_MIN_SIZE | ) |
qucs::hash< type_t >::~hash | ( | ) |
void qucs::hash< type_t >::clear | ( | void | ) |
int qucs::hash< type_t >::count | ( | void | ) |
type_t * qucs::hash< type_t >::del | ( | char * | key | ) |
type_t * qucs::hash< type_t >::get | ( | char * | key | ) |
type_t * qucs::hash< type_t >::put | ( | char * | key, |
type_t * | value | ||
) |
void qucs::hash< type_t >::rehash | ( | int | type | ) |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |