# opentl::core::util::StorageMgr Class Reference

List of all members.

## Public Member Functions
| StorageMgr ()
virtual | ~StorageMgr ()
## Static Public Member Functions
template<class _Type , typename _Container , typename _Key >
static _Type * | getStorage (_Container &container, _Key key)
| Return a data type based on a single key of a std container and creates the data structure if neccessary with the key as parameter.

## Detailed Description

Author:
  Thorsten Roeder <roeder@in.tum.de>

## Constructor & Destructor Documentation

opentl::core::util::StorageMgr::StorageMgr | ( |  | ) |

virtual opentl::core::util::StorageMgr::~StorageMgr | ( |  | ) | `[virtual]`

## Member Function Documentation

template<class _Type , typename _Container , typename _Key >

static _Type* opentl::core::util::StorageMgr::getStorage | ( | _Container & | container,
|  | _Key | key |
| ) |  |  | `[inline, static]`

Return a data type based on a single key of a std container and creates the data structure if neccessary with the key as parameter.

Parameters:

  | containter | STL container to use
  | key | arbitrary key used for lookup _and_ initialization of the structure