Logo Search packages:      
Sourcecode: maq version File versions

hash_map_char< valtype_t > Class Template Reference

#include <stdhash.hh>

Inheritance diagram for hash_map_char< valtype_t >:

hash_set_char __lh3_hash_base_class< char * >

List of all members.

Detailed Description

template<class valtype_t>
class hash_map_char< valtype_t >

hash_map_char class

Definition at line 586 of file stdhash.hh.

Public Types

__lh3_hash_val_iterator< char
*, valtype_t > 

Public Member Functions

iterator begin ()
hashint_t capacity (void) const
void clear (void)
iterator end ()
bool erase (const char *key, valtype_t **q)
bool erase (const char *key)
bool find (const char *key) const
bool find (const char *key, valtype_t *q) const
void free ()
bool insert (const char *key)
bool insert (const char *key, valtype_t **q)
bool insert (const char *key, const valtype_t &val)
bool resize (hashint_t new_capacity)
hashint_t size (void) const
void val (hashint_t i, const valtype_t &v)
valtype_t & val (hashint_t i)

Protected Member Functions

int direct_insert_aux (const char *&key, hashint_t m, char **K, __lh3_flag_t *F, hashint_t *i)
int insert_aux (const char *key, hashint_t m, char **K, __lh3_flag_t *F, hashint_t *i)
bool resize_aux1 (hashint_t *new_capacity, __lh3_flag_t **new_flags)
void resize_aux2 (hashint_t new_capacity, __lh3_flag_t *new_flags)

Protected Attributes

__lh3_flag_t * flags
char ** keys
hashint_t n_capacity
hashint_t n_occupied
hashint_t n_size
hashint_t upper_bound

Private Member Functions

void rehash ()

Private Attributes

valtype_t * vals

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index