csHashMapReversible Class Reference
A csHashMap that maintains a reverse hash for indexing key strings by keys. More...
#include <hashmapr.h>
Inheritance diagram for csHashMapReversible:

Public Methods | |
void | Put (const char *key, csHashObject object) |
Put element into hash while implementing reversible features. | |
const char * | GetKey (csHashObject value) const |
Get the first original key string with the given value. | |
const char * | GetKey (csHashKey key) const |
Get the first original key string with the given key number. | |
csHashObject | Get (const char *key) const |
Calls Get(csHashCompute(key)). | |
csHashObject | Get (csHashKey key) const |
Get an object from this map. | |
void | Delete (const char *key, csHashObject object) |
Delete the element with the given key string. |
Detailed Description
A csHashMap that maintains a reverse hash for indexing key strings by keys.
Definition at line 28 of file hashmapr.h.
Member Function Documentation
|
Delete the element with the given key string.
|
|
Get an object from this map. Returns 0 if object is not there. If there are multiple elements with the same key then a random one will be returned. Use an iterator to iterate over all elements with the same key. Reimplemented from csHashMap. Definition at line 64 of file hashmapr.h. References csHashMap::Get(). |
|
Calls Get(csHashCompute(key)).
|
|
Get the first original key string with the given key number.
|
|
Get the first original key string with the given value.
|
|
Put element into hash while implementing reversible features. Does csHashCompute automatically. |
The documentation for this class was generated from the following file:
- csutil/hashmapr.h
Generated for Crystal Space by doxygen 1.2.18