Accesses the data based on the provided (KeyType, DataType) pair. More...
#include <data_container.hpp>
Public Types | |
| typedef std::map< KeyType, DataType > | key_DataType |
Static Public Member Functions | |
| template<typename ContainerType , typename IdType > | |
| static DataType & | access (ContainerType &cont, IdType const &id, KeyType const &key) |
| Accesses the container for the given object ID and the provided key. | |
Accesses the data based on the provided (KeyType, DataType) pair.
| KeyType | Type of the key | |
| DataType | Type of the data | |
| KeyDispatchTag | A tag indicating full or type based key dispatch |
| typedef std::map< KeyType, DataType > key_DataType |
| static DataType& access | ( | ContainerType & | cont, | |
| IdType const & | id, | |||
| KeyType const & | key | |||
| ) | [inline, static] |
Accesses the container for the given object ID and the provided key.
1.7.1