Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MapSupport::mapClone< KeyPart, PtrPart > Class Template Reference

Functor for coping map elements with clone functions. More...

#include <MapSupport.h>

Public Member Functions

std::pair< KeyPart, PtrPart > operator() (const std::pair< KeyPart, PtrPart > &A) const
 clone function to return insert object More...
 

Detailed Description

template<typename KeyPart, typename PtrPart>
class MapSupport::mapClone< KeyPart, PtrPart >

Functor for coping map elements with clone functions.

Author
S. Ansell
Date
2/9/05
Version
1.0

This functor takes a map of key,Pointer, where the Pointer is associa<ted with a class that can provide the clone function. The clone function must return a Pointer of the same type. It is used for coping maps using a deep copy.

Definition at line 93 of file MapSupport.h.

Member Function Documentation

◆ operator()()

template<typename KeyPart , typename PtrPart >
std::pair< KeyPart, PtrPart > MapSupport::mapClone< KeyPart, PtrPart >::operator() ( const std::pair< KeyPart, PtrPart > &  A) const
inline

clone function to return insert object

Definition at line 96 of file MapSupport.h.


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