#include <bbitkImage.h>
Public Types | |
typedef std::map< void *, ValueType >::const_iterator | const_iterator |
Public Member Functions | |
TypeMapping () | |
template<typename T> | |
ValueType & | value () |
template<typename T> | |
ValueType & | operator[] (const T &) |
ValueType & | operator[] (const std::type_info &t) |
unsigned int | size () const |
const_iterator | begin () const |
const_iterator | end () const |
Protected Attributes | |
std::map< void *, ValueType > | m_map |
Definition at line 389 of file bbitkImage.h.
typedef std::map<void*, ValueType>::const_iterator bbitk::TypeMapping< ValueType >::const_iterator |
Definition at line 412 of file bbitkImage.h.
bbitk::TypeMapping< ValueType >::TypeMapping | ( | ) | [inline] |
ValueType& bbitk::TypeMapping< ValueType >::value | ( | ) | [inline] |
Definition at line 395 of file bbitkImage.h.
References bbitk::TypeMapping< ValueType >::m_map.
00396 { 00397 return m_map[ (void*)typeid(T).name() ]; 00398 }
ValueType& bbitk::TypeMapping< ValueType >::operator[] | ( | const T & | ) | [inline] |
Definition at line 400 of file bbitkImage.h.
References bbitk::TypeMapping< ValueType >::m_map.
00401 { 00402 return m_map[ (void*)typeid(T).name() ]; 00403 }
ValueType& bbitk::TypeMapping< ValueType >::operator[] | ( | const std::type_info & | t | ) | [inline] |
Definition at line 405 of file bbitkImage.h.
References bbitk::TypeMapping< ValueType >::m_map.
00406 { 00407 return m_map[ (void*)t.name() ]; 00408 }
unsigned int bbitk::TypeMapping< ValueType >::size | ( | ) | const [inline] |
Definition at line 410 of file bbitkImage.h.
References bbitk::TypeMapping< ValueType >::m_map.
00410 { return m_map.size(); }
const_iterator bbitk::TypeMapping< ValueType >::begin | ( | ) | const [inline] |
Definition at line 414 of file bbitkImage.h.
References bbitk::TypeMapping< ValueType >::m_map.
00414 { return m_map.begin(); }
const_iterator bbitk::TypeMapping< ValueType >::end | ( | ) | const [inline] |
Definition at line 415 of file bbitkImage.h.
References bbitk::TypeMapping< ValueType >::m_map.
00415 { return m_map.end(); }
std::map<void*, ValueType> bbitk::TypeMapping< ValueType >::m_map [protected] |
Definition at line 418 of file bbitkImage.h.
Referenced by bbitk::TypeMapping< ValueType >::begin(), bbitk::TypeMapping< ValueType >::end(), bbitk::TypeMapping< ValueType >::operator[](), bbitk::TypeMapping< ValueType >::size(), and bbitk::TypeMapping< ValueType >::value().