![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Deep copy a map of pointer entries into the provided target map. More...
Collaboration diagram for DtDeepCopyToPointerMap< T, Y >:Public Member Functions | |
| DtDeepCopyToPointerMap (std::map< T, Y * > &targetMap) | |
| Constructor. More... | |
| void | operator() (const std::pair< T, Y *const > element) |
| Function operator. More... | |
Private Attributes | |
| std::map< T, Y * > & | myMap |
Deep copy a map of pointer entries 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(), DtDeepCopyToPointerMap<T, Y>(target)); NOTE: only the Y class is dynamically allocated, the T class is assumed to be built in / non pointer.
|
inline |
Constructor.
References DtDeleteToPointerMap().
|
inline |
Function operator.
References DtDeepCopyToPointerMap< T, Y >::myMap.
|
private |
Referenced by DtDeepCopyToPointerMap< T, Y >::operator()().