![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Deep copy a map pointer entry into the provided target map This helper functor is used in for_each to deep copy a map of types for_each(orig.begin(), orig.end(), DtDeepCopyPointerIntoMap<T, Y>(target)); NOTE: only the T class is dynamically allocated, the Y class is assumed to be. More...
Collaboration diagram for DtDeepCopyPointerIntoMap< T, Y >:Public Member Functions | |
| DtDeepCopyPointerIntoMap (std::map< T *, Y > &targetMap) | |
| Constructor. | |
| void | operator() (const std::pair< T *const, Y > element) |
| Function operator. | |
Private Attributes | |
| std::map< T *, Y > & | myMap |
Deep copy a map pointer entry into the provided target map This helper functor is used in for_each to deep copy a map of types for_each(orig.begin(), orig.end(), DtDeepCopyPointerIntoMap<T, Y>(target)); NOTE: only the T class is dynamically allocated, the Y class is assumed to be.
built in / non pointer.
| DtDeepCopyPointerIntoMap< T, Y >::DtDeepCopyPointerIntoMap | ( | std::map< T *, Y > & | targetMap | ) | [inline] |
Constructor.
References DtDeepCopyPointerIntoMap< T, Y >::myMap.
| void DtDeepCopyPointerIntoMap< T, Y >::operator() | ( | const std::pair< T *const, Y > | element | ) | [inline] |
Function operator.
References DtDeepCopyPointerIntoMap< T, Y >::myMap.
std::map<T*, Y>& DtDeepCopyPointerIntoMap< T, Y >::myMap [private] |