class TPConverterTypeMap Converter registry template: a map from type_info to the appropriate converter.
More...
#include <ITPConverter.h>
template<class CONVERTER_BASE>
class TPConverterTypeMap< CONVERTER_BASE >
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.
◆ iterator
template<class CONVERTER_BASE >
◆ TId_Map_t
template<class CONVERTER_BASE >
◆ TPConverterTypeMap()
template<class CONVERTER_BASE >
◆ addConverter()
template<class CONVERTER_BASE >
void TPConverterTypeMap< CONVERTER_BASE >::addConverter |
( |
CONVERTER_BASE * |
converter, |
|
|
const std::type_info & |
objTypeInfo |
|
) |
| |
|
inline |
Add a new converter to the map.
- Parameters
-
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.
◆ begin()
template<class CONVERTER_BASE >
◆ end()
template<class CONVERTER_BASE >
◆ findConverter()
template<class CONVERTER_BASE >
Find converter for a given C++ type info.
- Parameters
-
objTypeInfo | [IN] C++ type info |
- Returns
- pointer to the located converter
Definition at line 150 of file TPTools/TPTools/ITPConverter.h.
152 typename TId_Map_t::const_iterator iter =
m_cnvRegistry.find( std::type_index(objTypeInfo) );
◆ m_cnvRegistry
template<class CONVERTER_BASE >
The documentation for this class was generated from the following file: