#include <Map.h>
Inheritance diagram for util::Map< key, value >:

Public Methods | |
| virtual const value * | get (const key &obj) const |
| Get the value associated with key from the map. | |
| virtual value * | get (const key &obj)=0 |
| Get the value associated with key from the map. | |
| const value * | operator[] (const key &obj) const |
| Get a pointer to a stored object. | |
| value * | operator[] (const key &obj) |
| Get a pointer to a stored object. | |
| virtual void | put (const key &obj, const value &val)=0 |
| Put a value into the map. | |
|
||||||||||
|
Get the value associated with key from the map.
Implemented in util::Hashtable< key, value >, util::Hashtable< int, SignalHandler * >, util::Hashtable< std::string, Serializer * >, and util::Hashtable< std::string, std::string >. |
|
||||||||||
|
Get the value associated with key from the map. The default implementation calls the non-const version and returns the result as a const pointer.
|
|
||||||||||
|
Get a pointer to a stored object. Calls get(obj).
|
|
||||||||||
|
Get a pointer to a stored object. Calls get(obj).
|
|
||||||||||||||||
|
Put a value into the map.
Implemented in util::Hashtable< key, value >, util::Hashtable< int, SignalHandler * >, util::Hashtable< std::string, Serializer * >, and util::Hashtable< std::string, std::string >. |