MAK RTIspy API Documentation for HLA Evolved
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 >:

List of all members.

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 Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)