File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis Developer Reference
Isis::DefaultCopy< T > Struct Template Reference

(Default) Policy for copying map elements More...

#include <CollectorMap.h>

Inheritance diagram for Isis::DefaultCopy< T >:
Inheritance graph
Collaboration diagram for Isis::DefaultCopy< T >:
Collaboration graph

Protected Member Functions

const T & copy (const T &src) const
 Returns a copy of the input. More...
 

Detailed Description

template<typename T>
struct Isis::DefaultCopy< T >

(Default) Policy for copying map elements

Defines a method to copy simple elements from an existing map to a destination map. This policy just makes a direct copy of the element to the destination.

This policy assumes the assignment operator handles the proper copying of each element T in the collection.

Member Function Documentation

◆ copy()

template<typename T >
const T& Isis::DefaultCopy< T >::copy ( const T &  src) const
inlineprotected

Returns a copy of the input.

Parameters
srcThe map element to be copied
Returns
const T& The copy of the input

Referenced by Isis::CollectorMap< int, ErrorCounter >::CollectorMap(), and Isis::CollectorMap< int, ErrorCounter >::operator=().


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

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 03/21/2022 06:55:38