Qucs-core
0.0.19
|
#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 | ) |
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 class hashiterator< type_t > [friend] |
int qucs::hash< type_t >::buckets [private] |
int(* qucs::hash< type_t >::equals)(char *, char *) [private] |
int qucs::hash< type_t >::fill [private] |
unsigned(* qucs::hash< type_t >::keylen)(char *) [private] |
int qucs::hash< type_t >::keys [private] |
hashbucket<type_t>** qucs::hash< type_t >::table [private] |