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