|
The Vish Visualization Shell 0.3
Vish
|
Convenience template class for mapping of keys to strong reference pointers; provides a read-only search operation using the () operator. More...
#include <elementary/memcore/RefMap.hpp>
Public Member Functions | |
| ValuePtr_t | operator() (const Key &K) const |
| Search for an object stored in this map. | |
Convenience template class for mapping of keys to strong reference pointers; provides a read-only search operation using the () operator.
All objects stored in this RefMap are kept alive.
|
inline |
Search for an object stored in this map.
Note that this operation is ambigious, as it may find a null pointer stored in this map. If it is important to distinguish between a stored null pointer versus a key not found, then the map's find() version needs to be used.