#include <common/suif_map.h>
Inheritance diagram for suif_map:
Public Types | |
typedef pair | value_type |
typedef domain | key_type |
typedef range | data_type |
Public Methods | |
suif_map () | |
virtual | ~suif_map () |
pair& | enter_value (domain x,range y) |
Enter a value into the table with key x and value y. | |
iterator | find (const domain &x) const |
Find an entry by key. More... | |
range | lookup (const domain &x) |
Similar to find() except returning the associated value. More... | |
iterator | begin () const |
Get an iterator to iterate over the values. | |
iterator | end () const |
void | erase (iterator &iter) |
Remove an entry. | |
unsigned | size () const |
Return count of entries in table. | |
iterator | insert (iterator &x,const pair &p) |
Insert into a table at the given position. | |
void | clear (void) |
Clear all entries. |
|
|
|
|
|
|
|
|
Reimplemented from suif_map_inner.
|
Enter a value into the table with key x and value y.
|
Remove an entry.
|
Find an entry by key.
Returns end() if not found
|
Insert into a table at the given position.
|
Similar to find() except returning the associated value.
assert if no value associated with the key in ths map.
|
Return count of entries in table.