MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
DtDeepCopyPointerIntoMap< T, Y > Class Template Reference

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

Detailed Description

template<class T, class Y>
class DtDeepCopyPointerIntoMap< T, Y >

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.

Constructor & Destructor Documentation

template<class T , class Y >
DtDeepCopyPointerIntoMap< T, Y >::DtDeepCopyPointerIntoMap ( std::map< T *, Y > &  targetMap)
inline

Constructor.

References DtDeepCopyPointerIntoMap< T, Y >::myMap.

Member Function Documentation

template<class T , class Y >
void DtDeepCopyPointerIntoMap< T, Y >::operator() ( const std::pair< T *const, Y >  element)
inline

Function operator.

References DtDeepCopyPointerIntoMap< T, Y >::myMap.

Member Data Documentation

template<class T , class Y >
std::map<T*, Y>& DtDeepCopyPointerIntoMap< T, Y >::myMap
private

The documentation for this class was generated from the following file:

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)