![]() |
ATLAS Offline Software
|
class TPConverterTypeMap Converter registry template: a map from type_info to the appropriate converter. More...
#include <ITPConverter.h>
Public Types | |
| typedef std::map< const std::type_index, CONVERTER_BASE * > | TId_Map_t |
| typedef TId_Map_t::iterator | iterator |
Public Member Functions | |
| TPConverterTypeMap () | |
| CONVERTER_BASE * | findConverter (const std::type_info &objTypeInfo) const |
| Find converter for a given C++ type info. | |
| void | addConverter (CONVERTER_BASE *converter, const std::type_info &objTypeInfo) |
| Add a new converter to the map. | |
| iterator | begin () |
| iterator | end () |
Protected Attributes | |
| TId_Map_t | m_cnvRegistry |
| map of the converters, indexed by type_index | |
class TPConverterTypeMap Converter registry template: a map from type_info to the appropriate converter.
Ttemplated for different converter interfaces.
Definition at line 112 of file TPTools/TPTools/ITPConverter.h.
| typedef TId_Map_t::iterator TPConverterTypeMap< CONVERTER_BASE >::iterator |
Definition at line 115 of file TPTools/TPTools/ITPConverter.h.
| typedef std::map<const std::type_index, CONVERTER_BASE*> TPConverterTypeMap< CONVERTER_BASE >::TId_Map_t |
Definition at line 114 of file TPTools/TPTools/ITPConverter.h.
|
inline |
Definition at line 117 of file TPTools/TPTools/ITPConverter.h.
|
inline |
Add a new converter to the map.
| converter | [IN] the converter to be added |
| objTypeInfo | [IN] C++ type id of the type the converter is for |
Definition at line 162 of file TPTools/TPTools/ITPConverter.h.
|
inline |
Definition at line 133 of file TPTools/TPTools/ITPConverter.h.
|
inline |
Definition at line 136 of file TPTools/TPTools/ITPConverter.h.
|
inline |
Find converter for a given C++ type info.
| objTypeInfo | [IN] C++ type info |
Definition at line 150 of file TPTools/TPTools/ITPConverter.h.
|
protected |
map of the converters, indexed by type_index
Definition at line 139 of file TPTools/TPTools/ITPConverter.h.