#include <Map.h>
Inherits Map< uintptr_t, List< C, A >, A >.
Public Types | |
typedef ConsCell< C, A > | ChainCons |
Public Member Functions | |
C | put (C c) |
C | get (C c) |
C | put_bag (C c) |
int | get_bag (C c, Vec< C > &v) |
int | del (C avalue) |
void | get_elements (Vec< C > &elements) |
Definition at line 154 of file Map.h.
int ChainHash< C, AHashFns, A >::del | ( | C | avalue | ) |
Definition at line 541 of file Map.h.
References ConsCell< C, A >::cdr, Vec< C, A, S >::e, forc_List, List< C, A >::head, Vec< C, A, S >::last(), Vec< C, A, S >::set_in(), and MapElem< K, C >::value.
C ChainHash< C, AHashFns, A >::get | ( | C | c | ) |
Definition at line 486 of file Map.h.
References Vec< C, A, S >::e, forc_List, Vec< C, A, S >::set_in(), and MapElem< K, C >::value.
int ChainHash< C, AHashFns, A >::get_bag | ( | C | c, | |
Vec< C > & | v | |||
) |
Definition at line 517 of file Map.h.
References Vec< C, A, S >::add(), Vec< C, A, S >::e, forc_List, Vec< C, A, S >::n, Vec< C, A, S >::set_in(), and MapElem< K, C >::value.
void ChainHash< C, AHashFns, A >::get_elements | ( | Vec< C > & | elements | ) |
Definition at line 532 of file Map.h.
References Vec< C, A, S >::add(), forc_List, Vec< C, A, S >::i, Vec< C, A, S >::n, and Vec< C, A, S >::v.
C ChainHash< C, AHashFns, A >::put | ( | C | c | ) |
Definition at line 467 of file Map.h.
References Vec< C, A, S >::e, forc_List, List< C, A >::head, List< C, A >::push(), Vec< C, A, S >::set_in(), and MapElem< K, C >::value.
Referenced by ChainHash< C, AHashFns, A >::put_bag().
C ChainHash< C, AHashFns, A >::put_bag | ( | C | c | ) |
Definition at line 501 of file Map.h.
References Vec< C, A, S >::e, List< C, A >::head, List< C, A >::push(), ChainHash< C, AHashFns, A >::put(), Vec< C, A, S >::set_in(), and MapElem< K, C >::value.